Welcome Guest, Not a member yet? Register   Sign In
Controller function not finding $_GET variable for jQuery Autocomplete
#11

[eluser]TheFuzzy0ne[/eluser]
When a variable is shown between double quotes, it's parsed.

Code:
$hello = 'Hello';

echo "$hello!"; # Outputs: Hello!

echo '$hello!'; # Outputs: $hello!

Hope this helps.
#12

[eluser]Fielder[/eluser]
Interesting, thanks. Anytime I've used echo, it's always been just
Code:
echo $var1.' in between '.$var2;

I thought there was no difference between sq and dq.




Theme © iAndrew 2016 - Forum software by © MyBB