Dynamic Link/Content with PHP



Hi,
I've created a mySQL database with the fields id, title and content. 'ID' is a unique field. Any ideas on how I can use PHP to generate a list of the titles which are links. When you click on a link you are taken to a page with the content held in the database. I'm guessing the generated links would be something like /page.PHP?pageid=x based on the id, that's if this script is possible at all.


Sorry for being such a newbie, but I guess we all have to start somewhere.

Thanks,
Ben
.



Relevant Pages

  • Re: Reading Folders
    ... > everytime i take a load of pics, all I would have to do is get PHP to read ... > the contents of the folder and add the filenames to a MySQL database rather ... couldn't have all three stored in the same unique field in separate rows. ...
    (comp.lang.php)
  • Re: Reading Folders
    ... > everytime i take a load of pics, all I would have to do is get PHP to read ... > the contents of the folder and add the filenames to a MySQL database rather ... couldn't have all three stored in the same unique field in separate rows. ...
    (alt.php)
  • Re: Dynamic Link/Content with PHP
    ... I've created a mySQL database with the fields id, ... 'ID' is a unique field. ... If, after further reading, this isn't what I need I'll resort to using ...
    (comp.lang.php)
  • Re: [PHP] Im prepared to feel like an idiot... But I just simply need the answer :)
    ... I have a php script that I am attempting to run from the CLI to ... connect to a MySQL database and update a field. ... with this command: php cronjob.php it prints out the script on screen ...
    (php.general)
  • Re: [PHP] File download problem
    ... reading in a binary safe manner. ... I need to create a script to let registered users to download files from a non-public folder. ... The files name, type, and size are stored in a MySQL Database. ... The user need to click on a link, and a PHP script should handle the download of the file. ...
    (php.general)