tarsius
11-18-2005, 05:23 AM
hi!
I have this code in my membership.php:
<frame src=<?php print("searchresult.php?text1=$_POST[company]"); ?> name="t"></iframe>
For example, $_POST['company'] has a value equal to 'Webhosting Talk'.
The problem is in my searchresult.php. When I have the code:
<?php print("$_GET[text1]"); ?>
it will only print 'Webhosting' and will not include 'Talk'. I think there is a function that will be used before passing the variable. How will I do it?
Thanks.:)
I have this code in my membership.php:
<frame src=<?php print("searchresult.php?text1=$_POST[company]"); ?> name="t"></iframe>
For example, $_POST['company'] has a value equal to 'Webhosting Talk'.
The problem is in my searchresult.php. When I have the code:
<?php print("$_GET[text1]"); ?>
it will only print 'Webhosting' and will not include 'Talk'. I think there is a function that will be used before passing the variable. How will I do it?
Thanks.:)
