<img src .....> problem in onclick

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



i want to when clicking on the image then go to other page or set my
$_SESSION

i have this in php code:
echo"<img src=' ' onclick='$_SESSION['s1']=12(i mean a number)';/>";
how can i correct this
or if it is completely wrong how 2 solve it?
i tried to set header in onclick too but i think it can't do because header
is function of php and i echoed the html tag

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux