Damn im stuck, php tags
Posted: Thu Jan 11, 2007 10:55 pm
Hi guys, just need a little help.
my host has there php set up wierd.
if you have php anywhere that is inbetween this:
<? stuff here ?>
it wont work and it just prints out whats between.
if you do it like this:
<?php stuff here ?>
it works perfectly, but ive got a problem, ive got a script to list files in a directory and be able to delete them, but for the script to list them it needs to be like this:
<?=$filelist?>
if i do it like this:
<?php=$filelist?>
it just dosent work, is there a way around this? thanks.
my host has there php set up wierd.
if you have php anywhere that is inbetween this:
<? stuff here ?>
it wont work and it just prints out whats between.
if you do it like this:
<?php stuff here ?>
it works perfectly, but ive got a problem, ive got a script to list files in a directory and be able to delete them, but for the script to list them it needs to be like this:
<?=$filelist?>
if i do it like this:
<?php=$filelist?>
it just dosent work, is there a way around this? thanks.
