CTphpnwb's Profile User Rating: *****

Reputation: 3273 Guru
Group:
Mentors
Active Posts:
11,576 (4.49 per day)
Joined:
08-August 08
Profile Views:
69,238
Last Active:
User is offline Yesterday, 11:29 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Mac
Favorite Browser:
Safari
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Toyota
Dream Kudos:
350
Expert In:
PHP

Latest Visitors

Icon   CTphpnwb has not set their status

Posts I've Made

  1. In Topic: B*h PHP - SQL How To Colomn

    Posted 29 Aug 2015

    Yeah, you're not helping yourself.

    You need to understand that if you posted your code as an absolute beginner and had precise, reasonable questions about it, that would be one thing. But to post such poor code as someone being paid professionally, and to ask to be spoon fed answers is insulting to the rest of us who work at this.

    Do you insult people in real life and then ask them for help?
  2. In Topic: B*h PHP - SQL How To Colomn

    Posted 29 Aug 2015

    Quote

    You say that you cannot post your code because people are paying you for it (really?).

    OMG!
    Not only should you not be paid for this code, you should be required to pay your client for the experience, as well as some one who knows what they're doing for training.

    If you keep going like this, what's going to happen is that somebody else is going to get stuck cleaning up the mess you're creating.

    As I see it, you have two choices:
    • Buckle down and learn to code. (I for one will not help you at all from this point on, unless I see significant effort on your part.)
    • Get out of the business of writing code.
  3. In Topic: B*h PHP - SQL How To Colomn

    Posted 29 Aug 2015

    View Posteralpcicekdagi, on 29 August 2015 - 11:03 AM, said:

    Only 1 problem left. How can i do select the guy?
    <?
    	if ($_SESSION['kullaniciadi'])
    	{
    	$sorgu_oyuncuadir=mysql_query("SELECT * from skor WHERE oyuncuadi='".$oyuncuadi."'");
    
    

    No, there are many problems. Worst of all, you're using mysql functions that are insecure and deprecated. In fact, they're completely removed from PHP 7.
  4. In Topic: B*h PHP - SQL How To Colomn

    Posted 29 Aug 2015

    Deprecated MySQL functions are simpler to use (not counting all the sanitizing you need to add) than PDO or MySQLi prepared statements, but far less secure. That's why they've been deprecated. If you're just learning PHP you should start with
    http://www.dreaminco...duction-to-pdo/
    or
    http://php.net/manua...-statements.php
    When dealing with old code that uses deprecated MySQL functions you should replace them if possible. If it's not possible, your experience with PDO or MySQLi will benefit you when dealing with MySQL functions.
  5. In Topic: hashtag art

    Posted 28 Aug 2015

    This isn't really a C or C++ question. It's a simple logic problem. You want to print five spaces and one # on the first line, then four spaces and two # on the second, and so on. The total number of characters is always six, so what do you think your inner loop should look like? 1Maybe you want to use an if statement in there somewhere?


    1 Note that you don't need an if statement. You can do it with three loops or two with an if statement.

My Information

Member Title:
D.I.C Lover
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Location:
Florida
Interests:
Programming.
Rock Climbing. A bad day of rock climbing is still a good day.
Programming Languages:
C++
PHP
Javascript
HTML, CSS
Dabble in Objective C, Swift

Contact Information

E-mail:
Click here to e-mail me
Website URL:
Website URL  http://

Comments

Page 1 of 1
  1. Photo

    CTphpnwb Icon

    31 Mar 2010 - 18:50
    Please post programming questions in the appropriate forums.
Page 1 of 1