-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
* On 16-01-02 at 10:47 * Tommi Trinkaus said.... > Hi Nick > > > I'm not sure what you mean can you be a little more detailed? > > I can tell however that PHP is *not* a substitute for HTML. If you want > > something like the <a> tag then *use* the <a> tag. > > in fact i want something like the <a> tag, but the new url should be opened > within a php if-statement, not by user-clicking. Is that more detailed for > you? <? if(this happens) { print("<a href=\"somepage.php\">Some page</a>"); } else print ("<a href=\"anotherpage.php\">Another page</a>"); ?> Try that. - -- Nick Wilson Tel: +45 3325 0688 Fax: +45 3325 0677 Web: www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8RVlEHpvrrTa6L5oRAtxcAKCFoKa/m9R+/QcueGWbMY+j3MqVvwCgtRIg FXlIsiEa72gnAJ13cJg4tto= =so9Q -----END PGP SIGNATURE----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]