You are here: PHP table cell onclick « All PHP « IT news, forums, messages
PHP table cell onclick

Posted by screechyboy@googlemail.com on 07/19/07 13:27

when they click on a cell in my table i would like to redifine a
variable in php.

So...

<td onclick="<?php $color="White" ?>"></td>
<?php echo $color ?>

it doesnt wait for onclick before running the PHP so as soon as i load
the page its prints White.

I hope you can see what im trying to do... any help would be greatly
appreciated!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация