Posted by Palle Hansen on 10/10/12 11:39
jan wrote:
> But WHY does give this situation gives no result?
>
> $ddc="17 april";
> $SQL="SELECT * FROM database2 WHERE datum_cursus=$ddc ";
>
You are missing some single quotes..
$SQL="SELECT * FROM database2 WHERE datum_cursus='$ddc' ";
Navigation:
[Reply to this message]
|