hi all. just need a little help with a request.
my code has this in it
$id = $_REQUEST['id'];
$sql_client = "SELECT * FROM card_details WHERE id = $id";
$result_client = mysql_query($sql_client,$connection) or die ("No Category Selected");
now my url looks like this.
mydomain.com.au/page.php?id=2
when its like that it works fine.
but when i first come to my page it looks like this
mydomain.com.au/page.php
how can i ingnore the script if no ?id exsits
cheers aron.