In first place, sorry for my english.
I had installed WAMP5 1.7.0 on my Notebook wich has Windows Vista Ultimate.
When I tried to test Apache, it worked fine, I use a PHP Script wich connect to a database.
The connection worked, but it seems that the HTML code embebed in PHP doesn't work.
For example:
- In the whole PHP Script, there is the following code: (Note the commented code!!)
<?
$rsfotos = @mysql_query ("SELECT * FROM tblvehiculos WHERE ((publicar = 'Si') AND (vendido = 'N') AND (fotos = 'Si')) ORDER BY id_vehiculo DESC LIMIT 0,20"
;
/*
while ($data = mysql_fetch_array ($rsfotos)){
echo $data["id_vehiculo"]."<br>";
}
*/
if (@mysql_num_rows ($rsfotos) != 8)
$flag = "No se poseen imagenes";
?>
When I run this script, the following line outputs in the screen:
"; }*/ if (@mysql_num_rows ($rsfotos) != 8) $flag = "No se poseen imagenes"; ?>
If I delete de "<br>" from the echo, the line dissapear in the output, so i think that something is going wrong!!!!
I ran the same code on mi desktop computer with WAMP5 1.6 on XP, and it works without a problem!!.
PLEASE HELP ME!!!!!! THANKS A LOT!!! =)