Cper's
Ik gebruik de countdown van banditi.
Als ik dit doe;
PHP
echo("<table><tr><td>Je moet nog <span id=\"bullets\"></span> wachten totdat je nieuwe kogels mag kopen.</td></tr></table><script language=\"javascript\">countdown(\"" .$information['bulletwaiting'] - time(). "\", \"bullets\", \"index.php?a=mod_localbulletfactory\");</script>");
Dat werkt ie niet.
Als ik het zo doe wel;
PHP
<table><tr><td>Je moet nog <span id="bullets"></span> wachten totdat je nieuwe kogels mag kopen.</td></tr></table><script language="javascript">countdown("<?php echo($information['bulletwaiting'] - time()); ?>", "bullets", "index.php?a=mod_localbulletfactory");</script>
Ik wil het in een echo houden.
Wat doe ik verkeerd.
Gr
Jackie