On Sun, Feb 08, 2009 at 08:04:19PM -0800, leledumbo wrote:
>
> I've read the docs about class constants and found some inconsistency (at
> least according to my knowledge), namely in the following statement:
>
> "The value must be a constant expression, not (for example) a variable, a
> class me
I've read the docs about class constants and found some inconsistency (at
least according to my knowledge), namely in the following statement:
"The value must be a constant expression, not (for example) a variable, a
class member, result of a mathematical operation or a function call."
Questions
I know rss_php, but it doesn't fit my solution.
Is anyone able to help me with my question?
thx
2009/2/8 Nathan Rixham
> Morris wrote:
>
>> Hi,
>>
>> I am trying to write a programme to read a rss xml file.
>>
>> ...
>>
>> ...
>>
>>scan anyone tell me how to get the url attribute? I wrot
2009/2/8 tedd :
> At 8:44 PM + 2/8/09, Stuart wrote:
>>
>> 2009/2/8 tedd :
>>
>> > just trying to get a handle on the number of people who program in php
>> --
>>>
>>> what's wrong with wanting to know that figure?
>>
>> There's nothing wrong with wanting to know it, there's just no
>> reliab
tedd wrote:
At 1:36 AM + 2/8/09, Ashley Sheridan wrote:
On Sat, 2009-02-07 at 15:26 -0500, tedd wrote:
> That's one way, to use "mysql_insert_id" (probably the best).
But another is simply to read back in the record you just created and
check the $row['id']. That's the way I do it somet
At 3:37 PM -0500 2/8/09, Paul M Foster wrote:
Perhaps a better question then might be how many IIS servers are there
out there compared to Apache. Apache servers uniformly support PHP, but
I think only IIS servers support ASP (I could be wrong). There's also
the FOSS argument. I'm continually sur
At 8:44 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd :
> just trying to get a handle on the number of people who program in php --
what's wrong with wanting to know that figure?
There's nothing wrong with wanting to know it, there's just no
reliable way to measure it so why bother asking fo
Skip Evans wrote:
> Oh, yeah, that's fine. I knew I could od it with arrays, but
> also looked to see if there was any way to just do an append,
> and I also need to sort them as well, so maybe I better get
> back to figuring out a join.
Just add asort() to what Ashley suggested.
The thing to k
At 12:37 PM -0600 2/8/09, Skip Evans wrote:
Ashley Sheridan wrote:
Can you not take this to the SQL itself, like maybe using some form of
join on the query.
I've been trying that, and frankly gave up, being whipped into
submission and having to admin I'm not an expert DBA, but I
hesitated
On Sun, 2009-02-08 at 15:37 -0500, Paul M Foster wrote:
> On Sun, Feb 08, 2009 at 03:20:48PM -0500, tedd wrote:
>
> > At 3:54 PM + 2/8/09, Stuart wrote:
> >> 2009/2/8 tedd :
> >>
> >> > I wasn't able to find a lot of information, but here's a useful link:
> >>>
> >> > http://www.tiobe.com/in
2009/2/8 tedd :
> At 3:54 PM + 2/8/09, Stuart wrote:
>>
>> 2009/2/8 tedd :
>>
>> > I wasn't able to find a lot of information, but here's a useful link:
>>>
>> > http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
>>
>> Tedd, that's a list of programming languages, not web develo
On Sun, Feb 08, 2009 at 03:20:48PM -0500, tedd wrote:
> At 3:54 PM + 2/8/09, Stuart wrote:
>> 2009/2/8 tedd :
>>
>> > I wasn't able to find a lot of information, but here's a useful link:
>>>
>> > http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
>>
>> Tedd, that's a list of p
At 3:54 PM + 2/8/09, Stuart wrote:
2009/2/8 tedd :
> I wasn't able to find a lot of information, but here's a useful link:
> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Tedd, that's a list of programming languages, not web development
languages.
The list shows ph
2009/2/8 Skip Evans :
> Is it possible to append a result query from one call to mysql_query() to
> the end of another if the specified fields are identical?
>
> Something like that would accomplish ths?
> $r1 = mysql_query('some sql');
> $r2 = mysql_query('some sql');
>
> $r3 = $r1.$r2;
>
> I supp
Oh, yeah, that's fine. I knew I could od it with arrays, but
also looked to see if there was any way to just do an append,
and I also need to sort them as well, so maybe I better get
back to figuring out a join.
Skip
Ashley Sheridan wrote:
On Sun, 2009-02-08 at 12:37 -0600, Skip Evans wrote:
On Sun, 2009-02-08 at 12:37 -0600, Skip Evans wrote:
> Ashley Sheridan wrote:
> >>
> > Can you not take this to the SQL itself, like maybe using some form of
> > join on the query.
> >
>
> I've been trying that, and frankly gave up, being whipped into
> submission and having to admin I'm not an
Ashley Sheridan wrote:
Can you not take this to the SQL itself, like maybe using some form of
join on the query.
I've been trying that, and frankly gave up, being whipped into
submission and having to admin I'm not an expert DBA, but I
hesitated to post the queries lest I be flamed for pos
On Sun, 2009-02-08 at 12:22 -0600, Skip Evans wrote:
> Hey,
>
> Is it possible to append a result query from one call to
> mysql_query() to the end of another if the specified fields
> are identical?
>
> Something like that would accomplish ths?
> $r1 = mysql_query('some sql');
> $r2 = mysql_qu
Morris wrote:
Hi,
I am trying to write a programme to read a rss xml file.
...
...
scan anyone tell me how to get the url attribute? I wrote some codes
similar:
$doc = new DOMDocument;
$doc->load($myFlickrRss);
$r = $doc->getElementsByTagName('media:content');
for($i=0;$i<=$r->leng
Hey,
Is it possible to append a result query from one call to
mysql_query() to the end of another if the specified fields
are identical?
Something like that would accomplish ths?
$r1 = mysql_query('some sql');
$r2 = mysql_query('some sql');
$r3 = $r1.$r2;
I suppose they could be read into a
On Fri, 6 Feb 2009 10:11:49 +0100, cr.vege...@gmail.com wrote:
> I saved both scripts with ANSI in stead of UTF-8 and the problem is gone.
> So the utf-8 BOM character (Byte Order Mark) caused it.
> Unfortunately my editor has no option to store BOM-free scripts.
>
> Is it standard that PHP scrip
Hi,
I am trying to write a programme to read a rss xml file.
...
...
scan anyone tell me how to get the url attribute? I wrote some codes
similar:
$doc = new DOMDocument;
$doc->load($myFlickrRss);
$r = $doc->getElementsByTagName('media:content');
for($i=0;$i<=$r->length;$i++) {
/
Hi,
> Why anyone would see value in such a number is beyond me.
Just trying to get an (over)view of the market.
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
http://www.rgraph.org (Updated January 31st)
--
PHP General Mailing List (http://www.php.net/)
To unsu
2009/2/8 tedd :
> At 2:35 PM + 2/8/09, Richard Heyes wrote:
>>
>> Hi,
>>
>> Can anyone point out some general statistics on PHP usage compared to
>> other server languages? I've tried Netcraft, but they only appear (or
>> I've only found) to have statistics on the httpd server used.
>>
>> Thank
At 2:35 PM + 2/8/09, Richard Heyes wrote:
Hi,
Can anyone point out some general statistics on PHP usage compared to
other server languages? I've tried Netcraft, but they only appear (or
I've only found) to have statistics on the httpd server used.
Thanks.
--
Richard Heyes
Richard:
I wen
At 1:36 AM + 2/8/09, Ashley Sheridan wrote:
On Sat, 2009-02-07 at 15:26 -0500, tedd wrote:
> That's one way, to use "mysql_insert_id" (probably the best).
But another is simply to read back in the record you just created and
check the $row['id']. That's the way I do it sometimes.
Cheer
Hi,
Can anyone point out some general statistics on PHP usage compared to
other server languages? I've tried Netcraft, but they only appear (or
I've only found) to have statistics on the httpd server used.
Thanks.
--
Richard Heyes
HTML5 Canvas graphing for Firefox, Chrome, Opera and Safari:
ht
Nathan Rixham napsal(a):
Ashley Sheridan wrote:
On Thu, 2009-02-05 at 09:44 +1100, Chris wrote:
PHP wrote:
Hi all,
I am seeking some knowledge, hopefully I explain this right.
I am wondering what you think is faster.
Say you have 1000 records from 2 different tables that you need to
get fro
28 matches
Mail list logo