IT Community - Software Programming, Web Development and Technical Support

:confused: plz explain........

This is a discussion on :confused: plz explain........ within the PHP Programming forums, part of the Web Development category; again ,sorry Its not work in my side. html <input type="text" name="Cost" id=&...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 10-10-2007, 08:22 AM
gk_cloud gk_cloud is offline
D-Web Trainee
 
Join Date: Sep 2007
Posts: 15
gk_cloud is on a distinguished road
Default :confused: plz explain........

again ,sorry
Its not work in my side.

html
<input type="text" name="Cost" id="textfield3" />
<input type="text" name="Payout" id="textfield2" />
<select name="StartDate" id="Month" class="Drp">
<option value="Jan">Jan</option>
<option value="Feb">Feb</option>
</select>
<select name="StartDate" id="Day" class="Drp">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<select name="StartDate" id="Year" class="Drp1">
<option value=""></option>
<option value="2007">2007</option>
<option value="2006">2006</option>
<select>


PHP CODE

$Payout=$_POST['Payout'];
$Cost=$_POST['Cost'];
$StartDate=$_POST['StartDate']; <-------????????????



hi,
I want, how to get in the above three combobox field in my php code.


Plz reply me??????:
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 10-11-2007, 05:54 AM
rajinikanth rajinikanth is offline
Super Moderator
 
Join Date: Mar 2007
Posts: 8
rajinikanth is on a distinguished road
Default Re: :confused: plz explain........

hi

the actually the code should be like this...

<?
$Payout=$_POST['Payout'];
$Cost=$_POST['Cost'];
echo $StartDate=$_POST['StartDate'][0];
echo $StartDate=$_POST['StartDate'][1];
echo $StartDate=$_POST['StartDate'][2];
?>

<form action="" name="" method="post">
<input type="text" name="Cost" id="textfield3" />
<input type="text" name="Payout" id="textfield2" />
<select name="StartDate[]" id="Month" class="Drp">
<option value="Jan">Jan</option>
<option value="Feb">Feb</option>
</select>
<select name="StartDate[]" id="Day" class="Drp">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
<select name="StartDate[]" id="Year" class="Drp"1>
<option value="2007">2007</option>
<option value="2006">2006</option>
<select>
<input name="check" type="submit" value="check">
</form>
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-12-2007, 03:13 AM
gk_cloud gk_cloud is offline
D-Web Trainee
 
Join Date: Sep 2007
Posts: 15
gk_cloud is on a distinguished road
Default Re: thanking u sir..

Hi sir,

Thank u for ur reply sir.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MTU Explain srikumar_l Networking & Internet Connectivity 0 12-17-2007 08:51 PM
Explain OPENXML? devarajan.v XML and SOAP 4 10-13-2007 01:11 AM
Explain what a DiffGram is and a good use for one? devarajan.v XML and SOAP 1 08-11-2007 01:28 AM
Can any one explain why project needed XML? oxygen XML and SOAP 1 07-26-2007 04:27 AM
Can anyone explain what is XSL ? kingmaker XML and SOAP 3 07-21-2007 03:10 AM


All times are GMT -7. The time now is 05:31 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0