hi to all,
i am getting syntax error on my code..
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:\xampp\htdocs \Dummy\paulraj\ matrim\exam.php on line 62
what's the actual problem here..?
my code
[code=php]
echo '<input type="image" name="'.$i.'_im g" value="'.$i.'_i mg" src="'.$imagesA rray['src'][$i].'" alt="'.$imagesA rray['alt'][$i].'" onclick="docume nt.getElementBy Id('img').src=t his.src; document.getEle mentById('img') .alt=this.alt;" />'; /* line 62 */[/code]
i am getting syntax error on my code..
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:\xampp\htdocs \Dummy\paulraj\ matrim\exam.php on line 62
what's the actual problem here..?
my code
[code=php]
echo '<input type="image" name="'.$i.'_im g" value="'.$i.'_i mg" src="'.$imagesA rray['src'][$i].'" alt="'.$imagesA rray['alt'][$i].'" onclick="docume nt.getElementBy Id('img').src=t his.src; document.getEle mentById('img') .alt=this.alt;" />'; /* line 62 */[/code]
Comment