Re: [PHP-DB] A-Z Listings

2003-03-02 Thread Jason Wong
On Tuesday 18 February 2003 05:46, Andy wrote: > Hi There., I have a script that lists directorys then how many files are in > each. although it won't list in an A-Z format, would anyone know how i > would do this? Read all the filenames into an array then use asort(). -- Jason Wong -> Gremlins

[PHP-DB] Online free exam,

2003-03-02 Thread ahmed
Dear users, i hope i am not disturbing you by this e-mail, i learned php and i believe that i am very good in it. but i don't have a certificate in it so if anyone here can help me and provide me with the mail address or postal address to take thier exam in php & mysql because here in Egypt t

RE: [PHP-DB] Auto inserting a database with dates

2003-03-02 Thread John W. Holmes
> Is there a quick and easy (HAH :-) way of doing the following: > > I have a DB and a table with id, date etc . now what I need is to > create 3 years of entries for the date in advance of the system going live > (Rather than while they use it - hard to explain why but necessary). > > Is the

Re: [PHP-DB] need help with fetching a result using a function

2003-03-02 Thread Koleszár Tibor
Ahh, thats true. I thought its wokring in mysql. put a * after the select Tibor - Original Message - From: "John W. Holmes" <[EMAIL PROTECTED]> To: "'David Rice'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2003 5:28 PM Subject: RE: [PHP-DB] need help with fetching a

RE: [PHP-DB] need help with fetching a result using a function

2003-03-02 Thread John W. Holmes
> I am trying to write a few functions for a project i need to do for > school, > this function should return all the inactive, or active users (1 or 0 > staffstatusid) as an array for creating a drop down menu. > > Now when i perform the following code (yes it is included in a script that > conne

Re: [PHP-DB] parsing in php i think

2003-03-02 Thread Koleszár Tibor
for parse: ereg, ereg_replace, str_replace, substr for socket: fsockopen, fclose, fgets You should start at www.php.net? Tibor - Original Message - From: "Lars Rasmussen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, March 02, 2003 5:10 PM Subject: [PHP-DB] parsing in

[PHP-DB] parsing in php i think

2003-03-02 Thread Lars Rasmussen
Hi All, I got some trouble. I need to parse the data in a whois database. But i don't know how to do it. It would be nice if i just could do something like this: -fsocket Domain: test.dk Username: foo_dk And then it somehow parse't and would return

Re: [PHP-DB] need help with fetching a result using a function

2003-03-02 Thread Koleszár Tibor
Sorry, Tried error_reporting()? The query is invalid that's sure. Maybe '0' is not integer value (i dont know well mysql)... (or is there any mysql_error() to get mysql's error, why were the query invalid?) Tibor - Original Message - From: "David Rice" <[EMAIL PROTECTED]> To: <[EMAIL PR

Re: [PHP-DB] need help with fetching a result using a function

2003-03-02 Thread David Rice
You haven't thorougly read my message, about 4/5 lines down i have said "(yes it is included in a script that connects to the database i am using)" :) i have another script that calls this function script, and at the top of it, it calls a script that contains my connection information. I have te

[PHP-DB] need help with fetching a result using a function

2003-03-02 Thread David Rice
I am trying to write a few functions for a project i need to do for school, this function should return all the inactive, or active users (1 or 0 staffstatusid) as an array for creating a drop down menu. Now when i perform the following code (yes it is included in a script that connects to the