$Query = "SELECT * FROM enet WHERE TechContact LIKE '%$Avar1%' AND
AdminContact LIKE '%$Avar2%'";

try this. Avar1/2 needs to be replaced by your var that u use in your html
form


"Devon" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> $Query = "SELECT * FROM enet WHERE TechContact LIKE '%' AND AdminContact
> LIKE '%'";
>
> This query simply prints out my entire tables, is there a way using PHP so
I
> can make the '%' a user input so they can search the table under those
> fields.
>
> Cheers
>
>
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to