Hello,

Could provide more context on what you are trying to do? It will be easier
to help you if you could tell us what environment you are developing on.

Thanks!
Alain

On Mon, Jul 25, 2011 at 2:50 PM, Mr. Malhotra
<[email protected]>wrote:

> Hello,
>
> Instead of letting the user enter a time of their choice, I would like to
> provide them with a dropdown list of the timings they can choose from. I'm
> not really sure how to make that switch. Here's what I've gotten so far:
>     <form method="post" action="
>      <?php echo htmlentities($_SERVER['PHP_SELF']); ?>">
>       Event title: <br/>
>       <input name="title" type="text" size="15" /><p/>
>       Start date (dd/mm/yyyy): <br/>
>       <input name="sdate_dd" type="text" size="2" />
>       <input name="sdate_mm" type="text" size="2" />
>       <input name="sdate_yy" type="text" size="4" /><p/>
>       Start time (hh:mm): <br/>
>       <input name="sdate_hh" type="text" size="2" />
>       <input name="sdate_ii" type="text" size="2" /><br/>
>       <select id='sstime'>
>       <option>11:30</option>
>         <option>11:45</option>
>         <option>12:00</option>
>         <option>18:00</option>
>        </select> <br/>
>       <input name="submit" type="submit" value="Save" />
>     </form>
>
> Here I started to put in some options. And here's where it's suppose to get
> posted:
>       $start = date(DATE_ATOM, mktime($_POST['sdate_hh'],
> $_POST['sdate_ii'],
>        0, $_POST['sdate_mm'], $_POST['sdate_dd'], $_POST['sdate_yy']));
>
> please help.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Calendar Data API" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/calendar/community/forum.html
>



-- 
Alain Vongsouvanh

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to