|
-
Code Help - 3dfa/PHP users
I'm writing a short program that checks to see if the error_message is sent back to 3dfa. If the error message is present, it is supposed to load the error_message result (a layer with the message). Else it's supposed to go on as normal.
The problem I'm having is, how do I say, "just go on as normal". (supposing error_message is false.) Here is what I've done so far.
admin_email=" [email protected]" //Recipient's email
/* Variables to be imported from script
thankyou_message
error_message
*/
loadVariables ("http://script url.com","GET");
if error_message=="show error message"{
display_message=element ("Layer 12")
display_message.show();
}
{
else{
What????? Is there a command that says go on as usual?
Do you think I would be better to use a CASE command? and just use one variable?
Last edited by dniezby; 04-17-2003 at 10:50 PM.
-
Senior Member
It sounds to me like you don't need a "just go on as normal (supposing error_message is false.) "
when code is run 1 time /frame:
if error_message == true {
// here you write what to do when you want to send
}
and after that no more is needed and it will go on as normal
-
Yeah, I kinda figured that out. I had another statement I was working on and forgot to put the else statment in and the program continued.
Found out by accident.
Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|