hii all..i have some code that make all string characters which have been input into DB change to capital size..this is my code:
function newinputdata($modelnm,$serialno)
$Model=mysql_real_escape_string($modelnm);
$Serial_number=mysql_real_escape_string($serialno);
$str=strtoupper($str)
echo $str;
$sql="INSERT INTO.........";
is that true?
Hmmmm that won’t work, as you did not define
$strDo instead:
Of course this assume that
$Serial_numbercontains characters, otherwise it’s useless to capitalise it (and to escape it withmysql_real_escape_string, just cast it toint)