Daniel Brown schreef:
> On Jan 8, 2008 3:43 PM, Jason Pruim <[EMAIL PROTECTED]> 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!
no but it does take an 'argument expression' (is that the correct terminology)
which is handy when you want offer an exit code ... or a 'die' message.
die("PostTrack Alter Ego");
and die is a synonym for exit IIRC.
funnily enough exit is even listed as a function.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php