note 57404 rejected from language.control-structures by betz

From: Date: Mon, 03 Oct 2005 10:43:29 +0000
Subject: note 57404 rejected from language.control-structures by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-96283@lists.php.net to get a copy of this message
Note Submitter: faganel at siol dot net ---- I would like to open a certain page if the condition is not fulfilled. What is a command to open a certein link. I writte a code like this, but is not working: if($geslo != $geslo2) { link(reg2.html); } mysql_connect("localhost", "root", "") or die ("Povezave z zbirko ni mogoce ustvariti!"); . . . I would like to do that, if condition above is not fulfilled opens a reg2.html, without conection to mySQL db. many thanks in advance, M

« previous php.notes (#96283) next »