[PHP-WIN] Re: array walk?

2007-07-07 Thread Ben
Take a look at array_walk() http://be2.php.net/manual/en/function.array-map.php It might be better for what you're doing. Juan Ignacio Borda wrote: this code doesn't work on my PHP Version 5.2.1 (i'm trying to protect a stie from XSS) como'; $a[]=Array('hola','hello'); array_walk_recursive($a

[PHP-WIN] Re: Array question

2003-08-25 Thread Sek-Mun Wong
hi again jocke... seems i'll give a go at answering your questions again ;-) If I understand your question properly, I doubt the previous poster's response would be useful to you. The bad news (I think): there are limited functions that deal with array pointers. There are plenty to deal with arra

[PHP-WIN] Re: ARRAY Question!

2003-03-04 Thread Ben O'Neill
Well, you can add items onto the end of an array by doing: $myarray[] = "added on end"; -- Ben "SheepCow" O'Neill GameSpyDaily Weekend Editor http://www.gamespydaily.com "Matt Babineau" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok here goes! > > Lets say I have an array: > >

[PHP-WIN] Re: array problem need help quick

2002-12-01 Thread George Nicolae
try to implement your sort function (bubble or quick) and you change both arrays. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com "Damouse" <[EMAIL PROTECTED]> wrote in message 001f01c298f8$f3c3c500$3700a8c0@DaMouse">new

[PHP-WIN] Re: array from fgetcsv

2002-08-25 Thread crizz
It's me again, sorry for the unnessesery post. Mr. Ross Fleming answered already in my previous post and I thank him very much. But the post is done so anyone can say to words about "isset" :DDD "C zz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I decid

[PHP-WIN] Re: Array of parameters

2002-07-22 Thread Evan
try this: use square brackets as follow: policy_codes[] Then in $_GET["policy_codes"] you'll have an array Hope this helps, Evan "Sandeep Murphy" <[EMAIL PROTECTED]> ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, Am relatively new to PHP and wud appreciate if any

[PHP-WIN] Re: Array Manipulation?

2001-10-16 Thread _lallous
In your MySql query you can put a condition to exclude the unwated 3 records. example: select * from tablename where not(id in (1,2,3)) "Mark Sweeney" <[EMAIL PROTECTED]> wrote in message 000e01c1568c$af4aa740$96ab869f@a">news:000e01c1568c$af4aa740$96ab869f@a... Hey, Just wondering, I am fetchin

RE: [PHP-WIN] Re: Array

2001-08-22 Thread Mike Flynn
essage- >From: Mike Flynn [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 21, 2001 4:48 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] Re: Array > > >Alternately, though I think the array solution is probably the most >durable, you could also do it as such: > >

[PHP-WIN] Re: Array

2001-08-21 Thread CJD
To have the items auto-numberd so as to skip blank entries, use: for ($i = 1; $i<6; $i++) { print "\n"; } then if on items 1,2 and 5 are filled in, you will have a array with just 3 elements in it. "Mike Flynn" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].

[PHP-WIN] Re: Array

2001-08-21 Thread Mike Flynn
Alternately, though I think the array solution is probably the most durable, you could also do it as such: for ($i = 1; $i<6; $i++) { print "\n"; } and then retrieve them as $test1 thru $test6, or if you want to use a loop like this: for ($i = 1; $i < 6; $i++) { $thevariable = "test$i";

[PHP-WIN] Re: array() :: *gone*

2001-08-08 Thread Erik Xstensen
sorry.. my mistake.. ;-) there is no problem anymore.. "Erik Xstensen" <[EMAIL PROTECTED]> skrev i melding [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I get this beautiful error message, "Call to undefined function: array() in > c:\inetpub\wwwroot\admin.php " > > running PHP on Windows