Re: [PHP-DB] selecting values from column without repeating

2001-01-19 Thread kancha
use GROUP BY in your sql query. see books on SQL for details. kancha. On Fri, 19 Jan 2001 09:11:47 +0530, sarahana wrote: > Hello, > I was wondering if it would be possible to select values from a column (lets say the column "year") so that each value gets retrieved only onc

Re: [PHP-DB] Child tables in MySQL

2001-01-19 Thread kancha
How about creating a separate table for each user and a column in the main table pointing to these user preference tables kancha. On Thu, 18 Jan 2001 21:53:55 -0700 (MST), John Starkey wrote: > Can anyone tell me how to create child tables in MySQL? I'm creating User > Prefs

[PHP-DB] file and mail

2001-04-25 Thread kancha
Hi all I have a text file with email addresses. Each line contains one email address. I read the file using file() function. Below is a snippet of my code $staff = file("staff"); for($x=0; $xhttp://www.bluemountain.com/giftcenter/ -- PHP Database Mailing List (http://www.php.net/) To unsu

Re: [PHP-DB] file and mail

2001-04-26 Thread kancha
That is not the problem. @ and . need not be escaped. It's got to do with the array that stores the file. Just need to dump the array and try to debug. Any idea on how I can dump an array regards, kancha On Thu, 26 Apr 2001 00:30:40 +0530, Subodh Gupta wrote: > Hi Kancha, > &