Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End How to write a simple HTML code inside PHP echo ” “; Re: How to write a simple HTML code inside PHP echo ” “;

#121314
ajnoguerra
Participant

mysql_connect(“localhost”,”root”,””) or die (mysql_error());
mysql_select_db(“motoactiv-db”) or die (mysql_error());

$sql = “Select * FROM products”;
$result = mysql_query($sql);
while($record=mysql_fetch_array($result))
{
?>

}
?>

I still haven’t figured out the problem with this because when I tested it out in Firefox and IE it works just fine but when I tried it with Chrome, it doesn’t make the bigger image come out, it is as if no javascript was implemented. @traq