@saturngodauthorNov 14.2006 — #Not work. I change a code for test [code=php]<?php if (isset($_GET['q'])) { $g=$_GET['q']; $g= stripslashes($g); echo $g; } else $g="";
It show in web page (eg:[B]"test page"[/B]) but not show in input box.How to show in input box to display with [B]" "[/B]. It need for me because I use search box for my website.
@jignesh1Nov 14.2006 — #[code=php]<?php if(isset($_GET['q'])){ $g = $_GET['q']; $g = stripslashes($g); $g = ""$g""; }else{ $g = ""; } ?> <form method="get" name="getfunction" action="testget.php"> <input type="text" name="q" value="<?php echo $g; ?>" /> <input type="submit" value="submit" /> </form>[/code] this script will show the text inputed in the text box with the quotation around the search word