[PHP] Re: $_GET strings seperation

2007-05-26 Thread Jared Farrish
On May 26, 5:39 pm, [EMAIL PROTECTED] ("Navid Yar") wrote: Thanks so much Jarred. It helps me learn more when there's an explaination on how the code works. I'll play around with it, change it a bit and give that a try. Take care... P.S. -- I'm in Arlington, TX I work with a guy from Arlington.

Re: [PHP] Too many records to display in one web page

2007-05-26 Thread Jim Lucas
Brian Seymour wrote: Eduardo, The best way to do it is on both a php and sql level. Use sql's limit keyword in your query to return only the amount of records you want. For instance, page 1 will have LIMIT 0, 9 in the query. Page 2 will have LIMIT 10, 19. Then you can simply use *_fetch_array and

Re: [PHP] installing error

2007-05-26 Thread Jim Lucas
Rafael Mora wrote: Thank you very much for you answers!!! =), but Im trying to work with PostgreSQL. So Im gonna review your suggestions in order to see which would be the best for me Thank you very much! Rafa On 5/26/07, Sathyashrayan <[EMAIL PROTECTED]> wrote: On 5/26/07, Tijnema <[EMA

Re: [PHP] Form Validation Issues

2007-05-26 Thread Jim Lucas
tedd wrote: tedd wrote: "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Unknown Hi Jim: You might try the array below and the quote above, I believe, was > Douglas MacArthur of WWII fame. Is that the same Douglas MacArth

Re: [PHP] Too many records to display in one web page

2007-05-26 Thread tedd
At 6:17 PM -0500 5/26/07, Eduardo Vizcarra wrote: Hi All I am developing a web site that interacts with a MySQL database. When I run a query and display the records in a web page, this can become a problem because there might be too many records to be displayed in one single web page so I am try

RE: [PHP] Too many records to display in one web page

2007-05-26 Thread Brian Seymour
Eduardo, The best way to do it is on both a php and sql level. Use sql's limit keyword in your query to return only the amount of records you want. For instance, page 1 will have LIMIT 0, 9 in the query. Page 2 will have LIMIT 10, 19. Then you can simply use *_fetch_array and a foreach(maybe) to it

Re: [PHP] Too many records to display in one web page

2007-05-26 Thread Tijnema
On 5/27/07, Eduardo Vizcarra <[EMAIL PROTECTED]> wrote: Hi All I am developing a web site that interacts with a MySQL database. When I run a query and display the records in a web page, this can become a problem because there might be too many records to be displayed in one single web page so I

[PHP] Re: Too many records to display in one web page

2007-05-26 Thread Jared Farrish
I am developing a web site that interacts with a MySQL database. When I run a query and display the records in a web page, this can become a problem because there might be too many records to be displayed in one single web page so I am trying to divide the total number of records and display the

[PHP] Too many records to display in one web page

2007-05-26 Thread Eduardo Vizcarra
Hi All I am developing a web site that interacts with a MySQL database. When I run a query and display the records in a web page, this can become a problem because there might be too many records to be displayed in one single web page so I am trying to divide the total number of records and dis

Re: [PHP] Re: $_GET strings seperation

2007-05-26 Thread Navid Yar
Thanks so much Jarred. It helps me learn more when there's an explaination on how the code works. I'll play around with it, change it a bit and give that a try. Take care... P.S. -- I'm in Arlington, TX On 5/26/07, Jared Farrish <[EMAIL PROTECTED]> wrote: On 5/26/07, Navid Yar <[EMAIL PROTECT

Re: [PHP] Re: installing error

2007-05-26 Thread Rafael Mora
thank you jared!, Im gonna try WAMPP!!, I hope this work, and a message for php people: nice product but make it easy! lol thank you Rafa On 5/26/07, Jared Farrish <[EMAIL PROTECTED]> wrote: > Thank you very much for you answers!!! =), but Im trying to work with > PostgreSQL. I have never in

Re: [PHP] calculate xml size

2007-05-26 Thread Tijnema
On 5/26/07, Vo, Lance <[EMAIL PROTECTED]> wrote: does php has any function that calculate a xml element in bytes or anything: example: ABC DEF If I want to calculate element , it should return 18 bytes. thanks Lance I have nearly no experience with XML parser in PHP, but it doesn

