Maq
-
Posts
9,363 -
Joined
-
Last visited
-
Days Won
3
Posts posted by Maq
-
-
I was going to point that out but on my system (mysql 5.5.29) it doesn't complain about the space after the RAND, only for COUNT.
-
Hi, welcome to the community. The head-first series are usually a pretty good start.
-
Hi and welcome to the community.
-
Spam?
-
Line #173 - You have what looks to be a misplaced "" there.
-
So I was just hired on at this company and the way they program is on a server using vi. Do you guys like this way of programming?
No. That sort of development process omits one of the main benefits of working locally, having developers customize & optimize their own development environments.
We are using svn which seems to me to be old and outdated. Do you like Git or SVN?
It depends on what the needs are. They may accomplish the same end goal, but their implementations and usage are different.
-
Before you go and start modifying php.ini settings (which are there for a reason) you should probably profile your code and see what's actually exhausting the max timeout.
-
cabbie, please be conscious of what section you are posting in, this is the wrong one. Moving to PHP Help.
-
Yes, from the manual - http://php.net/manual/en/language.operators.string.php
-
To my knowledge MySQL DOES NOT keep a log of deletions by default. If you don't have a backup then I'm afraid those records are gone.
-
mysql_select_db() takes a String not a constant. If that doesn't work tell us what happens, errors, etc.
-
-
We need more information. What happens? Are there errors? Do you have error reporting turned on?
-
Can you manually connect via command line?
-
^ Pretty much what jesi said. How is this being submitted? I would turn on a debugging tool that shows you network requests to see what's going on.
-
POST YOUR CODE.
-
Post what you have already.
-
You can check in /var/log/apache2. You can also look in your php.ini file to and check the value of "error_log". If you don't have access to either, try printing out phpinfo(); and look for the value.
-
Check the error logs? Did something change? Blank pages are usually an indication of a fatal error not being handled properly.
-
You need to post this in the beta testing section: http://forums.phpfreaks.com/forum/46-beta-test-your-stuff/
Be sure to read this before posting there: http://forums.phpfreaks.com/topic/139330-rules-must-read-before-posting/
-
Congrats!
-
Your query is invalid:
SELECT * FROM '%stocktable%' WHERE 1
What exactly are you trying to do?
-
This is my table, I didn't make report_id 'unique' or 'primary', so what gives?
Yes you did:
PRIMARY KEY (`report_id`)
-
Use a decent IDE that automatically imports only the used classes, then .* is longer longer a concern.
Update problem
in PHP Coding Help
Posted
1. Be conscious where you start topics. This is the wrong section, moving to PHP Coding Help.
2. When you ask a question, you need to provide pertinent information (errors, what happens, doesn't happen, etc.).
3. Post the relevant/problematic code. You will receive less help with code/file attachments.