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

Reputation: 3227 Guru
Group:
Mentors
Active Posts:
11,458 (4.49 per day)
Joined:
08-August 08
Profile Views:
68,518
Last Active:
User is offline Today, 09:14 AM
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: How to define a vector with variables and arrange in 3x3x3 grid

    Posted 1 Aug 2015

    View PostMrDropsy, on 31 July 2015 - 10:34 PM, said:

    ...then asks for the 3x3x3 grid using std::vector and the struct i previously made.

    Well, line 20 of my code does that, but you really should post the entire problem as it's been presented to you.
  2. In Topic: Beginner's math function proproblem | does not work

    Posted 1 Aug 2015

    If you mean development environment/compiler: Xcode.
  3. In Topic: Can i select just group of data in mysql?

    Posted 1 Aug 2015

    I think the OP meant to say that they're looking for multiple teams from within the same league. This is another reason it's so important to show all relevant code: the combination of code and a description of the problem gives us a more complete picture.

    View PostDocNet, on 01 August 2015 - 10:10 AM, said:

    Now i find solution, there was sub_id what is unique for both feeds.

    Thanks guys however.

    That's too bad. Now your code will remain vulnerable. Let's hope you're not back here soon asking how to recover your site and its data.
  4. In Topic: Can i select just group of data in mysql?

    Posted 1 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.

    Your code is highly insecure, so after switching to prepared statements but not before, read up on limit and group by.
  5. In Topic: Beginner's math function proproblem | does not work

    Posted 31 Jul 2015

    Here's the output I get with that code:

    Quote

    Enter money:Enter year:Enter rate:100 1 .05
    sum=105.00

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