2
I am using PHP and Mysql and am trying to add a NEXTEL and CLARO radio ID field:
23*4567
But when I check what was entered, I see that only recorded what was before *, so:
23
Using a normal query like this:
INSERT INTO tabela (id_radio) VALUES ("23*4567")
I tried to use the functions, but nothing worked.
addslashes()
mysql_real_scape_string()
Some function is needed for * to be accepted by mysql?
That field of yours
id_radio
is of what type?integer
,decimal
,varchar
?– Zuul