php-windows Digest 4 Apr 2007 05:20:31 -0000 Issue 3181

Topics (messages 27614 through 27618):

Re: Gantt-charts in PHP?
        27614 by: bedul
        27617 by: zerof

insert data in to columns base on the selection of the list box.
        27615 by: sam rumaizan
        27616 by: Bill Bolte
        27618 by: sam rumaizan

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
i don't think gantt chart was a file??
i think u want to build the gantz??

cmiiw.. i read the link http://en.wikipedia.org/wiki/Gantt_chart but it wont
give me anything that explain the problem..

----- Original Message -----
From: "Gustav Wiberg" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 03, 2007 1:18 PM
Subject: [PHP-WIN] Gantt-charts in PHP?


Hi all!

I've been looking around for any PHP-based component (object) that supports
gantt-charts. (like MS-project look-a-like but on the web) Is there anything
like that out there? (I have found some projects on sourceforge, but without
screenshots or contactinfo... ):

I'm using PHP5

Best regards
/Gustav Wiberg



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
Gustav Wiberg escreveu:
Hi all!

I've been looking around for any PHP-based component (object) that supports 
gantt-charts. (like MS-project look-a-like but on the web) Is there anything 
like that out there? (I have found some projects on sourceforge, but without 
screenshots or contactinfo... ):

I'm using PHP5

Best regards
/Gustav Wiberg

There is a nice library to generate Gantt-charts.
It works fine in php4 and php5.

http://www.aditus.nu/jpgraph/jpdownload.php
--
zerof
http://www.educar.pro.br/
Apache - PHP - MySQL - Boolean Logics - Project Management
----------------------------------------------------------
Você deve, sempre, consultar uma segunda opinião!
----------------------------------------------------------
Deixe todos saberem se esta informação foi-lhe útil.
----------------------------------------------------------      
You must hear, always, one second opinion! In all cases.
----------------------------------------------------------
Let the people know if this info was useful for you!
----------------------------------------------------------

--- End Message ---
--- Begin Message ---

Can you help me please?


1-    I have created a while loop to populate the list box   with the 
information of column1.
        2-I need to update (add data) in to column2, column3, column4 base on 
the selection of the list box.
   

echo'<form>';

 

 $query = "SELECT  column1   FROM table";

   $result = mysql_query($query);

echo"<br>";

 

echo"<br>";

echo"<center>";

 

 

echo"<select   NAME='R'>";

echo"<option value='NULL'>Choose a Category:</option>

";

   while ($line = mysql_fetch_array($result))

   {

      foreach ($line as $value)

       {

         echo"<OPTION value='$value'";

      }

echo   ">$value</OPTION>";

 

   }

echo "</select>";

echo "</form>";

 $sql="UPDATE $tbl_name SET column2 = CONCAT(column2, '$_POST[column2]', 
column3 = CONCAT(column3, '$_POST[column3]',column4 = CONCAT(column4, 
'$_POST[column4]' WHERE Assign_Engineer ='".$_POST["R"]."'";


$result=mysql_query($sql);




 

 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

--- End Message ---
--- Begin Message ---
When you say "update in to column2, column3..." are you referring to the
list boxes or database tables?

If it's the list boxes, are you wanting this to happen on the client
side? Or are you putting the data all out at once?



-----Original Message-----
From: sam rumaizan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 8:00 AM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] insert data in to columns base on the selection of
the list box.



Can you help me please?


1-    I have created a while loop to populate the list box   with the
information of column1.
        2-I need to update (add data) in to column2, column3, column4
base on the selection of the list box.
   

echo'<form>';

 

 $query = "SELECT  column1   FROM table";

   $result = mysql_query($query);

echo"<br>";

 

echo"<br>";

echo"<center>";

 

 

echo"<select   NAME='R'>";

echo"<option value='NULL'>Choose a Category:</option>

";

   while ($line = mysql_fetch_array($result))

   {

      foreach ($line as $value)

       {

         echo"<OPTION value='$value'";

      }

echo   ">$value</OPTION>";

 

   }

echo "</select>";

echo "</form>";

 $sql="UPDATE $tbl_name SET column2 = CONCAT(column2, '$_POST[column2]',
column3 = CONCAT(column3, '$_POST[column3]',column4 = CONCAT(column4,
'$_POST[column4]' WHERE Assign_Engineer ='".$_POST["R"]."'";


$result=mysql_query($sql);




 

 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

--- End Message ---
--- Begin Message ---
Thank you for your corroboration.
  Maybe my question wasn’t clear. What I need to do is:
  1- I have a table in mysql with column1(Last Name), column2(address), 
column3(phone Number), column4(job), column5(favorite food)
  2- I have created a while loop to populate the list box in my webpage.
  3- I have created text fields for address and phone Number in my webpage.
  4- The list box will be populated with column1 (Last Name) of all the users 
registered in my database.
  5- Let’s say one of the users want to change (update) his/her address, phone 
Number. He/she will choose the Last Name from the dropdown menu (list box)
  6- he/she will fill the field in the page for address, phone Number with the 
new information.
  7- The user will hit submit to update (change) the information in the 
database (mysql)
   
  If this is not clear enough, I will try to post my code.


Bill Bolte <[EMAIL PROTECTED]> wrote:  When you say "update in to column2, 
column3..." are you referring to the
list boxes or database tables?

If it's the list boxes, are you wanting this to happen on the client
side? Or are you putting the data all out at once?



-----Original Message-----
From: sam rumaizan [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 03, 2007 8:00 AM
To: [email protected]
Cc: [EMAIL PROTECTED]
Subject: [PHP-WIN] insert data in to columns base on the selection of
the list box.



Can you help me please?


1- I have created a while loop to populate the list box with the
information of column1.
2-I need to update (add data) in to column2, column3, column4
base on the selection of the list box.


echo'  ';



$query = "SELECT column1 FROM table";

$result = mysql_query($query);

echo"
";



echo"
";

echo"  ";





echo"";echo"Choose a Category:"; while ($line = mysql_fetch_array($result)) { 
foreach ($line as $value) { echo"}echo ">$value"; }echo "";

echo "";

$sql="UPDATE $tbl_name SET column2 = CONCAT(column2, '$_POST[column2]',
column3 = CONCAT(column3, '$_POST[column3]',column4 = CONCAT(column4,
'$_POST[column4]' WHERE Assign_Engineer ='".$_POST["R"]."'";


$result=mysql_query($sql);







---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





 

 
---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.

--- End Message ---

Reply via email to