Jessica
Staff Alumni-
Posts
8,968 -
Joined
-
Last visited
-
Days Won
41
Everything posted by Jessica
-
That doesn't explain why you want to change a name of a hidden input. And no my dog is not a rat.
-
I think you need to explain what your overall goal is, because that sounds like a really weird thing to do.
-
Your URL says id. Look at the example in the documentation. And think about it. If you go to a URL ending in id=5 and you want to get 5, what would you need to "GET"?
-
Your url is sending id, not ref. Try to think about it logically instead of simply claiming you don't understand it. If you read the documentation on $_GET it's pretty clear. http://www.php.net/manual/en/reserved.variables.get.php
-
Look in the manual under $_GET
-
Your SQL statement is only selecting id #1 because you explicitly say so.
-
Sounds like your first variable is a string. Do a var_dump on it to see. You can cast it to a float if needed.
-
You need to check if it's set before trying to use it. isset.
-
That's what I get for reading so late at night.
-
ORDER BY submit.species_id Change that.
-
Please put your code in the code tags.
-
One of the actual admins can correct me if I'm wrong but: PHP Freaks isn't a business. The goal is not to make money, and we don't have customers. This isn't a "company" that needs to be represented by PR monkeys. The purpose of PHP Freaks is to spread knowledge - and it's free to the users. The purpose of this forum is to help people solve their problems, and more importantly help them learn how to solve them. We donate our time. No one here makes a cent. You are not a customer. You are asking us to do something for you for free. Most of the people who come here and do that, do it without thinking about what those of us who do help have to do. There are plenty of help vampires, people who want it done for them, people who aren't willing to try on their own. They are more disrespectful to us than Christian asking why you'd complain about a free service is. You didn't suggest 4 things to improve. You criticized two things without offering anything useful, you criticized all of the staff based on one comment by one of the nicest people here, and then criticized our design, again, without anything useful. Your feedback is basically whining. I have to agree with Christian - why are you here? It's an HONEST question. If you think the site is so bad, why are you here? If you can answer it, you might see what is GOOD about PHP Freaks, and start to understand why the rest of us are here.
-
If it's your final project, you should be able to do the work.
-
Srsly. http://lmgtfy.com/?q=ajax+loading+gif
-
Yeah, ask your professor.
-
You fixed it *how*?
-
"num1 . num2" will always be a string, you just wrote a string. That's like asking if "bob . john" is numeric. Never.
-
Best way to deal with item with different sizes available
Jessica replied to Mal1's topic in MySQL Help
The tables don't look *that* bad. It makes me wonder what your guy would have done if he has trouble with understanding the current structure. :/ -
Adding a Uncertain Amount of Parameters to a Function
Jessica replied to timothyarden's topic in PHP Coding Help
Uhm, what? -
That doesn't mean $click is not 0 at that point.
-
Adding a Uncertain Amount of Parameters to a Function
Jessica replied to timothyarden's topic in PHP Coding Help
You could send the function an array, or use func_get_args -
You'll want get_var() I think. Give your count an alias.
-
http://codex.wordpress.org/Class_Reference/wpdb Using the $wpdb Object Methods in the wpdb() class should not be called directly. WordPress provides a global variable, $wpdb, which is an instantiation of the class already set up to talk to the WordPress database. Always use the global $wpdb variable. (Remember to globalize $wpdb before using it in any custom functions.) The $wpdb object can be used to read data from any table in the WordPress database (such as custom plugin tables), not just the standard tables that WordPress creates. For example to SELECT some information from a custom table called "mytable", you can do the following. $myrows = $wpdb->get_results( "SELECT id, name FROM mytable" );