Php Array Convert to Java Script Array

PHP

<? $a[]="one"; $a[]="two"; $a[]="three"; $a[]="four"; ?> <html> <head> <title>Assign PHP Array to Javascript Array</title> <script language="javascript"> function showValues(){ var a=new Array; <? for($i=0;$i<count($a); $i++){ echo "a[$i]='".$a[$i]."';\n"; } ?> for(i=0;i<a.length;i++) alert(a[i]); }  </script> </head> <body More...

by admin | Published 61 days ago
By Abhijit Jana On Monday, December 26th, 2011
0 Comments

Web Services

Web Designing Services Search Engine Optimization(SEO) Web Design Static Web Design Dynamic Web Design Flash Web Design Corporate Logo Design Services for YOUR business! Website Redesign Website Maintenance Graphics More...

By vimal On Saturday, November 26th, 2011
0 Comments

Creative Buttons- PSD

Category:  Buttons White&blue set Today`s freebie is a huge one, it`s a complete web/UI elements pack! Power button Today`s freebie is a power on button in 3 states – normal, hover and active… CTA More...