Re: [PHP] Incrementing a String Name

2001-04-22 Thread Andreas Landmark
nd dont know it yet. > There is a better way... Use an array: $name[0] //your $name1 $name[1] // your $name2 etc. and then do while($count<4) { $count=$count+1; echo $name[$count]; } and there you go... that should work just like your code would've in theory... -- a

Re: [PHP] how do I do this

2001-04-23 Thread Andreas Landmark
On Mon, Apr 23, 2001 at 04:59:49PM +0530, Adrian D'Costa produced this golden nugget: > Hi, > > I have the following script. What I want is that when I select the > country the corresponding cities should only be listed in the second > dropdown box. Can some one guide me. Right below is my tab

Re: [PHP] PHP ---- sort()

2001-04-23 Thread Andreas Landmark
On Mon, Apr 23, 2001 at 08:57:21AM -0400, Scott Fletcher produced this golden nugget: > I have used the PHP sort function --> sort(). When I use sort($data, > NUMERIC), it sort the data by Numeric order. But it goes in ascending > order. Is there a way to make it go in Descending order? Use rs

Re: [PHP] db to xls

2001-04-24 Thread Andreas Landmark
On Tue, Apr 24, 2001 at 08:37:19PM +0530, Rahul Bhide produced this golden nugget: > Thanks Calin, > I have already tried with the csv and the tab delimited text file . I wanted > to know a better option > bye > `Rahul Doubt there is a more effective solution with php (unless you write a cla

Re: [PHP] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Andreas Landmark
On Wed, Dec 12, 2001 at 11:31:25AM -, Jon Farmer wrote: > >Is there a function in PHP that will output the difference between two > timestamps (hours/mins/secs), similar in >the way that getdate() extracts > the date of a timestamp? Thank you. > > > How about subtracting the one timestamp f

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread Andreas Landmark
On Fri, Dec 14, 2001 at 12:11:14AM -0800, R. Lindeman wrote: > sorry for the inconvieniance but i have to restate my question i'm looking > for a online editor that is able to edit pages that are not on the same host > as the editor is. > And how is it supposed to do that? ftp/ssh/frontpage-ext

Re: [PHP] PHP not able to send email

2001-12-17 Thread Andreas Landmark
On Mon, Dec 17, 2001 at 11:48:13PM +0800, Peter wrote: > Dec 17 12:59:16 ns sendmail[14686]: NOQUEUE: SYSERR(webuser): queuename: > Cannot create "qfMAA14686" in "/var/spool/mqueue" > Your sendmail-setup is b0rked, check permissions on /var/spool and fix sendmail, there's nothing wrong with PHP

Re: [PHP] online detection

2001-04-11 Thread andreas . landmark
On Wed, Apr 11, 2001 at 08:10:22AM +0200, [EMAIL PROTECTED] produced this golden nugget: > > Does anyone know how to detect when a user connects to the Internet > > similar > > to ICQ? > > I think you mean messages on pages like "321 user online"! > As HTTP is a stateless protocol, you can't re