| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | [PHP] Hidden Input, value=array I need to have a hidden field be the value of an array. Right now I have PHP Code: Code: <input type='hidden' name='location[]' value='Array'> |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | Awesome. That worked! ![]() Now how can I make it so that when a link is opened, it pops up and scrollbars are there? This is the code I have so far, and the scrollbars don't work: Code: <SCRIPT LANGUAGE=\"JavaScript\">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval(\"page\" + id + \" = window.open(URL, '\" + id + \"', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=500,height=400');\");
}
// End -->
</SCRIPT> ????: NamePros.com http://www.namepros.com/programming/195375-php-hidden-input-value-array.html To call it: Code: <a href="javascript:popUp('FAQ.php?what=CC')">Country Codes</a> |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Regular Join Date: Feb 2006 Location: Atlanta, GA, USA
Posts: 335
![]() ![]() | Here's the whole of the script: PHP Code: |
| |