Current location: Hot Scripts Forums » General Community » Script Requests » Calendar with tables.

Calendar with tables.

Reply
  #1 (permalink)  
Old 07-06-09, 09:51 AM
Gaug Gaug is offline
Newbie Coder
 
Join Date: Jun 2009
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Calendar with tables.

Hello.

I'll try to be as explicit as possible with the problem I have, I have a calendar with tables.

Let's say that this is the code:

PHP Code:
<table align="center">
<
tr><td id="tagline"> <p>&nbsp;</p>
  <
p>COSTS </p></td></tr>
<
tr><td>&nbsp;</td></tr>
</
table>
<
table width="924" height="242" border="1" bordercolor="#FF9933">
  <
tr>
    <
th colspan="13" scope="row" class="bodyText"><div align="left">Titulo1</div></th>
  </
tr>
  <
tr>
    <
th colspan="13" scope="row" class="bodyText"><div align="left">Ruta </div></th>
  </
tr>

  <
tr>
    <
th colspan="13" scope="row" class="bodyText"><div align="left">Activity: <input type="text" name="actividad" id="actividad" size="50"/></div></th>
  </
tr>
  <
tr>
    <
th colspan="13" scope="row">&nbsp;</th>
  </
tr>
    <
th width="77"  rowspan="2" scope="row">&nbsp;</th>
    
    <
td colspan="12" class="bodyText"><div align="center">2009</div></td>
  </
tr>
  <
tr class="bodyText">
    <
td width="77" class="bodyText">JAN</td>
    <
td width="77" class="bodyText">FEB</td>
    <
td width="77" class="bodyText">MAR</td>
    <
td width="77" class="bodyText">APR</td>
    <
td width="77" class="bodyText">MAY</td>
    <
td width="77" class="bodyText">JUN</td>
    <
td width="77" class="bodyText">JUL</td>
    <
td width="77" class="bodyText">AUG</td>
    <
td width="77" class="bodyText">SEP</td>
    <
td width="77" class="bodyText">OCT</td>
     <
td width="77" class="bodyText">NOV</td>
     <
td width="77" class="bodyText">DEC</td>
  </
tr>
  <
tr>
    <
th scope="row" class="bodyText">CAL1</th>
    <
td><input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="12500.00" size="15" /></td>
  </
tr>
  <
tr>
    <
th scope="row" class="bodyText">CAL2</th>
    <
td><input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15"/></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15" /></td>
    <
td> <input name="nombre" type="text" value="13500.00" size="15" /></td>
  </
tr>
</
table
There appears only from January to December 2009, which I seek is that depending on a variable that contains a start date and one that has an end date, which I receive from a previous page, say that the variables are the following ones:

PHP Code:
$startdate"15-Feb-09";
$enddate"24-Jan-10"
I see the calendar on the table as I put up, but instead it is from January to December 2009, I want it to appear from February 2009 to January 2010, obviously depending on the value of variables.

Is there any way to do this?

I thank you in advance for your help.

Greetings.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-08-09, 07:40 AM
xEX3CUT1ONx xEX3CUT1ONx is offline
Newbie Coder
 
Join Date: Jun 2008
Posts: 96
Thanks: 0
Thanked 0 Times in 0 Posts
This isn't the place for PHP help, this is Script Requests.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
show tables question maklooby PHP 1 04-19-09 06:47 PM
updating database tables when tables may or may not have changed? Tim Mousel PHP 0 05-21-06 06:25 PM
REQUEST: Tutorial or prmg on mysql/php/related tables chippewapublishing Script Requests 0 08-05-05 02:50 PM
calendar working until months changed bitesize JavaScript 1 01-13-04 02:50 PM
script that measures height of tables and vertically aligns nested tables amj01 Script Requests 1 07-04-03 02:20 PM


All times are GMT -5. The time now is 11:40 PM.
vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.