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

[ad_1]

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'];

[ad_2]

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