Jump to content

SQL change field result to upper and post results to upper


jesushax

Recommended Posts

Hi all is the below SQL valid?

 

meaning if the rsult of field Sect1_4 where test it would be TEST?

 


$ERROR = mysql_query("SELECT `Sect1_4`,`CompanyID` FROM tblDirectory2 WHERE `".strtoupper(Sect1_4)."` LIKE '".strtoupper($_POST["Sect1_4"])."%'") or die(mysql_error());

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.