php 5 issue, please help:O
#1
Posted 24 November 2006 - 03:01 PM
<?php
$lol = "hi"
?>
<?=$lol?>
does not echo hi! it simply echos <?=$lol?>!
In php 4 it echoes whatever $lol equalled!
Please help, i coded an entire script using this
#2
Posted 24 November 2006 - 03:17 PM
#3
Posted 24 November 2006 - 03:19 PM
Please help, i coded an entire script using this
Mistake #1 lol. That method you are using is dependent on PHPs setup, if you have recently installed php again it may need adjusting.
http://uk2.php.net/m....short-open-tagecho() also has a shortcut syntax, where you can immediately follow the opening tag with an equals sign. This short syntax only works with the short_open_tag configuration setting enabled.
Hope that helps.
#4
Posted 24 November 2006 - 03:46 PM
thank you very much, everything's running shiny now!
#5
Posted 24 November 2006 - 03:53 PM
Anyway no problem glad it's sorted.
#6
Posted 25 November 2006 - 12:56 AM
#7
Posted 25 November 2006 - 05:52 AM
I was a large mistake as i have said before, it looks fine in the input box but now it just looks crap
It will be changed back when the 30 days is over and it will remain that heh. Read my sig lol
ps. The amount of matts is uncountable, you will not stop us!
Edited by matthewJ, 25 November 2006 - 05:59 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users