Quantcast
Channel: PHP - How to Create Dynamic URLs? - Stack Overflow
Viewing all articles
Browse latest Browse all 6

PHP - How to Create Dynamic URLs?

$
0
0

I've scoured the web for a tutorial about this simple task, but to no avail. And so I turn to you helpful comrades. Here's what I need to do:

I have a MySQL database with an Events table. I need to create a PHP web page with a list of the Event titles, and each title must be a link to the full details of the Event. But I want to avoid having to create a static page for each event, primarily because I don't want the data entry volunteer to have to create these new pages. (Yes, I realize that static pages are more SEO friendly, but I need to forego that in this case for the sake of efficiency.)

I've seen PHP url syntax with something like this:

pagename.php?id=20

but I don't know how to make it work.

Any and all help greatly appreciated.

Thanks!

Kip


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images