[PHP-DB] How to produce the report using PHP?

2003-02-15 Thread Rokasa
Hi there, I want to produce the report using the PHP but I don't know the PHP command. Or is it any third party software that can be called by PHP to produce the report? Is it anybody out there can help me. Rgds, Rokasa// -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] php date manupulation functions

2003-02-15 Thread Rajesh Fowkar
Hello, There seems to be very few date manupulation functions in php. In my php form I am displaying select combos for day, month and year. Now while updating the form I want to retrieve the date and take out day, month and year from that date and display the correct selection in the combo. I

[PHP-DB] Re: php date manupulation functions

2003-02-15 Thread Fredrik de Vibe
[EMAIL PROTECTED] (Rajesh Fowkar) writes: Now while updating the form I want to retrieve the date and take out day, month and year from that date and display the correct selection in the combo. I could not find any function like say day($dbdate); month($dbdate); year($dbdate); Am I

[PHP-DB] printing repeat table headers

2003-02-15 Thread Sam Folk-Williams
Hi, I'm printing the results of a DB query that gets a 300 row staff directory. All 300 rows appear on one page. The top of the HTML table has basic headers like First Name, Last Name, Email etc, then all 300 rows print underneath the headers. What I would like to do is have those headers repeat

[PHP-DB] Re: printing repeat table headers

2003-02-15 Thread Fredrik de Vibe
[EMAIL PROTECTED] (Sam Folk-Williams) writes: ...What I would like to do is have those headers repeat every 33 rows... $tableHeaders = tr.../td; $cnt = 0; while ($row = mysql_fetch_array($result)) { // stuff if($cnt%33 == 0){ echo $tableHeaders; } $cnt++; echo $tableContent; }

[PHP-DB] processing status page help

2003-02-15 Thread Brendon
Hello, How can I create a page that notifies the user their request is being processed after they click a submit button? For example, they type in some information, the page then says Your request is processing... Maybe a few animated ... 's for eyecandy, and then once the process is

[PHP-DB] while loop help

2003-02-15 Thread Peter Gumbrell
I would appreciate some help with the following code. I have presented a user with a table of session workshops for a conference. There is a select list called rank, and the value is the workshop letter and number with the user's ranking, e.g. B12-1 B12-2, B12-3 for each workshop. The following

[PHP-DB] Re: while loop help

2003-02-15 Thread Fredrik de Vibe
[EMAIL PROTECTED] (Peter Gumbrell) writes: if (isset($_POST['workshop_select'])) { print $header_string; $user = $HTTP_POST_VARS['username']; * this is the section that needs some sort of loop if(isset($HTTP_POST_VARS['rank']) is_array($HTTP_POST_VARS['rank'])){

RE: [PHP-DB] processing status page help

2003-02-15 Thread Peter Lovatt
htmlmeta http-equiv=refresh content=10;URL=http://www.mysite.com/newpage.php;body bgcolor=#ff please wait. bodyhtml should work - the 10 is the delay Peter -Original Message- From: Brendon [mailto:[EMAIL PROTECTED]] Sent: 15 February 2003 22:14 To: [EMAIL PROTECTED]

RE: [PHP-DB] processing status page help

2003-02-15 Thread Peter Lovatt
or perhaps more comprehensively ?php print(' htmlmeta http-equiv=refresh content=10;URL=http://www.mysite.com/newpage.php;body bgcolor=#ff please wait. bodyhtml ') //start the processing here do this; do that; do the other ; ? should work but I am not absolutly sure - try it