Forum Moderators: coopster
<script language="JavaScript" src="http://www.mydomain.com/feed/feed2js.php? src=http%3A%2F%2Fnews.google.com%2Fnews%3Fhl%3Den%26ned %3Dus%26q%3DSUBJECT%26output%3Drss&num=5&desc=1" type="text/javascript"></script>
Can this be done?
[edited by: jatar_k at 4:01 pm (utc) on May 17, 2006]
[edit reason] fixed sidescroll [/edit]
I hope this is what you mean.
[edited by: jatar_k at 4:01 pm (utc) on May 17, 2006]
[edit reason] fixed sidescroll [/edit]
using subject as the varname
$subject = '';
if (!isset($_GET['subject']) ¦¦ empty($_GET['subject'])) $subject = 'mydefault';
else $subject = $_GET['subject'];
you could do whatever you want in the if, this just sets a default value
NOTE: WebmasterWorld breaks pipe chars ¦, replace all such characters with real pipe characters for copied code to work