Duckington's Profile User Rating: -----

Reputation: 170 Stalwart
Group:
Active Members
Active Posts:
605 (0.32 per day)
Joined:
12-October 09
Profile Views:
9,914
Last Active:
User is offline Aug 20 2014 05:18 AM
Currently:
Offline

Previous Fields

Country:
GB
OS Preference:
Windows
Favorite Browser:
Opera
Favorite Processor:
Who Cares
Favorite Gaming Platform:
PC
Your Car:
Ford
Dream Kudos:
0

Latest Visitors

Icon   Duckington has not set their status

Posts I've Made

  1. In Topic: help with php and mysql databases with mysqli

    Posted 16 Aug 2014

    is it? Huh, i've been saying prepared for years.
  2. In Topic: help with php and mysql databases with mysqli

    Posted 16 Aug 2014

    Firstly you should not use the mysqli or the mysql functions, they are old and not very secure at all.

    You should be use Prepared Data Objects (PDO): http://code.tutsplus...cess--net-12059

    --

    However, the reason that specific code you posted isn't working is I imagine because you do not have single quotes around the variables in your query. E.g.
    VALUES('$bizname', '$address', '$lat', '$long', '$type')
    


    If in doubt with an SQL error, print out the SQL it is trying to run and run it in MySQL Workbench or PHPMyAdmin, or whatever tool you want.

    e.g.

    $str = "INSERT INTO markers (name, address, lat, lng, type) VALUES($bizname, $address, $lat, $long, $type)";
    echo $str;
    
    


    Still though, that's a insecure way to do it, and you really should look into that PDO link I gave you.
  3. In Topic: Seeking Passionate Web Developer

    Posted 12 May 2014

    I am a web developer, and many a woman would agree I am extremely passionate. I think we could come to some...arrangement. :alucard:
  4. In Topic: What Are You Working On Today?

    Posted 12 May 2014

    The data is defintely not in the database, nor has it ever been according to the various logs, backups, etc...

    If there is a bug then it's at the point at which the data is being saved, however on several occasions I've been told that they have checked after saving it and the data defintely had saved, but then when I check the backups and logs, it's nowhere to be found.
  5. In Topic: Video Games Currently Working On

    Posted 12 May 2014

    I am taking a week off from computer games. And I mean it this time.

My Information

Member Title:
D.I.C Addict
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Years Programming:
3
Programming Languages:
PHP

Contact Information

E-mail:
Private

Friends

Comments

Page 1 of 1
  1. Photo

    Tom_Leonardsson Icon

    25 Apr 2012 - 07:17
    Die.
  2. Photo

    e_i_pi Icon

    03 Apr 2012 - 15:20
    Hey, what's the URL of the game you're making? I wouldn't mind checking it out
  3. Photo

    hiddenghost Icon

    03 Mar 2012 - 06:01
    I never check the comments on my profile. What thread of mine broke the forum? :)
  4. Photo

    cbz_extreme Icon

    25 Dec 2011 - 03:49
    Hello!!!
Page 1 of 1