Re: [PHP-DB] Calling functions recursively

2003-01-25 Thread Jason Wong
On Saturday 25 January 2003 14:49, Kevin Gordon wrote: > Can functions / methods be called recursively? If so how can this be > done? Comments much appreciated. google > "php recursive functions" -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators *

Re: [PHP-DB] Calling functions recursively

2003-01-25 Thread Roberto Plomp
If you mean that it would be more straight forward, hence neater and more comprehensive and more maintenance and stack friendly to just call the function in a loop, I agree. On the other hand ... well, there are arguments for the recursive approach for a number of algorithms. Personally I prefer

[PHP-DB] Re: function needed

2003-01-25 Thread Shahar Tal
Thank you all! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Filling Fields

2003-01-25 Thread Chezney
Hi Can some one please tell how I can fill and entire field with the same value. Maybe in a loop or is there a command. Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] Filling Fields

2003-01-25 Thread Rich Gray
have you tried str_repeat()? Rich -Original Message- From: Chezney [mailto:[EMAIL PROTECTED]] Sent: 19 January 2003 08:47 To: [EMAIL PROTECTED] Subject: [PHP-DB] Filling Fields Hi Can some one please tell how I can fill and entire field with the same value. Maybe in a loop or is there a

RE: [PHP-DB] sql query links

2003-01-25 Thread John W. Holmes
> i'm starting out in this whole thing, and i'm trying to program a zine > that > uses a sql database for content and calls the content into a template. > what > i am unclear on how to do is set up the links so that I can get the info > from the database. anyone willing to help me out? www.youdom

RE: [PHP-DB] Filling Fields

2003-01-25 Thread John W. Holmes
> Can some one please tell how I can fill and entire field with the same > value. Maybe in a loop or is there a command. If you mean a field from a database... UPDATE table SET field = 'value'; ---John W. Holmes... PHP Architect - A monthly magazine for PHP Professionals. Get your copy today. h

Re: [PHP-DB] SQL very fast here & very slow there

2003-01-25 Thread Paolo Bonavoglia
At 16:43 24/01/2003 24/01/2003, John A DAVIS wrote: We had a very sluggish SQL Server 7.0 and we tested the RAM chips and found one to be bad. It was throwing off a whole bank of chips (1gb). Stuff is a lot faster now. Also, your indexes might be different on your tables. Indexing the correct f

[PHP-DB] calling function

2003-01-25 Thread web man
Hi guys, I am still new in calling functions in php. I wondered if anyone could show me an example in details on how to call this funciton in an application?? [PHP] "localhost", "user" => "", "pass" => "", "database" => "search_engine",

[PHP-DB] converting a Recorset into an XML string

2003-01-25 Thread Octavio Herrera
Hello everybody, I make a function that lets you convert a recordset obtained via mysql_query() into an XML string: maybe could be helpfull to yours this is the function it have 3 parameters: $rs is the recordset you want to convert $padre is the name for the

[PHP-DB] empty query

2003-01-25 Thread Addison Ellis
hello, i have unsuccessfully tried for three days to write, re-write something that will insert data into my db and ashamedly have failed again. at one point i was able to echo values and see that they were in fact passing from my form. now i can't even get that. anyway, if you could take a lo

Re: [PHP-DB] empty query

2003-01-25 Thread Jason Wong
On Sunday 26 January 2003 14:31, Addison Ellis wrote: > hello, > i have unsuccessfully tried for three days to write, re-write > something that will insert data into my db and ashamedly have failed > again. at one point i was able to echo values and see that they were > in fact passing from m