CodeIgniter Forums
Controller function not finding $_GET variable for jQuery Autocomplete - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Controller function not finding $_GET variable for jQuery Autocomplete (/showthread.php?tid=18418)

Pages: 1 2


Controller function not finding $_GET variable for jQuery Autocomplete - El Forum - 05-07-2009

[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.


Controller function not finding $_GET variable for jQuery Autocomplete - El Forum - 05-07-2009

[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.