$sql = ("INSERT INTO `Lcode` (lid, sid)
VALUES (".$a.", ".$b.")"
);
the above lid=varchar and $a=vib(in this case) the above sid=int and $b=3(again in this case)
but it doesn't seem to insert it into the database?
i have checked my connection to the server, which is OK.
and i can either update with codes like this:
$sql = ("INSERT INTO Lcode SET lid='".$b."'");
and a similar UPDATE.
i really hope u can help me with this.
more info
$a = strtolower ( $resa['lid'] );
$b = strtolower ( $resb );
$resa['lid'] = a variable that i get from the mysql server:: it comes back correctly when try to echo $a
$resb is a call i make to the url with a $_GET :: it does also come back correctly.
i have some troubles figuring this and need you help...
appreciate your help