Computer Hope
Internet & Networking => Web design => Topic started by: chadlong41 on February 03, 2009, 12:01:34 PM
-
I have got my database driven web site I m using
Code :
$query = "SELECT * FROM $sTableName WHERE ID=$inPageID LIMIT 1";
$_CONTENT = mysql_fetch_array(mysql_query($query));
<?= $_CONTENT['PAGE_CONTENT'] ?>
to insert the content, into the page.
Now if I wanted to add a php command into the page (the part thats stored on the database) i m not sure what to do.
can someone help me out here?
Thanks !
-
Sorry, can you explain your question again.
The code you have there won't do anything at the moment.
-
uhhh, ya need some help yes. too much.
beginning php book would be a good idea. try searching google for php tutorials