No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i cant understand why this error commimng up [CODE]<?php $mysql_host="xxxx.xxxxxx.xxxx"; $mysql_user="anuncios"; $mysql_password="xxxxxxx"; $mysql_db = "suecia"; $conn = mysql_connect("$mysql_host","$mysql_user","$mysql_password") or die("Could not connect : " . mysql_error()); mysql_select_db("$mysql_db",$conn) or die("Select database failed"); $code = mysql_query("Select * from jos_call where code = '".@$_REQUEST['nombre']."'",@$conn); if (mysql_num_rows($conn)==0){ //error here// echo @$_REQUEST['nombre'].' - Codigo correcto'; … |
|
hello i have received this error on line 28 the line 28 is this ?> Parse error</b>: syntax error, unexpected $end in <b>/xxxx/xxxx/xxxxx/xxx/xxxxx.xxxx/public_html /xxxxxx/ok/comprueba.php</b> on line <b>28</b><br /> here is the php file : [code=php]<?php $mysql_host="xxxxxx.xxxxxx.com"; $mysql_user="anuncios"; $mysql_password="ganaras4"; $mysql_db = "suecia"; $conn = mysql_connect("$mysql_host","$mysql_user","$mysql_password") or die("Could not connect : " … |