ok, i have my table, upgigs, with fields in. One field is date, but and upcoming date.
I dont want to use the date field type in mysql, as then it has to be 0000-00-00. I know i can use "l j F Y" to set it, but it never works when i put it in defualt. At the moment i am using a text firld, but then i cant order the gigs by date.
Any ideas?
Also, i have a drop down menu, so you can select two items from it, when i want to edit the gigs, i would like this to show the value already. At the moment, i have :
$type is taken from my mysql database.
Cheers if anyone can help, an amount of NP$ is available
I dont want to use the date field type in mysql, as then it has to be 0000-00-00. I know i can use "l j F Y" to set it, but it never works when i put it in defualt. At the moment i am using a text firld, but then i cant order the gigs by date.
Any ideas?
Also, i have a drop down menu, so you can select two items from it, when i want to edit the gigs, i would like this to show the value already. At the moment, i have :
PHP:
<?php if ($type = "Skabar") {
echo "<option value='Skabar'>Skabar";
} else {
echo "<option value='Other'>Other";
}
?>
Cheers if anyone can help, an amount of NP$ is available





