Zip Search Hello All, Can anyone recommend a good open source zip code search application and database? Thanks, Jack ... 16 Apr 2010 14:00
class attributes and __construct I think this is probably going to end up as one of those coders' preference type of things, but I was wondering what was considered the general best approach. When creating a class, you can define default values for the object in the class itself, and within the __construct function. Now, while I see the advanta... 15 Apr 2010 23:41
changing NULL behavior in PHP arithmetic Hi All, Is there an option in PHP to change the behavior of NULL in PHP functions ? Now PHP uses NULL as a 0 (zero) for arithmetic, for example: NULL + 6 = 6 NULL * 6 = 0 NULL / 6 = 0 6 / NULL = Division by zero What I need is the same behavior as #N/A (or =NA()) in Excel, where: #N/A + 6 = #N/A #N/A * 6 =... 17 Apr 2010 02:08
problems with feature '--with-pdo-oci' RPM (spec) Hi, Good morning for all, I'd like to understand why when i try to install the package 'php52-pdo-oci' generated by 'rpmbuild -ba php52.spec' with feature inside of file , doesn't work and returns the follow error : # rpm -qpl /usr/src/linux/RPMS/x86_64/php52-pdo-oci-5.2.12-2.fc11.x86_64.rpm /etc/php.d/pdo_... 14 Apr 2010 17:50
Array differences I have the following scenario: $array1 = array("12", "34", "56", "78", "90"); $array2 = array("12", "23", "56", "78", "89"); $result = array_diff($array1, $array2); print_r($result); This returns: Array ( [1] => 34 ... 14 Apr 2010 14:28
Basic switch statement I'm new to programming, drive a truck in the day, now taking night courses to get a better job for my family. Please bear with me if this is a dumb question, I don't have much experience. I'm taking a night class in HTML and PHP and can't figure out a problem and can't find the answer in the book for the course ... 16 Apr 2010 14:00
Saving form data into session before leaving a page On 13 April 2010 15:20, Merlin Morgenstern <merlin_x(a)fastmail.fm> wrote: Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressing the submit button? Some members leave the page and ... 14 Apr 2010 05:31
Saving form data into session before leaving a page Hello everybody, I have form where users enter data to be saved in a db. How can I make php save the form data into a session before the user leaves the page without pressing the submit button? Some members leave the page and return afterwards wondering where their already entered data is. Any ideas how ... 13 Apr 2010 12:51
PHP & MYSQL sorting Simple idea I thought. I need a webpage that displays a drop down list of number with a checkbox on the side that when checked will select the database again only in descending order. Small database with maybe 100 records. The user can click the submit button when they have located the correc... 14 Apr 2010 14:28
need help w/ unfamiliar syntax Hi all, I've wasted two days trying to find this in the documentation. Google is no help here either; they only index text. While looking at some code using objects I came across this: $this->{$spec} The example works with or without the curly braces, but I know they aren't there for just for deco... 11 Apr 2010 23:26 |