Jump to content
php.lv forumi

syntax error


ecoc
 Share

Recommended Posts

Ja viss būtu labi , tad nemestu arse error: syntax error, unexpected ';', expecting T_FUNCTION erroru ! Koda ir kļūda , kāds simbols nav pielikts , vai kaut kas nevajadzīgs. Lieta tāda ,ka es nezinu kas tieši !

Link to comment
Share on other sites

to parse error jau tāpēc arī izmet, viss aiz // skaitās komentārs, sanāk, ka neesi normāli nobeidzis php rindiņu.

Vēl iesaku no short open tags atbrīvoties, var būt problēmas kā minimums ar xml izvadi.

Tas gan ne visiem un vienmēr ir būtiski, bet nu labāk ir uzreiz <?php......, es jau ar esmu grēkojis un tagad galvoju, ka nav tā vērts.

Edited by mounkuls
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...