I have the following code:
How would i open a popup automatically between the } ~ {?Code:if ($variable == "^") $_SESSION['zlib']=true; } //i want to open a popup here automatically }
Thanks
I have the following code:
How would i open a popup automatically between the } ~ {?Code:if ($variable == "^") $_SESSION['zlib']=true; } //i want to open a popup here automatically }
Thanks
Last edited by newbtophp; 10-30-2009 at 05:15 AM.
Nevermind, i managed to figure it out!
![]()
Last edited by newbtophp; 10-30-2009 at 05:15 AM.
The structure of that code is not normal, or at least it is not a complete unit in itself.
PHP Code://ADDED:
{{//open two layers of bracket
//your code:
if ($variable == "^") $_SESSION['zlib']=true; //single-line-only if-statement
} //CLOSE bracket
//i want to open a popup here automatically
//Why here? What is this region defined as?
//Do you want this as part of the if, or just inside the first
//layer of brackets, but not inside the second?
} //close outer layer of brackets
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks