|
What I'm trying to do is fairly simple but I'm a beginner with no experience in php so I decided to turn to the most helpful forum community on the internet.
If you could answer these few questions please
1. Could I save my "Index" as an HTML file and have PHP coding in it? What the PHP Is going to do is the following things listed below.
Can I do/ How if possible this coding
1. I want to randomly pick a "row" in the database when the "Index" file is requested. The "row" will contain four-five columns consisting of "Meta keywords," "Meta description," "HTML," + more. Throughout the rest of the "Index" file I'm going to use the data in the columns of the random row that was chosen. How would I do this?
2. What PHP code would be needed to insert the keywords/ meta descripts?
3. What Php code would be needed to insert the html into the page?
Alright, don't think I just want someone to write the code for me. Right next to me is the book PHP 5 by Steven Holzner I just can't find the exact information I need. I'm still learning and thanks to anyone who helps.
|