Re: New years resolution: To get serious with my programming! Anyone wanna help? :)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel Brown schreef:
> 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!

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux