[pmwiki-users] PHP help with the " if " control statement
Miller, Joshua
web at cityofelmira.net
Thu Mar 23 09:41:27 CST 2006
-----Original Message-----
From: haganfox at gmail.com [mailto:haganfox at gmail.com] On Behalf Of H. Fox
Sent: Thursday, March 23, 2006 10:12 AM
To: Miller, Joshua
Cc: pmwiki-users at pmichaud.com
Subject: Re: [pmwiki-users] PHP help with the " if " control statement
Try
if(!empty($_GET["link")) {
Hagan
On 3/23/06, Miller, Joshua <web at cityofelmira.net> wrote:
>
> Hello,
>
> I'm using the GuestBook recipe, modified with some of my own changes
> as shown below. The code below does not work because of the passages
in red.
> I'm fairly new to PHP and can't see the problem in this code. My
> purpose here is that sometimes the link field will be left blank so I
> don't want to display the text in blue if the link field is blank.
[...]
Hagan,
That doesn't work... When I reload the page, I get a blank white
page...the recipe breaks the wiki.
-Josh
More information about the pmwiki-users
mailing list