Maq
Administrators-
Posts
9,363 -
Joined
-
Last visited
-
Days Won
3
Everything posted by Maq
-
If anyone wants to get their butts spanked by my clan please let me know.
-
Haha that dude was so hammered. Took him like 2 minutes to find his way off the floor.
-
This guy has to be more than just drunk.
-
I'm not sure I follow. You want to get what from where and do what?
-
I can't agree more. Mediocre players with teamwork will beat skilled players with no teamwork 9/10 times.
-
I finally saw it last week. It was a bit lengthy but a great movie.
-
That's because "mysql_select_db()" is a function. Remove the dollar sign.
-
Why can't you use a relative percentage rather than a static pixel value? Anyway, CSS supports browser conditionals, if there is no other alternative. If you Google or search these forums for, "CSS conditions", you should come across something useful. Make sure to post your findings for additional help and/or so others can reference it. I'm no CSS guru so maybe someone else can provide a solid solution, good luck.
-
Hehe, it's OK, that's what the modify button is for Any luck?
-
Is that a form of bumping?
-
Add the columns to your SELECT statement. All of this other code is unnecessary if you're just trying to extract more data from the database.
-
Ah yes, thanks for pointing that out . You can read/learn more in the manual: http://php.net/manual/en/language.operators.bitwise.php
-
In this circumstance it doesn't signify anything more than to be a separator for each array value. Generally the pipe '|' symbol is used for the logical operator 'OR'. Read more here: http://php.net/manual/en/language.operators.logical.php
-
I like that. Maybe add a little hash mark below it to signify code?
-
There's usually a load of 'basic' PHP questions in the PHP Coding Help section to help you learn: http://www.phpfreaks.com/forums/index.php/board,1.0.html Along with that, I would recommend following/completing some tutorials we have here on PHPFreaks: http://www.phpfreaks.com/tutorials
-
Hi wohlm, welcome to PHPFreaks. I'm sure we can assist you with your current and upcoming projects and I agree that you will learn a lot along the way.
-
After making changes to php.ini you have to restart apache, but just to be safe, you can add: ini_set ("display_errors", "1"); error_reporting(E_ALL); directly after your opening PHP tag, to temporarily turn error_reporting on max. Is your config file in the same directory you're including it from? Are you local? If so, you can try to login manually through a terminal.
-
If I recall correctly, Zanus installed a mod where each person who posted in a thread were listed along with how many posts they made. Would it be relatively easy to implement into this release candidate?
-
mysql_num_rows() expects parameter 1 to be resource, boolean
Maq replied to roughneck86's topic in MySQL Help
Hi roughneck86, Please surround your code with tags when posting code. If there is an error with your query then mysql_error will return FALSE, which is a boolean, and explains your error. You should echo "$sql_user_verify" to see what exactly the query is. While I agree with error handling, it's better to use [/m]trigger_error[/m] rather than totally killing the script by using or die. *Moving to the MySQL section as I believe there's something wrong with your query. -
You should really get into the habit of properly formatting and indenting your code. As of now, it's all over the place and makes everything exponentially harder to debug and maintain.
-
Insanity. I have to convince my boss to do the same! Yes, they do. My company tries to follow the same lackadaisical, but yet effective, management approach. At least this is true for the devs & QA, not sure about the other departments.
-
Although I strongly agree with this suggestion, if you're not at work it may be difficult for you to use this . My company has 80% and 20% time. 80% is obviously our main line of work while the remaining 20% are side projects that one would personally enjoy, but still relate to the company. So when I am bored or stuck, I will usually work on one of my side projects for a couple of hours to clear my mind and hopefully spark some ideas.
-
Hi westgate1, welcome to the forums. We look forward to assisting you in solving your problem and helping you with your jobs.
-
You get more classes as well.
-
It's also pretty ignorant to say, "why me all the time", because you don't know how many other people are warned or have their posts deleted. Like Daniel posted: Perhaps that why it's you "all the time" then. Deliberately and admittedly ignoring rules and guidelines will most likely result in what you're crying about.