Javascript problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Javascript problem (/showthread.php?tid=58087) |
Javascript problem - El Forum - 05-13-2013 [eluser]C_Line[/eluser] Code: echo "< script > the problem is, when i save $vidsub to database it save in char not int but when i echo , the value is int i don't want to pass from function sorry my bad english thx Javascript problem - El Forum - 05-14-2013 [eluser]micfai[/eluser] Before inserting into the database you can type it as an integer using (int) in PHP or pasrseInt() in Javascript. |