php-general Digest 27 May 2007 04:43:11 -0000 Issue 4813

2007-05-26 Thread php-general-digest-help
php-general Digest 27 May 2007 04:43:11 - Issue 4813 Topics (messages 255679 through 255695): Re: installing error 255679 by: Rafael Mora 255681 by: Jared Farrish 255688 by: Rafael Mora Re: PHP debugger 255680 by: Jared Farrish $_GET strings seperation

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 find

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(); script, I

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 with the

Re: [PHP] Form Validation Issues

2007-05-26 Thread David Robley
tedd wrote: SNIP on topic stuff 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

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:

[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

[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

[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. For

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 clicks

Re: [PHP] Form Validation Issues

2007-05-26 Thread tedd
tedd wrote: SNIP on topic stuff 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

[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 clicks

[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: tests test1ABC/test1 test2DEF/test2 /tests If I want to calculate element test1, it should return 18 bytes. thanks Lance

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: tests test1ABC/test1 test2DEF/test2 /tests If I want to calculate element test1, it should return 18 bytes. thanks Lance I have nearly no experience

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

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

[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

[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

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

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

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

Re: [PHP] Form Validation Issues

2007-05-26 Thread Jim Lucas
tedd wrote: tedd wrote: SNIP on topic stuff 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

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 [EMAIL

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