Why isn't my variable expanded in this string?
- by Steven
$q = $_GET['q'];
// Load and parse the XML document
$rss = simplexml_load_file('http://search.twitter.com/search.atom?lang=en&q=$q&rpp=100&page=1');
This returns results containing "$q" instead of results containing the value of $q. Why won't it work?