[Solved] How can I run both php and html code from MySQL? [closed]


You would have to do a SELECT * FROM tbl_name, they put everything into a $mysql_fetch_assoc() function.

Something like this:

$result = mysql_query("SELECT * FROM website");
$row = mysql_fetch_assoc($result);
$row['page_title'];
$row['page_content'];

solved How can I run both php and html code from MySQL? [closed]