[PHP-DB] PHP XML

2005-07-29 Thread Ng Hwee Hwee
Hi all,

My customer gave me an .xsd file and I need to generate an HTML form for him. 
He will then fill in the values of the elements and then post it into my 
database. I'm using PHP4.3 and MySQL3.23.

Can someone point me to resources where i can accomplish this?

Thank you!! Look forward to hearing from you!

Best regards,
hwee

[PHP-DB] PHP, MySQL, XML books recommendation

2005-07-29 Thread Ng Hwee Hwee
hi guys,

any recommendation on good books or resources for me? I'm totally clueless 
about XML but would love to pick it up now. Any one can give me titles of good 
books?

thanks!!

look forward to hear from you,
hwee

[PHP-DB] Help Needed

2005-07-29 Thread ReClMaples
All,

 I know this is the wrong distro to be sending this request for help to
but I don’t know which one to send this to.  If you could either point me in
the direction that I should go or help me, I would greatly appreciate it.

Here is my issue.

I have a set of date that I want returned in 3 columns and an unspecified
number of rows (dependent on the number of records returned).  I cannot for
the life of me figure out how to do this.

Looking something like this

1st record
2Nd record
3trd record
4th record
5th record
6th record
7th record
8th record
9th record
And so on
And so fourth
…



Can any one help me out with this, or point me to the distro that can help
me?

Thanks
-Rich


RE: [PHP-DB] Help Needed

2005-07-29 Thread ReClMaples
Sorry, the data under 'Looking something like this' should be in a table
format with 3 columns and 4 rows.

-Original Message-
From: ReClMaples [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 8:46 PM
To: PHP
Subject: [PHP-DB] Help Needed

All,

 I know this is the wrong distro to be sending this request for help to
but I don't know which one to send this to.  If you could either point me in
the direction that I should go or help me, I would greatly appreciate it.

Here is my issue.

I have a set of date that I want returned in 3 columns and an unspecified
number of rows (dependent on the number of records returned).  I cannot for
the life of me figure out how to do this.

Looking something like this

1st record
2Nd record
3trd record
4th record
5th record
6th record
7th record
8th record
9th record
And so on
And so fourth
...



Can any one help me out with this, or point me to the distro that can help
me?

Thanks
-Rich

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



Re: [PHP-DB] Help Needed

2005-07-29 Thread Alain Rivest

ReClMaples a écrit :


Sorry, the data under 'Looking something like this' should be in a table
format with 3 columns and 4 rows.

-Original Message-
From: ReClMaples [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 8:46 PM
To: PHP
Subject: [PHP-DB] Help Needed

All,

I know this is the wrong distro to be sending this request for help to
but I don't know which one to send this to.  If you could either point me in
the direction that I should go or help me, I would greatly appreciate it.

Here is my issue.

I have a set of date that I want returned in 3 columns and an unspecified
number of rows (dependent on the number of records returned).  I cannot for
the life of me figure out how to do this.

 


You can do something like this :

$i = 0 ;
echo tabletr;
while (fetch...)
{
   echo td$your_data/td ;

   // every 3 row
   if ($i % 3 == 0)
  echo /trtr ;

   $i ++ ;
}
echo /tr/table ;

I know it's not perfect, I'll let you rewrite it more elegantly...


--

Alain -- http://www.vivahate.org

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



RE: [PHP-DB] Help Needed

2005-07-29 Thread ReClMaples
You ROCK!!!  Thanks so much, this worked perfectly!!!

Thanks
-Rich

-Original Message-
From: Alain Rivest [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 10:10 PM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Help Needed

ReClMaples a écrit :

Sorry, the data under 'Looking something like this' should be in a table
format with 3 columns and 4 rows.

-Original Message-
From: ReClMaples [mailto:[EMAIL PROTECTED]
Sent: Friday, July 29, 2005 8:46 PM
To: PHP
Subject: [PHP-DB] Help Needed

All,

 I know this is the wrong distro to be sending this request for help to
but I don't know which one to send this to.  If you could either point me
in
the direction that I should go or help me, I would greatly appreciate it.

Here is my issue.

I have a set of date that I want returned in 3 columns and an unspecified
number of rows (dependent on the number of records returned).  I cannot for
the life of me figure out how to do this.



You can do something like this :

$i = 0 ;
echo tabletr;
while (fetch...)
{
echo td$your_data/td ;

// every 3 row
if ($i % 3 == 0)
   echo /trtr ;

$i ++ ;
}
echo /tr/table ;

I know it's not perfect, I'll let you rewrite it more elegantly...


--

Alain -- http://www.vivahate.org

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

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