Inside a function, I am reading data from MySQL.  In case any of these calls 
fail I follow them with something like:

  or echo "Can't make query to database!";

The problem is, I want to do more things than just this... and then I want to 
return out of the function rather than continuing to execute statements.

However, the following doesn't work... I get a parsing error.. How can it be 

    echo "Can't make query to database!";

  .. other statements ..

I could have it call another function to do more things, but then how would I 
have it return out of it's current function when done doing those things?  
This is a pretty disasterous inability, not recognizing code blocks.


PHP Database Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to