Hi guys,
I'm a complete newbie and desperatly need to do a very simple query from a MySQL database using PHP. Here's the situation:
I have a .php page that has a blank table which needs to be filled in with a block of text stored in the database.
Question1. How do I pull that block of text from the database and print them dynamically on the page?
Question2. How do I create a page (interface) which contains a form such that the text field of the form shows that block of text currently stored in the database? This is to allow users to change the text and then post and store it back in the database (replacing the previous contents).
Thanks heaps guys. I am really banking on this forum to help me out of my misery... Detailed instructions would be much appreciated.
I'm a complete newbie and desperatly need to do a very simple query from a MySQL database using PHP. Here's the situation:
I have a .php page that has a blank table which needs to be filled in with a block of text stored in the database.
Question1. How do I pull that block of text from the database and print them dynamically on the page?
Question2. How do I create a page (interface) which contains a form such that the text field of the form shows that block of text currently stored in the database? This is to allow users to change the text and then post and store it back in the database (replacing the previous contents).
Thanks heaps guys. I am really banking on this forum to help me out of my misery... Detailed instructions would be much appreciated.