The Arcive of vBulletin Modifications Site. |
|
help needed Details »»
|
|||||||||||||||||||||||||
ok hehe i have a vouch system whit ipp saver and stuff
i have a code like thiss $DB_site->query("INSERT INTO vouch (vouchlog,userid,dateline,script,ipaddress) VALUES (NULL,'$form[username]',".time().",'vouch.php','$ip')"); but now i want to let the vouch look if there is already the ip from a user and when there is he get a message that he already did it and when not he insert it and get forward to the vouch i know it must before it whit else if but i cant find the code and didnt know it í have tryed thiss code but that isnt working $DB_site->query_first("SELECT ipaddress FROM vouch") { can someone help me to find the correct code Thanxss Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
PHP Code:
|
![]() |
|
|