Potreboval by som pomoct s jednym selectom.
Kód:
$sql = mysql_query("SELECT client_ip_addr FROM ".$db_table_transaction." WHERE trans_id='".$trans_id."' ");
vyhadzuje mi to vsak takuto chybu:
Kód:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE trans_id='I1UCe3pGgG9XaCygmxsOjXMIMZI='' at line 1
skusal som uz aj toto:
Kód:
$sql = mysql_query("SELECT client_ip_addr FROM $db_table_transaction WHERE trans_id = '$trans_id'");
a to iste... neviete kde moze byt problem?