Code: Select all
foreach($HTTP_POST_VARS as $varname => $value)
$formVars[$varname]=$value;
$query = "SELECT
orgname, web_url,sector,org_id,person_id,
notes
FROM organisations
WHERE orgname LIKE '$formVars[orgname]%'";How difficult will it be to search for any text in this field, when I say 'any text' I mean any word,number,value which is stored in the fiield.
Maybe I am making this more complex than what it is. Please advise