pkng
04-12-2010, 03:00 PM
Hi!
I'm learning PHP and SQL and I wonder if I could get some help. Below I have some code that fetch things from the database. I just wonder how to write the PHP or SQL code if objektnummer and $objekt not is equal?
$query = "SELECT * FROM arkitekturobjekt WHERE objektnummer = '{$objekt}';";
Thanks! :)
I'm learning PHP and SQL and I wonder if I could get some help. Below I have some code that fetch things from the database. I just wonder how to write the PHP or SQL code if objektnummer and $objekt not is equal?
$query = "SELECT * FROM arkitekturobjekt WHERE objektnummer = '{$objekt}';";
Thanks! :)