Grab One Record based on URL string
-
For those of you familiar with retrieving record based on URL string… I will give a easy example.
In MS Access we used to create a simple URL to retrieve a record such as
http://www.sampleweb.asp?Px=263&Xiikq&19pp21Well.. 263 would be the ID or Key field in the DB to retrieve the record and only one record.
I have CFDB on my WP site. I would like to do the same thing. Simply retrieve one record from the CFDB based on a simple WP URL, the page & the ID Record number for example. Then I can simply create an html page inside of WP using HTML scripting to dress up the page the user is looking at using the field with the data from the CFDB.
Since I’m a tad bit new to php and CFDB seems top have its own sort of scripting… could someone just show me the script that retrieves one record based on a field in the DB?
I can create short codes from the wizard built in CFDB, but I do not see an option to retrieve only one record, based on some kind of URL that would directly link to a short code of some kind allowing me to grab that one record…and not all the records. If its there I don’t see it.
End the end I am going to create an event ticket for the user, and send the user a direct link to their email to simply come to the designated page and see their e-ticket.
I do not like any of the RSVP, or ticketing plugins on the WP plugins site… so I can easily design this part myself using html coding. But this one hurdle is in my way.
Thanks everyone!!
Dwayne
https://ww.wp.xz.cn/plugins/contact-form-7-to-database-extension/
The topic ‘Grab One Record based on URL string’ is closed to new replies.