Hi All,
I am trying to figure this out but no luck!!! I have a form that brings back a list of companies (searchable by postcode). When a user first hits the page (…/page.php) no results show until the user hits ‘Go’
What I am trying to do is have the form submit once the page has loaded so it shows a list of all companies. PHP code is below and it doesnt work, IE shows script errors.
[php]
<?php echo $_GET['pid']?(''):'' ?>
while ($row = mysql_fetch_array($sql)){
echo ‘’.$row[‘pagetitle’];
echo ‘
’;
}
}
?>
[/php]
Any help will be real appretiated.
Thanks.