Page is a not externally linkable
- Code, Content, and Presentation
-- Databases
---- insert data in mysql


rocknbil - 1:08 am on Dec 4, 2010 (gmt 0)



obj = form.ac.options[form.ac.selectedIndex].value;
objects = obj.split(',');
ac = parseInt(objects[0]);

I'd use something besides a comma, but if you relibly have no commas in your numbers . . . should work.


Thread source:: http://www.webmasterworld.com/databases_sql_mysql/4238242.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com