nerdthon123's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Members
Active Posts:
23 (0.02 per day)
Joined:
14-December 09
Profile Views:
1,091
Last Active:
User is offline Aug 21 2012 07:01 AM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Intel
Favorite Gaming Platform:
XBox
Your Car:
Ford
Dream Kudos:
0

Latest Visitors

Icon   nerdthon123 working on a telesupport helpdesk project

Posts I've Made

  1. In Topic: PDO::bindParam

    Posted 18 Mar 2012

    public function getInfo($field)
    { 
       $DBH = $this->_dbh; //easier to type lolz
       $result = ''; // Variable that will be returned
       $STH = $DBH->prepare("SELECT * FROM contact WHERE email = ?");
       $STH->execute(array($this->_contactEmail));	
    		
       $STH->setFetchMode(PDO::FETCH_ASSOC);
       		
       while ($row = $STH->fetch()) {
          $result = $row[$field];
       }
       
       if ($field == 'password')
          return md5($result);
       else
       return $result;
    }
    
    
  2. In Topic: PDO::bindParam

    Posted 11 Mar 2012

    RESOLVED
  3. In Topic: Parsing strings into an array

    Posted 11 Mar 2012

    Look up varargs in java
    Like here
  4. In Topic: Making a magic8ball program with a switch statement

    Posted 11 Mar 2012

    To answer your question I tell you that when a the compiler sees return, it hops out of that method its in. However this would be an easy fix, but unfortunately you have 2 return statements in the same method. I'll give you a hint of how to finish this program, your going to need to split your methods up. This whole code seems a little bit messy, and perhaps you should go back to the drawing board.
  5. In Topic: How To Switch Pages With Zend Framework

    Posted 17 Feb 2012

    I guess the question is how to get from page 1 to page 2.

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
New Providence, NJ
Interests:
All Computers
Full Name:
Evan Hoefling
Years Programming:
2
Programming Languages:
PHP
Java

Contact Information

E-mail:
Click here to e-mail me

Friends

nerdthon123 hasn't added any friends yet.

Comments

nerdthon123 has no profile comments yet. Why not say hello?