php-general Digest 29 Dec 2009 03:25:03 -0000 Issue 6511

2009-12-28 Thread php-general-digest-help
php-general Digest 29 Dec 2009 03:25:03 - Issue 6511 Topics (messages 300712 through 300716): Re: 404 page 300712 by: navneet sharma 300714 by: Thijs Lensselink 300715 by: Gautam Bhatia Re: Question Answer based report. 300713 by: navneet sharma Re: Classes

RE: [PHP] 404 page

2009-12-28 Thread Gautam Bhatia
Hey, There is one more way of going about it, Try using Absolute URL's instead of relative ones' , If you are on your local computer using wamp for testing codes and all, don't think you need to use putty :) , if you are try to login to your local pc from another system, you can enable telnet

[PHP] Re: Classes and Functions

2009-12-28 Thread Daniel Kolbo
Nathan Rixham wrote: Daniel Kolbo wrote: Hello, Is there a way to see what objects and functions a script loaded/required/used? I could recursively loop through the globals, but if objects were unset, then i may miss some. I could make a 'tracking' object and every time i load/include a

[PHP] Multiple Inheritance Needed in OOP?

2009-12-28 Thread Daniel Kolbo
Hello, Okay so PHP designers explicitly decided against multiple inheritances, but aren't there legitimate needs for multiple inheritance in OOP? For example, consider the following three classes (A,B,C) with the following properties (a number is a distinct property or method). A: 1, 2, 3 B: 1,

[PHP] MySQL Increment/Decrement

2009-12-28 Thread Ben Miller
I hope this isn't a bone-head question - Is there a MySQL query that will increment/decrement the value in an integer column with a single query - in other words, I don't have to run a SELECT query to get the value, add/subtract to/from the value, and then run an UPDATE query to store the new

Re: [PHP] MySQL Increment/Decrement

2009-12-28 Thread Robert Cummings
Ben Miller wrote: I hope this isn't a bone-head question - Is there a MySQL query that will increment/decrement the value in an integer column with a single query - in other words, I don't have to run a SELECT query to get the value, add/subtract to/from the value, and then run an UPDATE query

Re: [PHP] MySQL Increment/Decrement

2009-12-28 Thread Bipper Goes!
UPDATE SQLTABLE SET count = (count+1) WHERE PromoID=1 Is this valid for your issue? I have no way of testing or toying On Mon, Dec 28, 2009 at 8:54 PM, Ben Miller b...@tottd.com wrote: I hope this isn't a bone-head question - Is there a MySQL query that will increment/decrement the value in

Re: [PHP] MySQL Increment/Decrement

2009-12-28 Thread Eric Lee
Ben It seems that you can just update the column with a update query like this, update table set field = field + 1 where some condition This might be the thing you need. Eric On 12/29/09, Ben Miller b...@tottd.com wrote: I hope this isn't a bone-head question - Is there a MySQL query

Re: [PHP] Multiple Inheritance Needed in OOP?

2009-12-28 Thread Larry Garfield
On Monday 28 December 2009 9:45:03 pm Daniel Kolbo wrote: Hello, Okay so PHP designers explicitly decided against multiple inheritances, but aren't there legitimate needs for multiple inheritance in OOP? For example, consider the following three classes (A,B,C) with the following properties

[PHP] Merry Xmas and Happy New year

2009-12-28 Thread Gautam Bhatia
Hey Guys, Have a great new year and merry Christmas. Regards, Gautam Bhatia mail2gautambha...@gmail.com