Php doesnt work

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Php doesnt work

Postby wylennissa » 16. October 2010 01:43

Php doesnt work.

Instead of exicuting the code, it just prints it>

Example: <title><?=$config["title"];?></title>

it displays in the web browser as <?=$config["title"];?>


Can anyone help?
wylennissa
 
Posts: 1
Joined: 16. October 2010 01:35

Re: Php doesnt work

Postby Dariusc123456 » 16. October 2010 02:44

In your php.ini make sure you have this

Code: Select all
short_open_tag = On


so you can use <??> and <?php?>.
Dariusc123456
 
Posts: 22
Joined: 15. October 2010 15:18


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 141 guests