Oto skrypt php:
<?php $select = mysql_query("SELECT * from " . TABLE_CUSTOMERS . " where customers_id = " . $HTTP_GET_VARS['id'] . ""); if ($start['customers_validation_code'] == $HTTP_GET_VARS['pass']) { if ($start['customers_validation'] == '1'){ <?php }else{ mysql_query("update " . TABLE_CUSTOMERS . " set customers_validation = '1', customers_status = '1' where customers_id = '" . $HTTP_GET_VARS['id'] . "'") or die('Could not connect: ' . mysql_error()); ?> </tr> <tr>
A o oto błąd który dostaje:
Warning: mysql_fetch_array(): supplied argument IS NOT a valid MySQL result resource IN /home/domains/mojadomena.pl/public_html/pw.php ON line 70
Dodam że link jest poprawny, wszystkie parametry w linku i w bazie są identyczne ale nie rozumiem czemu wywala mi ten błąd...