webForumDet fria alternativet

Kan inte connecta mysql?!

61 svar · 1 385 visningar · startad av crisse6 · sida 4 av 4

MatteMedlem sedan aug. 20002 975 inlägg
#61

Gein skrev:

<?= (eller egentligen <%=) är bara ett ASP-påhitt som inte fungerar i PHP.

manualen skrev:

echo() also has a shortcut syntax, where you can immediately follow the opening tag with an equals sign. This short syntax only works with the short_open_tag configuration setting enabled.

I have <?=$foo?> foo.

http://se.php.net/echo

Fungerar m.a.o. i PHP så länge short_open_tag är satt.

GeinMedlem sedan sep. 20005 700 inlägg
#62

Aha se där! Då ber jag om ursäkt för felaktig information. Använder iofs aldrig short_open_tag.

137 ms totalt · 3 externa anrop · v20260731065814-full.30151723
0 ms — hämta forumlista (cache)
0 ms — hämta statistik (cache)
133 ms — hämta tråd, inlägg och bilagor (db)