[pmwiki-users] PHP help with the " if " control statement

Neil Herber nospam at eton.ca
Thu Mar 23 09:59:26 CST 2006


At 2006-03-23  10:41 AM -0500, Miller, Joshua is rumored to have said:
>Try
>
>     if(!empty($_GET["link")) {
>
>Hagan
>...snip...
>
>Hagan,
>That doesn't work...  When I reload the page, I get a blank white
>page...the recipe breaks the wiki.
>-Josh

If you just did a cut-n-paste, it looks to me like one of the 
parentheses got changed to a bracket. Does:

   if(!empty($_GET("link")) {

work any better?


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 





More information about the pmwiki-users mailing list