when i have used a feu methods of creating php and mysql code and downloaed open source programs and script i keep getting display errors and the site is displaying like so
why is this??
i would post the php for the page but its longer thaat then the allowed 100000 characters the forum allows
Are you tesing locally, I could be wrong, but try turning short tags on. If you are testing remotely it could be that your admin has not enabled short tags.
<? echo "Hello World"; ?> //Short Tag <?php echo "Hello World"; ?> //Standard Tag
testing localy using windows pc and wamp5 1.6.4
thank you i turned short tags on and its working fine now.
thought it would be something like that as i did go through and replace a load of <? with <?php and that got things working 😃
Check that this is enabled on your WAMP Config
oh ok you have already done it :thumbup:
Note that it is better to convert all of your opening PHP tags to "<?php" instead of "<?", both for maximum current server compatibility, and to avoid collisions with "<?xml" tags.