• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.