raivels Posted July 29, 2006 Report Share Posted July 29, 2006 Sceicinaati! Kods izskataas saadi, sajaa gadiijumaa viss darbojas burviigi - <h1> <?php $a = 1 + 3; $b = 3 + 4; $days = $a + $b; echo "Welcome back! It has been "; echo $days; echo " since your last visit!"; ?> </h1> Bet sajaa gadiijumaa uzraada saadu erroru - Parse error: syntax error, unexpected T_ECHO on line 4 <h1> <?php $monkeys = 5 - 1 echo "I have "; echo $monkeys; echo " in a barrel"; ?> </h1> Kur ir probleema? Link to comment Share on other sites More sharing options...
andrisp Posted July 29, 2006 Report Share Posted July 29, 2006 Tāpē, ka $monkeys = 5 - 1 jānobeidz ar semikolu, respektīvi jābūt: $monkeys = 5 - 1; Link to comment Share on other sites More sharing options...
shemeleks Posted July 29, 2006 Report Share Posted July 29, 2006 (edited) $monkeys = 5 - 1; Edit: ehh, nokavēju. :) Edited July 29, 2006 by shemeleks Link to comment Share on other sites More sharing options...
Recommended Posts