Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
What type of object is $wpdb? Where does it get instantiated?
-
I'm not seeing anything related to it on Wordpress docs, what version?
-
There should be some equivalent of fetch_row or fetch_assoc to get the rows you selected. I'm moving this to Third Party since you need help with WP functions.
-
Not quite what I meant. Go find the code for query() and see what it returns; Post that function here.
-
what does $wpdb->query() return?
-
It looks like OP is using a wrapper for his queries that should handle making prepared statements. Going back to mysql_query and real_escape_string will be LESS secure, if he's using PDO or mysqli.
-
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
Might as well start out learning PDO, even better -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
I don't think you need the () either. -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
Okay post the ACTUAL code for lines 23-27 or so. That's a basic syntax error. Your problem keeps changing. -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
And what happens when you use the post one? -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
http://php.net/manual/en/reserved.variables.post.php -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
You said you tried using the $_POST array, and when I said post what you've tried, there's nothing there. -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
If you post what you've actually tried you might get more useful help. -
Creating mySQL Database through PHP, pulling DB name from text box?
Jessica replied to deltahawk's topic in PHP Coding Help
... $_POST. A basic google search should have revealed plenty of tutorials. -
It's back now
-
You're letting just anyone run SQL queries????
-
Now the mobile site isn't loading at all. I waited a few hours and got home and checked on the computer and the forums load, but still nothing on the phone.
-
You keep doing '2013-02'01' Which should in fact create a syntax error.
-
Help! No Experience in PHP and setting up PHP paid to click site.
Jessica replied to ben027's topic in PHP Coding Help
You should probably start with learning the basics, or hiring someone who knows what they're doing. -
I just went right into it. My coworkers all got bar stools or raised chairs, and I decided not to. My desk has half raise and half normal so if I want to sit down I just move the laptop over there. Wear good shoes. The first thing to hurt will be your feet.