Passing HTTP Get parameters….
-
Hi,
I might be barking up the wrong tree here…I currently have a standard PHP application that i am trying to migrate to WP. Chiefly this is so I can manage copy etc via the WP admin console. So i have some pages that currently take HTTP query params which the PHP code uses to lookup a MySQL database, pretty standard fare. So lets say that i have some users and currently a page that looks like /users?userId=143523 is used to fetch the users details from the database and combine this with some static HTML output. What I think i would like to do is have a wordpress template page that will allow me to edit the copy for this page without having to FTP a new copy of the file onto the server.
So if i had a custom template that renders the copy i want and the links etc i want in a profile page – along with the dymanic database driven content which i will get by looking up the database – is this possible ? For example maybe i could create a new page called users, based on a template called profile-page.
I guess my question is basically can i do this in wordpress and how would I go about it ? It seems that trying to create a “page” manually for each user using the user-template custom template with a custom field would work, but this wont work when a new user signs up obviously, although i would also like the URL structure that WP would give me for this. Maybe there is something i am not understanding ?
thanks,
Steve.
The topic ‘Passing HTTP Get parameters….’ is closed to new replies.