Forum Moderators: phranque

Message Too Old, No Replies

how can i change my files from HTML to PHP?

Need to change html to php on my web

         

Ericksito

8:27 pm on Jun 8, 2004 (gmt 0)

10+ Year Member



Parse error: parse error in /home/content/E/r/i/Erick/html/index2.php on line 128

j4mes

8:31 pm on Jun 8, 2004 (gmt 0)

10+ Year Member



Welcome to WebmasterWorld.

There's plenty of PHP-savvy people hanging about on the PHP forum [webmasterworld.com] who'll be only too glad to help you convert.

Good luck :)

grandpa

8:39 pm on Jun 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



parse error in /home/content/E/r/i/Erick/html/index2.php on line 128

<edit>

That error message isn't saying much, at least not that we could help you with. What's on line 128?

Changing from html to php is not difficult, but you do have to follow the rules for both, that is to say, good html and valid php.

From my own experience at making this sort of change, I'll say there are 3 things I do:
1) Start... <?php
2) echo my html... echo "whatever html";
3) close php...?>

All sorts of little things will creep up in between those. Hope that helps some.