RE: [PHP] Parameters via Link

From: Date: Fri, 08 Feb 2002 19:27:08 +0000
Subject: RE: [PHP] Parameters via Link
Groups: php.general 
Request: Send a blank email to php-general+get-84032@lists.php.net to get a copy of this message
try: if( ! strcmp($link, "home") ) { include("soundmp3.php"); } -----Original Message----- From: Manuel Ritsch [mailto:chraensch_mc@gmx.ch] Sent: Friday, February 08, 2002 12:24 PM To: php-general@lists.php.net Subject: [PHP] Parameters via Link Hey there I want to make a webpage out of one main pagewith php, if you press on a link i want that it changes the content of the page, but it doesn't seem to work, i tried it like this... link: <a href="index.php?link=home"> php code: if($link == home) { include'soundmp3.php'; } but it doesn't work (i don't get an error, the content of soundmp3.php just doesn't shows up). Any Help is Welcome -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#84032) next »