On Jan 8, 2008 3:43 PM, Jason Pruim <japruim@xxxxxxxxxx> wrote: > I wasn't able to make it work with mysqli_insert_id() but you did give > me the idea of using mysqli_stmt_error() instead. Which doesn't return > anything if it was successful... So a simple: > > $check = mysqli_stmt_error(); > if($check = "") > redirect; > } > else > { > exit(); > } Hey, Dippy.... exit isn't a function! -- Daniel P. Brown [Phone Numbers Go Here!] [They're Hidden From View!] If at first you don't succeed, stick to what you know best so that you can make enough money to pay someone else to do it for you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php