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

H. Fox haganfox at users.sourceforge.net
Thu Mar 23 09:12:23 CST 2006


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.
[...]




More information about the pmwiki-users mailing list