I have the following code to populate a drop down box and some javascript to perform the jump, both seem to work fine, except I get a server error saying I do not have permissions to emter the directory (permissions are set to 777).
*********************************************************
$result = mysql_query("SELECT schedules.team_date, document_name
FROM schedules
Order BY schedules.data_updated",$db);
?>
<select name="team_date" onChange="MM_jumpMenu('parent',this,0)">
<?
while ($row = mysql_fetch_array($result)) {
echo "<option value=".$row["document_name"]." >" .$row["team_date"]."\n";
}
?>
</select>
**********************************************************
When the drop down box has been populated the source code looks like -
<option value=sanctioned/6thMay2002.pdf>Test - 21st Whenever 2002</option>
Where as to get the jump to work it needs to look like -
<option value="sanctioned/6thMay2002.pdf">Test - 21st Whenever 2002</option>
How do I alter the code to get the Speech marks "" in?
Any help would be greatly appreciated.
Nigel.
*********************************************************
$result = mysql_query("SELECT schedules.team_date, document_name
FROM schedules
Order BY schedules.data_updated",$db);
?>
<select name="team_date" onChange="MM_jumpMenu('parent',this,0)">
<?
while ($row = mysql_fetch_array($result)) {
echo "<option value=".$row["document_name"]." >" .$row["team_date"]."\n";
}
?>
</select>
**********************************************************
When the drop down box has been populated the source code looks like -
<option value=sanctioned/6thMay2002.pdf>Test - 21st Whenever 2002</option>
Where as to get the jump to work it needs to look like -
<option value="sanctioned/6thMay2002.pdf">Test - 21st Whenever 2002</option>
How do I alter the code to get the Speech marks "" in?
Any help would be greatly appreciated.
Nigel.