php-general Digest 22 Sep 2012 08:25:22 - Issue 7975
Topics (messages 319186 through 319191):
Re: PHP Bounce messages
319186 by: tamouse mailing lists
Re: Bounce messages
319187 by: Lester Caine
319189 by: David McGlone
319190 by: Lester Caine
Re: PHP Re:
David McGlone wrote:
And Yes tamouse ... it's having to replace a block of return addresses with
just the list address to tidy things up. A long list of addresses can build
up when everyone uses 'reply all' where as many other lists just need
'reply' so nowadays I only use reply - and hopefully
A PHP Error was encountered
Severity: Warning
Message: require(): Unable to allocate memory for pool.
Filename: core/Common.php
Line Number: 145
Where should I be looking to fix this problem?
OTHER than switching off displaying warnings ... but the site code IS currently
set to off, so that is
Hi all
I need some help to understand a code. The code is like this
$result = mysql_query($sSQL) or die(err: . mysql_error().$sSQL);
if($row = mysql_fetch_array($result))
{
foreach($row as $key =$value){ $$key=$value;}
}
I don't get the code from the
On 22.09.2012 12:34, Ashickur Rahman Noor wrote:
Hi all
I need some help to understand a code. The code is like this
$result = mysql_query($sSQL) or die(err: . mysql_error().$sSQL);
if($row = mysql_fetch_array($result))
{
foreach($row as $key =$value){
On 22-09-2012 12:34, Ashickur Rahman Noor wrote:
Hi all
I need some help to understand a code. The code is like this
$result = mysql_query($sSQL) or die(err: . mysql_error().$sSQL);
if($row = mysql_fetch_array($result))
{
foreach($row as $key =$value){
On Sat, 2012-09-22 at 13:13 +0200, Maciek Sokolewicz wrote:
On 22-09-2012 12:34, Ashickur Rahman Noor wrote:
Hi all
I need some help to understand a code. The code is like this
$result = mysql_query($sSQL) or die(err: . mysql_error().$sSQL);
if($row =
Hi Ashley
I am updating some one code. Thanks for the notify.
Thanks to all. Now I get that.
--
Dedicated Linux Forum in Bangladesh http://goo.gl/238Ck
2048R/89C932E1 http://goo.gl/TkP5U
Coordinator - Public Relation Cell, FOSS Bangladesh
On Sat, 2012-09-22 at 17:43 +0600, Ashickur Rahman Noor wrote:
Hi Ashley
I am updating some one code. Thanks for the notify.
Thanks to all. Now I get that.
--
Dedicated Linux Forum in Bangladesh http://goo.gl/238Ck
2048R/89C932E1
Op 22 sep. 2012 13:47 schreef Ashley Sheridan a...@ashleysheridan.co.uk
het volgende:
On Sat, 2012-09-22 at 17:43 +0600, Ashickur Rahman Noor wrote:
Hi Ashley
I am updating some one code. Thanks for the notify.
Thanks to all. Now I get that.
+1 to bad maintainability of the code.
As a suggestion, one better solution could be something like:
[...]
class Entity {
public $id;
public $name;
}
[...]
$entity = new Entity();
foreach [...]
$entity-$$key = $value;
[...]
And, of course, never ever use * in SQL queries.
Samuel.
Samuel Lopes Grigolato samuel.grigol...@gmail.com wrote:
+1 to bad maintainability of the code.
As a suggestion, one better solution could be something like:
[...]
class Entity {
public $id;
public $name;
}
[...]
$entity = new Entity();
foreach [...]
$entity-$$key = $value;
[...]
On 22-09-2012 16:19, Samuel Lopes Grigolato wrote:
+1 to bad maintainability of the code.
As a suggestion, one better solution could be something like:
[...]
class Entity {
public $id;
public $name;
}
[...]
$entity = new Entity();
foreach [...]
$entity-$$key = $value;
[...]
I disagree with you Ashley, some arguments can be found here:
http://sqlblog.com/blogs/aaron_bertrand/archive/2009/10/10/bad-habits-to-kick-using-select-omitting-the-column-list.aspx
Using explicit columns names in the select clause is, IMHO, at least a good
documentation for what is being
On Sat, 2012-09-22 at 12:12 -0300, Samuel Lopes Grigolato wrote:
I disagree with you Ashley, some arguments can be found here:
http://sqlblog.com/blogs/aaron_bertrand/archive/2009/10/10/bad-habits-to-kick-using-select-omitting-the-column-list.aspx
Using explicit columns names in the select
When I said that it’s a form of documentation, I was saying that I think it’s
better to know everything the script is using from the tables right on the SQL
command, without the need to inspect all the code, for example:
SELECT * FROM a;
$values = some_fetch_array_thing
[…] bunch of lines
Hi gang:
I know it's the Day after Friday, but I'm asking a off-topic question anyway --
sorry.
Normally, I teach a PHP class at the local college, but it got canceled (don't
ask why) -- now I'm teaching Java.
So, can anyone recommend a Java list that is similar to this list?
Cheers,
tedd
On Sat, Sep 22, 2012 at 01:05:51PM -0400, Tedd Sperling wrote:
Hi gang:
I know it's the Day after Friday, but I'm asking a off-topic question anyway
-- sorry.
Normally, I teach a PHP class at the local college, but it got canceled
(don't ask why) -- now I'm teaching Java.
So, can
18 matches
Mail list logo