On Thu, July 12, 2007 7:02 am, Sancar Saran wrote:
> I cannot do any operation wiht single quote like
>
> explode("'",$strContent);
>
> Did I miss someting ?
Works for me, so you've definitely missed something somewhere.
Like telling us what's in $strContent and whatever else is before the
code
On Thu, July 12, 2007 7:33 am, Ross wrote:
> I need a secure form. I have one here
> http://www.edinburghnights.co.uk/pay/php/curl_https.html but it has no
> algorithm check on the CC number. Also I need to make the form secure.
> Can
> someone point me to an example or tutorial.
To make the form
On Thu, July 12, 2007 8:25 am, Karl Schmitt wrote:
> Can someone please help me?
>
> I am new to installing and working with php and webservers. I am
> using
> IIS 6.
>
> I can not get php to load the ini file.
This line:
Configuration File (php.ini) Path C:\WINDOWS
tells you that PHP *loo
On Thu, July 12, 2007 11:10 am, Anugrah Widya wrote:
> dear php developer,
>
> i have weird situation here, i can't create a file in 777 mode
> directory
> and stay in same server, is this a bug ??
>
> fyi. i'm using fc6, and php 5.1.6
Show us code.
It's almost for sure not a PHP bug, whatever it
On Thu, July 12, 2007 11:30 am, Anugrah Widya wrote:
> Stut wrote:
>> Anugrah Widya wrote:
>>> dear php developer,
>>>
>>> i have weird situation here, i can't create a file in 777 mode
>>> directory and stay in same server, is this a bug ??
>>>
>>> fyi. i'm using fc6, and php 5.1.6
>>
>> I'm not s
Richard Lynch wrote:
On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote:
I am currently running
PHP 5.1.4
Fedora Core 5
i'm trying to exectute the following test script.
You really ought to be getting the return value from mail() and
checking it for success...
Error-checking is good. :-)
On Thu, July 12, 2007 6:08 pm, Dan wrote:
> string htmlentities ( string $string [, int $quote_style [, string
> $charset
> [, bool $double_encode]]] )
>
> This function is identical to htmlspecialchars() in all ways, except
> with
> htmlentities(), all characters which have HTML character entity
>
On Thu, July 12, 2007 12:37 pm, Don Don wrote:
> Am kind of confused between htmlspecialchars and htmlentities. I've
> got data i need to display data on a page containing e.g. " but
> will like it to be displayed as "
>
> htmlspecialchars or htmlentities or page character set ?
htmlspecialchars
On Fri, July 13, 2007 12:19 am, Nathan Nobbe wrote:
> thing as i mentioned before is i cannot see a reason to create xml
> data while processing a GET or POST request from a client; it would
> just be
> an extra step with no apparent benefit as far as i can tell.
You DEFINITELY are not being nearl
On Thu, July 12, 2007 4:15 pm, Kelvin Park wrote:
> I'm trying to setup a XSLT based web site.
> I wasn't exactly sure about the flow of the whole system when data
> from
> relational database is transferred to XML and in turn the data
> inputted
> from the user is relayed back to the database thro
On Thu, July 12, 2007 6:33 pm, Tanner Postert wrote:
> I am currently running
>
> PHP 5.1.4
> Fedora Core 5
>
> i'm trying to exectute the following test script.
>
> $to = '[EMAIL PROTECTED]';
> $subject = 'the subject';
> $message = 'body';
> $headers = 'From: [EMAIL PROTECTED]' . "\r\n" .
>
Hey Richard, thanks for the reply. I appreciate it. :)
Richard Lynch wrote:
http://php.net/
Yikes! I guess it was one of those RTFM question/answers! Lol. :D
#2 sounds awfully bogus to me...
Yeah... Hmm, now I am starting to wonder where I heard/read that. Maybe
it was a co-worker. I am g
On Thu, July 12, 2007 7:07 pm, Brian Dunning wrote:
> Here's another thing that would be nice: A web service to look up the
> carrier for a cell number. That way you could simply send an email to
> [EMAIL PROTECTED], though this would still be only a partial
> solution. This is a lot harder now tha
It's annoying as crap to work with them.
But if they were not so vigilant and picuyane, you know what we'd have?
A zillion spam phone messages ringing your cell day and night from all
kinds of idiots.
Do you really want that?
I sure don't.
Give them at least some credit for trying to be respon
On Thu, July 12, 2007 6:39 pm, Brian Dunning wrote:
> Hi all - I've been looking at a number of the commercial service
> providers for bulk SMS messaging, most of whom have PHP APIs. But
> since they are selling something they don't answer my question
>
> Is there any (legal, legitimate) way to
On Thu, July 12, 2007 6:42 pm, Micky Hulse wrote:
> I am trying to describe why php short tags failed to work on a
> server...
> here is my simplified explanation:
>
> "it had to do with the server settings... The short_open_tag directive
> in php.ini was set to 0."
>
> Do you think that is an ok w
What is the 3981st character?
Does your database driver, whatever it is, which you've told us is not
PDO, have any kind of limit in the buffer size of query data
back/forth?
What driver ARE you using?
I see mssql in the code, so assume that's it, right?...
Does it happen on every record at 3980?
[snip]
...schtuff
[/snip]
Please, do not cast aspersions upon the telcos, for those of us who work
in the industry cannot even get some of what you are talking about. We
have a vendor that provides the SMS part and they will not expose the
SMS API to us (not all SMS platforms are equal either)
kelvin,
attached is a very simple diagram i put together when i got home
illustrating a possible relationship between the main components in an xsl
templated php application w/ a database back-end. as ive mentioned there
are other configurations as well. primarily the main options in the overal
It's gotten to the point where I pretty much view social networking
sites as just another form of spammers...
I blogged about it, and would like feedback from members of this
lists, for various reasons I would hope would be obvious.
PLEASE put responses in my blog, or your blog, or whatever, but
I have a simple page that displays a record from the sql server database. One
of the fields is a text field and keeps getting truncated at 3980 characters.
I searched and saw someone had reported this as a PDO bug so I'm not using PDO
anymore, but I'm still getting the truncation. Anyone know
Micky Hulse wrote:
Hi Chris, thanks for the quick reply. I appreciate your help.
Chris wrote:
Sure.
Thanks. :)
1 & 3 definitely. No idea how it's a security risk.
Ah, great. Thanks for clarification.
I probably mis-read the info about it being a security risk.
I should have said I'm no
Hi Chris, thanks for the quick reply. I appreciate your help.
Chris wrote:
Sure.
Thanks. :)
1 & 3 definitely. No idea how it's a security risk.
Ah, great. Thanks for clarification.
I probably mis-read the info about it being a security risk.
Have a great day,
Cheers,
Micky
--
Wishlists:
"it had to do with the server settings... The short_open_tag directive
in php.ini was set to 0."
Do you think that is an ok way to describe the problem to a technically
literate non php coder?
Sure.
Additionally, is there a good reference on the net that explains the
differences between s
Brian,
Here's another thing that would be nice: A web service to look up the
carrier for a cell number. That way you could simply send an email to
[EMAIL PROTECTED], though this would still be only a partial
solution. This is a lot harder now that numbers are transportable
between carriers.
fr
As you guys can probably guess from the question I'm still getting to
grips with some parts of php.
I had stripped down the code for my original post, maybe this will clear
things up a bit:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
$Rows
Here's another thing that would be nice: A web service to look up the
carrier for a cell number. That way you could simply send an email to
[EMAIL PROTECTED], though this would still be only a partial
solution. This is a lot harder now that numbers are transportable
between carriers.
I wa
Brian,
I was experimenting late last year using PHP to send SMS messages. I think
there is a
lot of potential in the marketplace around SMS. But most of the phone
companies wouldnt
even talk to me and all i was trying to do was hit a development API to test
some code out.
im almost certain you
Sounds more like the mail server than PHP. Although weird anyway ! What mail
server are you using : local/remote, smtp/sendmail/qmail ?
Try using whatever method and send a mail through this server from outside
of PHP with the same problem parameters ? Does that work ? It should either
eliminate
Hi,
I am trying to describe why php short tags failed to work on a server...
here is my simplified explanation:
"it had to do with the server settings... The short_open_tag directive
in php.ini was set to 0."
Do you think that is an ok way to describe the problem to a technically
literate
Hi all - I've been looking at a number of the commercial service
providers for bulk SMS messaging, most of whom have PHP APIs. But
since they are selling something they don't answer my question
Is there any (legal, legitimate) way to send an SMS message that can
be replied to the desire
I am currently running
PHP 5.1.4
Fedora Core 5
i'm trying to exectute the following test script.
i have about 10 or so different virtual hosts running on this machine, and
if i use any of them for the from & reply-to addresses, it works fine, or
even if i use domains I don't control like aol.
string htmlentities ( string $string [, int $quote_style [, string $charset
[, bool $double_encode]]] )
This function is identical to htmlspecialchars() in all ways, except with
htmlentities(), all characters which have HTML character entity equivalents
are translated into these entities.
Th
I'm trying to setup a XSLT based web site.
I wasn't exactly sure about the flow of the whole system when data from
relational database is transferred to XML and in turn the data inputted
from the user is relayed back to the database through XML (or directly
to the database with PHP DB connectio
Don Don wrote:
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to
display data on a page containing e.g. " but will like it to be displayed as
"
htmlspecialchars or htmlentities or page character set ?
Cheers
---
Best way to learn, and remember, things like this is to make a simple test page
and see for yourself.
Don Don wrote:
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to
display data on a page containing e.g. " but will like it to be displayed as
In news: [EMAIL PROTECTED] -
"Karl Schmitt" wrote :
> Can someone please help me?
>
>
>
> I am new to installing and working with php and webservers. I am
> using IIS 6.
>
>
>
> I can not get php to load the ini file.
>
>
>
> I have followed multiple guides including those listed on the install
>
Hi all,
Am kind of confused between htmlspecialchars and htmlentities. I've got data i
need to display data on a page containing e.g. " but will like it to be
displayed as "
htmlspecialchars or htmlentities or page character set ?
Cheers
-
Take the I
Anugrah Widya wrote:
Stut wrote:
Anugrah Widya wrote:
dear php developer,
i have weird situation here, i can't create a file in 777 mode
directory and stay in same server, is this a bug ??
fyi. i'm using fc6, and php 5.1.6
I'm not sure I understand what the problem is. Please post the cod
Stut wrote:
Anugrah Widya wrote:
dear php developer,
i have weird situation here, i can't create a file in 777 mode
directory and stay in same server, is this a bug ??
fyi. i'm using fc6, and php 5.1.6
I'm not sure I understand what the problem is. Please post the code
you're using and a
On 7/12/07, Anugrah Widya <[EMAIL PROTECTED]> wrote:
dear php developer,
i have weird situation here, i can't create a file in 777 mode directory
and stay in same server, is this a bug ??
How are you attempting to create the file?
What do your PHP settings allow and disallow?
Do you m
Anugrah Widya wrote:
dear php developer,
i have weird situation here, i can't create a file in 777 mode directory
and stay in same server, is this a bug ??
fyi. i'm using fc6, and php 5.1.6
I'm not sure I understand what the problem is. Please post the code
you're using and a more detailed
On 7/12/07, Jon Anderson <[EMAIL PROTECTED]> wrote:
Daniel Brown wrote:
>Did you come before or after the chicken egg?
>
Relevant to the above:
$a = array('Chicken','Egg');
echo "The " . $a[array_rand($a)] . " comes first.";
I appologize if this one's already been done...I've only glanced a
dear php developer,
i have weird situation here, i can't create a file in 777 mode directory
and stay in same server, is this a bug ??
fyi. i'm using fc6, and php 5.1.6
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > I wasn't born silly-ass, I was hatched. >:)
>
> Did you come before or after the chicken egg?
After the first one, but I fried it up and so earth had to wait another
couple of million years for a chicken to evolve again.
Ah, so t
Daniel Brown wrote:
Did you come before or after the chicken egg?
Relevant to the above:
$a = array('Chicken','Egg');
echo "The " . $a[array_rand($a)] . " comes first.";
I appologize if this one's already been done...I've only glanced at a
few entries in this thread, entertaining though i
On Thu, 2007-07-12 at 17:06 +0200, Tijnema wrote:
> On 7/12/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> > On 7/12/07, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> > > Thijs Lensselink wrote:
> > > >> > > >> $evil[] = "6";
> > > >> $evil[] = "6";
> > > >> $evil[] = "6";
> > > >> for($i=0;$i > > >>
On 7/12/07, Tijnema <[EMAIL PROTECTED]> wrote:
On 7/12/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On 7/12/07, Tijnema <[EMAIL PROTECTED]> wrote:
> > You can probably remember the good old time of being a child and
> > having holiday ;)
> >
> > Tijnema
> > --
> > Vote for PHP Color Coding in Gm
On 7/12/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 7/12/07, Tijnema <[EMAIL PROTECTED]> wrote:
> You can probably remember the good old time of being a child and
> having holiday ;)
>
> Tijnema
> --
> Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
>
Don't rub it in, Tijne
On 7/12/07, Tijnema <[EMAIL PROTECTED]> wrote:
You can probably remember the good old time of being a child and
having holiday ;)
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
Don't rub it in, Matijn ;-P
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
Robert Cummings wrote:
On Thu, 2007-07-12 at 11:20 -0400, Daniel Brown wrote:
On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
G... must be nice, some of us had to toil 18 hours a day sweeping
chimneys!
;)
Cheers,
Rob.
What do you mean "us"? Weren't you born before they invent
On Thu, 2007-07-12 at 11:27 -0400, Daniel Brown wrote:
> On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Thu, 2007-07-12 at 11:20 -0400, Daniel Brown wrote:
> > > On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > > G... must be nice, some of us had to toil 18 hours a da
This may or may not be a PHP question - I'll let the group decide. Note
this URL:
http://www.someplace.com/SomeDirectory/SomeFile
compared to this URL:
http://www.someplace.com/SomeDirectory/SomeFile.php
Okay. How does one create the URL with no file extension? Is this done
through PHP or is
On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Thu, 2007-07-12 at 11:20 -0400, Daniel Brown wrote:
> On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > G... must be nice, some of us had to toil 18 hours a day sweeping
> > chimneys!
> >
> > ;)
> >
> > Cheers,
> > Rob.
>
>
On Thu, 2007-07-12 at 11:20 -0400, Daniel Brown wrote:
> On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > G... must be nice, some of us had to toil 18 hours a day sweeping
> > chimneys!
> >
> > ;)
> >
> > Cheers,
> > Rob.
>
> What do you mean "us"? Weren't you born before they i
Fernando Cosso wrote:
Hi guys
I have been asked to create a php script. It has to create a pdf with the
qmail and the bandwidth statistics. My first approach was to parse the html
output of the isoqlog for the mail and copy the mrtg's images
But it is a really nasty job.
I wonder if someone has d
[snip]
> >> >> $evil[] = "6";
> >> $evil[] = "6";
> >> $evil[] = "6";
> >> for($i=0;$i >> $_ = sqrt($evil);
> >> }
> >> ?>
It was supposed to be "money is the root of all evil," but the
code above wouldn't work correctly anyway, as each time through the
for() loop it'll try to get the squ
On 7/12/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
G... must be nice, some of us had to toil 18 hours a day sweeping
chimneys!
;)
Cheers,
Rob.
What do you mean "us"? Weren't you born before they invented the chimney?
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (
On 7/12/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 7/12/07, Colin Guthrie <[EMAIL PROTECTED]> wrote:
> Thijs Lensselink wrote:
> >> >> $evil[] = "6";
> >> $evil[] = "6";
> >> $evil[] = "6";
> >> for($i=0;$i >> $_ = sqrt($evil);
> >> }
> >> ?>
It was supposed to be "money is the root
On 7/12/07, Colin Guthrie <[EMAIL PROTECTED]> wrote:
Thijs Lensselink wrote:
>> > $evil[] = "6";
>> $evil[] = "6";
>> $evil[] = "6";
>> for($i=0;$i> $_ = sqrt($evil);
>> }
>> ?>
It was supposed to be "money is the root of all evil," but the
code above wouldn't work correctly anyway, as e
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
I imagine that you are doing other actions between the above three lines?
Correct?
Really, the simplest way of doin
Thijs Lensselink wrote:
>> > $evil[] = "6";
>> $evil[] = "6";
>> $evil[] = "6";
>> for($i=0;$i> $_ = sqrt($evil);
>> }
>> ?>
>> That also illustrates to newbies the allowance of using an
>> underscore as a variable. (Thank God it's almost Friday)
Thank _God_ it's Friday??? Covering all
On Thu, 12 Jul 2007 09:56:18 -0400, "Daniel Brown" <[EMAIL PROTECTED]> wrote:
> On 7/12/07, Jay Blanchard <[EMAIL PROTECTED]> wrote:
>> [snip]
>> Mine was trying to go for an old funk song that starts:
>>
>> What goes up, must come down.
>> Spinning wheel got to go 'round
>> Drop all the painted po
On 7/12/07, Philip Thompson <[EMAIL PROTECTED]> wrote:
Hi.
This may or may not be a PHP question - I'll let the group decide.
Note this URL:
http://www.someplace.com/SomeDirectory/SomeFile
compared to this URL:
http://www.someplace.com/SomeDirectory/SomeFile.php
Okay. How does one create the
Philip Thompson wrote:
This may or may not be a PHP question - I'll let the group decide. Note
this URL:
http://www.someplace.com/SomeDirectory/SomeFile
compared to this URL:
http://www.someplace.com/SomeDirectory/SomeFile.php
Okay. How does one create the URL with no file extension? Is this
Philip Thompson wrote:
Hi.
This may or may not be a PHP question - I'll let the group decide. Note
this URL:
http://www.someplace.com/SomeDirectory/SomeFile
compared to this URL:
http://www.someplace.com/SomeDirectory/SomeFile.php
Okay. How does one create the URL with no file extension? I
Hi.
This may or may not be a PHP question - I'll let the group decide.
Note this URL:
http://www.someplace.com/SomeDirectory/SomeFile
compared to this URL:
http://www.someplace.com/SomeDirectory/SomeFile.php
Okay. How does one create the URL with no file extension? Is this
done through P
On Thu, 2007-07-12 at 15:47 +0300, Sancar Saran wrote:
> On Thursday 12 July 2007 15:11:28 Stut wrote:
> > Sancar Saran wrote:
> > > I cannot do any operation wiht single quote like
> > >
> > > explode("'",$strContent);
> > >
> > > Did I miss someting ?
> >
> > In what way "can't"? What happens / d
On 7/12/07, Jay Blanchard <[EMAIL PROTECTED]> wrote:
[snip]
Mine was trying to go for an old funk song that starts:
What goes up, must come down.
Spinning wheel got to go 'round
Drop all the painted ponies by the riverside.
[mumble] let the spinning wheel slide.
Only later did I realize I broke
On Thu, 2007-07-12 at 09:25 -0400, Karl Schmitt wrote:
> Can someone please help me?
>
> I am new to installing and working with php and webservers. I am using
> IIS 6.
>
> I can not get php to load the ini file.
Your webserver is looking for it here:
C:\WINDOWS\php.ini
Is it there?
Chee
On 7/12/07, Ross <[EMAIL PROTECTED]> wrote:
Hi,
I need a secure form. I have one here
http://www.edinburghnights.co.uk/pay/php/curl_https.html but it has no
algorithm check on the CC number. Also I need to make the form secure. Can
someone point me to an example or tutorial.
Many thanks,
R.
Can someone please help me?
I am new to installing and working with php and webservers. I am using
IIS 6.
I can not get php to load the ini file.
I have followed multiple guides including those listed on the install
pages and even went back and let the installer run, which changed
no
Yes, TZ env var helps and it works when I use putenv().
However if I set TZ in the server, and restart apache/php, TZ is getting
wiped out.
I think my server admin and I have to do some poking around to figure
out why.
Thanks for the help.
-phil
-Original Message-
From: Richard Lynch [
On Thursday 12 July 2007 15:11:28 Stut wrote:
> Sancar Saran wrote:
> > I cannot do any operation wiht single quote like
> >
> > explode("'",$strContent);
> >
> > Did I miss someting ?
>
Omg, It's my bad, sorry for lameness.
Before the exploding text I do some encoding decodings.
So? I do mis s
On Thu, 2007-07-12 at 09:58 +0100, Stut wrote:
> Richard Lynch wrote:
> > On Wed, July 11, 2007 4:16 pm, Robert Cummings wrote:
> >>> But I'd have to say that the intent is not all that clear, really,
> >>> and
> >>> I'd be leery of this feature, personally.
> >> I wouldn't be leery at all. It's be
M. Sokolewicz wrote:
Stut wrote:
Zoltán Németh wrote:
2007. 07. 12, csütörtök keltezéssel 10.28-kor Stut ezt írta:
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
On Thursday 12 July 2007 15:11:28 Stut wrote:
> Sancar Saran wrote:
> > I cannot do any operation wiht single quote like
> >
> > explode("'",$strContent);
> >
> > Did I miss someting ?
>
> In what way "can't"? What happens / doesn't happen?
>
> -Stut
>
> --
> http://stut.net/
Hi,
Problem was
$st
Hi,
I need a secure form. I have one here
http://www.edinburghnights.co.uk/pay/php/curl_https.html but it has no
algorithm check on the CC number. Also I need to make the form secure. Can
someone point me to an example or tutorial.
Many thanks,
R.
--
PHP General Mailing List (http://www.
Sancar Saran wrote:
I cannot do any operation wiht single quote like
explode("'",$strContent);
Did I miss someting ?
In what way "can't"? What happens / doesn't happen?
-Stut
--
http://stut.net/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
Sancar Saran wrote:
Hi,
I cannot do any operation wiht single quote like
explode("'",$strContent);
Did I miss someting ?
Regards
Sancar
what do you mean by 'cannot do' ?
If I do:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I cannot do any operation wiht single quote like
explode("'",$strContent);
Did I miss someting ?
Regards
Sancar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stut wrote:
Zoltán Németh wrote:
2007. 07. 12, csütörtök keltezéssel 10.28-kor Stut ezt írta:
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
Specifically I am won
[snip]
Mine was trying to go for an old funk song that starts:
What goes up, must come down.
Spinning wheel got to go 'round
Drop all the painted ponies by the riverside.
[mumble] let the spinning wheel slide.
Only later did I realize I broke the cardinal rule of Name That Tune
and have NO IDEA w
Zoltán Németh wrote:
2007. 07. 12, csütörtök keltezéssel 10.28-kor Stut ezt írta:
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
Specifically I am wonder if I can
2007. 07. 12, csütörtök keltezéssel 10.28-kor Stut ezt írta:
> John Comerford wrote:
> > Hi Folks,
> >
> > Is there a better way of doing the following:
> >
> > $Rows[] = array();
> > $currentRow = count($Rows) - 1;
> > $Rows[$currentRow]['test'] = "this is a test";
> >
> > Specifically I am won
On Thu, 12 Jul 2007 18:45:36 +1000, John Comerford <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> Is there a better way of doing the following:
>
> $Rows[] = array();
> $currentRow = count($Rows) - 1;
> $Rows[$currentRow]['test'] = "this is a test";
>
> Specifically I am wonder if I can avoid having
John Comerford wrote:
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
Specifically I am wonder if I can avoid having to use 'count'.
1) The code above will produce a $currentRow of -1 wh
Richard Lynch wrote:
On Wed, July 11, 2007 4:16 pm, Robert Cummings wrote:
But I'd have to say that the intent is not all that clear, really,
and
I'd be leery of this feature, personally.
I wouldn't be leery at all. It's been around for a very long time and
it's documented:
http://www.php.net
On Thu, 12 Jul 2007 18:45:36 +1000, John Comerford <[EMAIL PROTECTED]> wrote:
> Hi Folks,
>
> Is there a better way of doing the following:
>
> $Rows[] = array();
> $currentRow = count($Rows) - 1;
> $Rows[$currentRow]['test'] = "this is a test";
>
> Specifically I am wonder if I can avoid having
Hi Folks,
Is there a better way of doing the following:
$Rows[] = array();
$currentRow = count($Rows) - 1;
$Rows[$currentRow]['test'] = "this is a test";
Specifically I am wonder if I can avoid having to use 'count'.
TIA,
JC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
yep, a for loop is the fallback i use now.
any reason why there isn't a built-in function for this?
any plans for it in future versions of php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Olav Mørkrid wrote:
chris
for your suggestion to work, the internal array pointer of $array
would first have to be set to point to the current element ($index).
but how do you do this?
this may seem like childs play, but i actually can't find any
documented php function for this. it would be s
chris
for your suggestion to work, the internal array pointer of $array
would first have to be set to point to the current element ($index).
but how do you do this?
this may seem like childs play, but i actually can't find any
documented php function for this. it would be something like:
array
93 matches
Mail list logo