$link

From: Date: Fri, 11 Apr 2003 10:27:59 +0000
Subject: $link
Groups: php.general 
Request: Send a blank email to php-general+get-143475@lists.php.net to get a copy of this message
hi everybody! i am creating dynamic web site through PHP. in my script F1.PHP i take in values for wname and link1. the code in FCHECK1.PHP creates first page of the site and the name of the page is home.html. this html page has a link as 'link1' which should connect me to page1.html which is written in code 2F.PHP. the form in F1.PHP is posted to FCHECK1.PHP and the form in FCHECK1.PHP is posted to 2F.PHP. when i run my script: the page home.html shows in correct values of 'wname' and 'link1' but when i click on link1 and enter page1.html i get correct value of wname but not of link1. can anybody please tell me why this is happening? thanks a lot, diksha. CODE IN F1.PHP: (this is in a html form) Web site name:<input type=\"text\" name=wname value=\"$wname\"> Please give first link name: <input type=\"text\" name=\"link1\"> CODE IN FCHECK1.PHP: (following is written in a file home.html) <tr>
    <td>';
$string.=$wname; $string.='</td> </tr> <tr>
    <td><a href="http://192.168.0.1/bdoi_change/';
    $string.='page1.html">';
    $string.=$link1;
    $string.='</a></td>
</tr> (following is in a html form outside home.html)
Web site name      <input type=\"text\" name=wname value=\"$wname\">
first link name: <input type=\"text\" name=\"link1\" value=\"$link1\">
CODE IN 2F.PHP: (follwing is in a html file page1.html) <tr>
    <td><a href="http://192.168.0.1/bdoi_change/';
    $string.='page1.html">';
    $string.=$link1;
    $string.='</a>
    </td>
</tr> _______________________________________________________________________ Odomos - the only mosquito protection outside 4 walls - Click here to know more! http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn

« previous php.general (#143475) next »