mang001 Posted May 16, 2007 Share Posted May 16, 2007 hi everybody, in my application i need to transfer an array as a hidden variable of <form ?Is it possibel?Second thing if not possible can we do it using javascript? In brief! i had a multiple select box from where i had to select multiple subject.then i had to display selected subjects sub-subjects list box after clicking a refresh button.ok that too i did but problem is once i click onrefresh button previously given entries was refreshed.that dont need to be happen.can anybody help me in this regard Link to comment https://forums.phpfreaks.com/topic/51662-require-php-code/ Share on other sites More sharing options...
MadTechie Posted May 16, 2007 Share Posted May 16, 2007 can you post the code ? in code tags Link to comment https://forums.phpfreaks.com/topic/51662-require-php-code/#findComment-254494 Share on other sites More sharing options...
taith Posted May 16, 2007 Share Posted May 16, 2007 <input type=hidden name="name" value="<?=serialize($array)?>"> Link to comment https://forums.phpfreaks.com/topic/51662-require-php-code/#findComment-254495 Share on other sites More sharing options...
SoulAssassin Posted May 16, 2007 Share Posted May 16, 2007 This is a little tricky. Go read up on Ajax. There are some very easy quick tutorials. It's basically Java running with PHP, so it automatically runs when a selection has been made. Dynamic Forms doing mysql_query without having to refresh, or submit. try this link http://www.ajax-tutorials.com/tutorial-list/ Link to comment https://forums.phpfreaks.com/topic/51662-require-php-code/#findComment-254497 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.