Jump to content

help loading php pages


jbillens

Recommended Posts

I have wamp installed already. I can run a script to test php like <? phpinfo(); ?> and php works fine. but in my script the php does not run. could this be an error in coding or some error in setup.  I just do not understand why it would be opening off my page in dreamweaver.

 

Josh

yes it is best to use longhand because the first reason is (as said before by Yesideez) Not all servers are compliant to shorthand. Secondly if you have XML on your server these are the tage XML uses to define its DTD and that will mess up your code if running XML and PHP on one doc

 

echo "<? = Bad execpt for XML";

echo "<?php = Good For PHP";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.