Re: [PHP-DB] [ Re: [PHP-DB] Filling Drop-Down Box.]

2004-12-28 Thread Nayyar Ahmed
Hello Alex: It is really helpfull, :) thanks for your detailed reply regards, On Sat, 25 Dec 2004 23:57:51 +0200, Alexandru Mihai <[EMAIL PROTECTED]> wrote: > > >--- > while ($row = mysql_fetch_array($result)) { > ?> >"> > } > ?> > > In this case

Re: [PHP-DB] auto_increment

2004-12-28 Thread ron.php
Thanks Larry. It was mySQL ... Ron On Sun, 26 Dec 2004 20:47:37 -0500, Larry E. Ullman wrote > > I have the auto_increment on one of my variables. During the past few > > days > > I have been doing testing on a "live" database and created several test > > records which I now have deleted from

Re[2]: [PHP-DB] 'Illegal mix of collations' with PHP 4.3.10 and MySQL 4.1.7

2004-12-28 Thread Piotr Wilkin
[cut] DG> I've got the same problem with PHP 5.0.2 and MySQL 4.1.8. I asked this DG> question many times on different mailing lists but still haven't got DG> satisfactory answer... That's the problem, I've reviewed different mailing lists as well but saw no reply... all problems that were presente

[PHP-DB] is this a problem ?

2004-12-28 Thread amol patil
hallo, i have changed file signup1.php with login1.php, in action fied of form and saved . but when i run this file and click on submit button, it still shows old sighnup1.php. and data is also not entering in database. while it data was entering in databse before this. but not now w

[PHP-DB] RE: How to process a query form with >>CHECKBOX<< RADIO not checkbox !

2004-12-28 Thread Neil Smith [MVP, Digital media]
At 01:23 28/12/2004 +, you wrote: Date: Mon, 27 Dec 2004 17:22:49 -0800 (PST) From: S Kumar <[EMAIL PROTECTED]> To: php-db@lists.php.net, php-general@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: How to process a query form with CHECKBOX Please help Age gro

Re: [PHP-DB] is this a problem ?

2004-12-28 Thread John Hicks
amol patil wrote: hallo, i have changed file signup1.php with login1.php, in action fied of form and saved . but when i run this file and click on submit button, it still shows old sighnup1.php. and data is also not entering in database. while it data was entering in databse before this. but

Re: [PHP-DB] is this a problem ?

2004-12-28 Thread Miles Thompson
There are scores of examples / tutorials on this. Google turned up 6,070 hits on this expression: "add user" php mysql example Here's one of them, although it assumes register globals is on http://www.php-scripts.com/php_diary/072000.php3 Why don't you pick one, work with it and a

Re: [PHP-DB] is this a problem ?

2004-12-28 Thread Peter Jay Salzman
On Tue 28 Dec 04, 11:44 AM, Miles Thompson <[EMAIL PROTECTED]> said: > > At 09:25 AM 12/28/2004, amol patil wrote: > > hallo, > > > > i have changed file signup1.php with login1.php, in action fied of form > > > > > > > > and saved . > > > > but when i run this file and click on submit butt

[PHP-DB] Site optimization

2004-12-28 Thread veditio
While my PHP/MySQL-based sites work quickly on my development computer, as well on servers where I know the traffic load is low, I'm concerned about how they'll perform under heavy loads, and whether or not I need to simplify MySQL queries or PHP code in order to speed up page delivery. Does an

Re: [PHP-DB] Site optimization

2004-12-28 Thread Joseph Crawford
i was wondering this as well :D are there any tools out there to simulate high traffic on your web server say where you specify how many users hit the site at one time and the tool actually hits your server that many times? -- Joseph Crawford Jr. Codebowl Solutions [EMAIL PROTECTED] -- PHP Dat

Re: [PHP-DB] Site optimization

2004-12-28 Thread Peter Jay Salzman
On Tue 28 Dec 04, 12:11 PM, Joseph Crawford <[EMAIL PROTECTED]> said: > i was wondering this as well :D > > are there any tools out there to simulate high traffic on your web > server say where you specify how many users hit the site at one time > and the tool actually hits your server that many t

[PHP-DB] Re: Site optimization

2004-12-28 Thread Manuel Lemos
Hello, on 12/28/2004 02:50 PM [EMAIL PROTECTED] said the following: While my PHP/MySQL-based sites work quickly on my development computer, as well on servers where I know the traffic load is low, I'm concerned about how they'll perform under heavy loads, and whether or not I need to simplify MySQL

[PHP-DB] Getting total results

2004-12-28 Thread Merlin
Hello everybody, I am trying to split results comming from a mysql db with php into more html pages. Example: Results 1-10 out of 100 Therefor I limit the sql statement with: limit 1, 10 The sql statement is very complex. So far I have always used the same statement but without the limit and wit

Re: [PHP-DB] Getting total results

2004-12-28 Thread John Holmes
Merlin wrote: I am trying to split results comming from a mysql db with php into more html pages. Example: Results 1-10 out of 100 Therefor I limit the sql statement with: limit 1, 10 The sql statement is very complex. So far I have always used the same statement but without the limit and with a

Re: [PHP-DB] Getting total results

2004-12-28 Thread Joseph Crawford
this is a good method, however i created a paging class in php 5 and i believe i still have it here locally in php 4 i will get the link soon :D -- Joseph Crawford Jr. Codebowl Solutions [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php

Re: [PHP-DB] Getting total results

2004-12-28 Thread Joseph Crawford
http://www.weberdev.com/get_example-4005.html that is the url to the PHP 5 object i created, it was created to show the use of the singleton pattern. This means you can only use this class to have one pager per page. i can edit the code if you do not know how to make it so you can have more than o

Re: [PHP-DB] Getting total results

2004-12-28 Thread Joseph Crawford
php 4 version is posted, let me know if you like it or not. Please keep in mind it is a very basic class, you could extend this in many ways, especially to make the nav bar do something like << 1 2 3 4 25 26 27 28 >> -- Joseph Crawford Jr. Codebowl Solutions [EMAIL PROTECTED] -- PHP Data

[PHP-DB] Problem with permissions Win32 dba_open

2004-12-28 Thread Ian
Hi all, Season's Greetings! I am testing my PHP scripts locally under XP Home SP2 / Apache 1.3.23 / PHP 4.3.10 but I can't get a simple DBM script to work. No problem running it on my remote site, under Unix with gdbm though. Locally, phpinfo() gives: DBA support: enabled Supported handlers: c

Re: [PHP-DB] Getting total results

2004-12-28 Thread John Holmes
Joseph Crawford wrote: http://www.weberdev.com/get_example-4005.html that is the url to the PHP 5 object i created, it was created to show the use of the singleton pattern. This means you can only use this class to have one pager per page. i can edit the code if you do not know how to make it so y

RE: [PHP-DB] Problem with permissions Win32 dba_open

2004-12-28 Thread Bastien Koert
is your ms firewall turned on? ms sp2 screws a lot of stuff up.. bastien From: "Ian" <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: [PHP-DB] Problem with permissions Win32 dba_open Date: Tue, 28 Dec 2004 23:36:08 - Hi all, Season's Greetings! I am testing my PHP scripts locally under XP

Re: [PHP-DB] how to set submit.

2004-12-28 Thread Zareef Ahmed
HI, Plesase search for post in last some days this issue has been discussed several time in the list. BTW double check the name of form submit button and register_global position. zareef ahmed >On Mon, 27 Dec 2004 04:45:58 -0800 (PST), amol patil <[EMAIL PROTECTED]> wrote: > hallo, > > clicki