[PHP] calculate xml size

2007-05-26 Thread Vo, Lance
does php has any function that calculate a xml element in bytes or anything: example: ABC DEF If I want to calculate element , it should return 18 bytes. thanks Lance

[PHP] Re: $_GET strings seperation

2007-05-26 Thread Jared Farrish
On 5/26/07, Navid Yar <[EMAIL PROTECTED]> wrote: Hello Everyone, I have a problem with GET strings. I use $_SERVER["REDIRECT_QUERY_STRING"] to get the value-pairs in the URL. The problem is that there is a cID variable that keeps appending itself to the string continuously everytime someone clic

Re: [PHP] Form Validation Issues

2007-05-26 Thread tedd
tedd wrote: "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Unknown Hi Jim: You might try the array below and the quote above, I believe, was > Douglas MacArthur of WWII fame. Is that the same Douglas MacArthur who was on

Re: [PHP] $_GET strings seperation

2007-05-26 Thread Tijnema
On 5/26/07, Navid Yar <[EMAIL PROTECTED]> wrote: Hello Everyone, I have a problem with GET strings. I use $_SERVER["REDIRECT_QUERY_STRING"] to get the value-pairs in the URL. The problem is that there is a cID variable that keeps appending itself to the string continuously everytime someone clic

[PHP] $_GET strings seperation

2007-05-26 Thread Navid Yar
Hello Everyone, I have a problem with GET strings. I use $_SERVER["REDIRECT_QUERY_STRING"] to get the value-pairs in the URL. The problem is that there is a cID variable that keeps appending itself to the string continuously everytime someone clicks on a different category link on the website. Fo

[PHP] Re: installing error

2007-05-26 Thread Jared Farrish
Thank you very much for you answers!!! =), but Im trying to work with PostgreSQL. I have never installed PostgreSQL, but I have installed Apache and PHP together. Three suggestions: 1. Forget the installers. They are worthless, since all you're doing is adding or editing a few config file lines

[PHP] Re: PHP debugger

2007-05-26 Thread Jared Farrish
Miles Thompson wrote: > Suggestions will be most welcome. Also, I'm not married to this, so if > anyone thinks there is a better debugger, please jump in. The following assumes object-oriented programming paradigms are at least somewhat applied. I would guess functional would be similar, but pr

Re: [PHP] installing error

2007-05-26 Thread Rafael Mora
Thank you very much for you answers!!! =), but Im trying to work with PostgreSQL. So Im gonna review your suggestions in order to see which would be the best for me Thank you very much! Rafa On 5/26/07, Sathyashrayan <[EMAIL PROTECTED]> wrote: On 5/26/07, Tijnema <[EMAIL PROTECTED]> wrote

Re: [PHP] Form Validation Issues

2007-05-26 Thread David Robley
tedd wrote: >>"Some men are born to greatness, some achieve greatness, >>and some have greatness thrust upon them." >> >>Unknown > > Hi Jim: > > You might try the array below and the quote above, I believe, was > Douglas MacArthur of WWII fame. Is that the same Douglas MacArthur w

Re: [PHP] installing error

2007-05-26 Thread Sathyashrayan
On 5/26/07, Tijnema <[EMAIL PROTECTED]> wrote: On 5/26/07, Richard Davey <[EMAIL PROTECTED]> wrote: > Hi Rafael, > > Saturday, May 26, 2007, 12:38:15 AM, you wrote: > > > Hello does anyone know the correct way to install PHP and APACHE (last > > versions both of them) on WinXP???, Im doing it wi

Re: [PHP] installing error

2007-05-26 Thread Tijnema
On 5/26/07, Richard Davey <[EMAIL PROTECTED]> wrote: Hi Rafael, Saturday, May 26, 2007, 12:38:15 AM, you wrote: > Hello does anyone know the correct way to install PHP and APACHE (last > versions both of them) on WinXP???, Im doing it with the installers and I > cannot even run phpinfo(); scrip

Re: [PHP] installing error

2007-05-26 Thread Richard Davey
Hi Rafael, Saturday, May 26, 2007, 12:38:15 AM, you wrote: > Hello does anyone know the correct way to install PHP and APACHE (last > versions both of them) on WinXP???, Im doing it with the installers and I > cannot even run phpinfo(); script, I see apache's error log and it says that > i cant f