Pentiums Posted October 21, 2009 Report Share Posted October 21, 2009 Kas te nepareizi? http://paste.php.lv/e82f6ffcfd80617b64d09ea4287674ca?lang=php Neapdeitojas datubāzē. Aiz if(!eregi($userip, $data['ip'])) {... ieliku echo 'tik tālu ir'; Teksts parādās, tātad kautkas ar kveriju... Pliks kverijs izskatās šādi UPDATE aptauja_jautajumi SET ip = '|xxx|xxx|xxx|xxx|xxx|xxx', atbildes = atbildes+1 WHERE id = '17' un jā `aptauja_jautajumi` id 17 eksistē! Quote Link to comment Share on other sites More sharing options...
briedis Posted October 21, 2009 Report Share Posted October 21, 2009 (edited) Ko atgriež mysql_query(true,false) pēc kvērija izpildes, ko satur mysql_error(), mysql_affected_rows()... Edited October 21, 2009 by briedis Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.