Hello,
I have an HTML form at the top of a page called tsearch18.php. This page uses "find" as a session variable. I would like to change the value of the "find" session variable each time a new value is entered into the HTML form. How do I do this?
Thanks in advance,
John
Code:<?php session_start(); $find = strip_tags($find); $find = trim ($find); $find = strtolower($find); $_SESSION['find'] = $find; ?> <div class="searchbox"> <form action="tsearch18.php" method="post"> <label>Enter Topic: <input type="text" name="find" size="55"/> <input type="hidden" name="searching" value="yes" /> <input type="submit" name="search" value="Search" /> </label> </form> </div>


Reply With Quote
Bookmarks