Started in 1980 with BASIC on a Sinclair ZX80. Various flavours of BASIC later, went to Uni and did a final year project using a dynamically assigned 48 processor array (Transputers - who remembers them?) to calculate fractals, stint in support, LAMP stack coder from 2004, never looked back.

Kids nowadays eh? They've got it easy! GUI? I'd have killed for a GUI! We had to code on clay tablets

1d
comment PHP search MySQL table with dropdown box
If the DB is being connected to, what is the output of your query? Dump each row to a log file as you retrieve them (CSV/print_r/var_export) so you can check that the data is actually sensible. If you're using JavaScript, check for errors and log the output there to the console
1d
comment How to generate a PDF file with get content from SQL query?
As @halfer said, we need something to work with. We're not psychic and only the Force is only strong in some of us
1d
comment PHP search MySQL table with dropdown box
Are any errors shown? What SQL are you using? What is the database schema you're accessing? Do you get some output but the wrong output? Posting a block of code without any explanation of what should happen (and no description of what information should be coming back from your functions) is not helpful. Log output from all your functions into a file so you can narrow down where the problem lies
2d
comment PHP spawns 20-30 sessions per second then stops
I upvoted for your honesty with the DDoS. And I laughed - I can imagine myself doing something similar. Thank you
2d
comment PHP PDO Display Formatted Error To User
The OP hasn't mentioned an auto-increment field. He's just got a composite key in the table set as UNIQUE and wants to capture the error when a duplicate value is created thre.
Feb
26
comment Yahtzee Php Code 3 of a Kind
I would have done a loop on $_SESSION: foreach (array('valueofdie1','valueofdie2','valueofdie3','valueofdie4','valueofdie5','va­lueofdie6') as $field) { $diceCount[$_SESSION[$field]]++; }
Feb
26
comment php code to increment date on every loop runs
The question is not the problem. The fact that there has been a glut of them over the past few weeks is. All use the same DB access functions, all have the DB schema, all show a "That's solved. How do I do the next bit?" transition etc. The main thing is, if you come to SO for every little problem you hit, you're never going to develop your problem solving skills. Personally, I think dev work is 80% problem solving, 10% putting that into practice. and 10% adding bits around the outside to make it work a bit better
Feb
26
comment Get all the days of the interval dates
What have you tried so far?
Feb
26
comment selecting maximum value from the table and adding
I'm not the downvoter but all the extra quote marks in the mysql_connect and mysql_select_db functions aren't required. The variables in question are already strings and the functions will interpret them as such. Quote marks are only really useful in this instance where a variable contains a numerical value and you want to cast it (lazily) to a string
Feb
26
comment php pdo code to get result in array and extract or slice part of it
Get together with your college course partners. There's five or six asking similar questions on SO at the moment and they're all related to books, coupons, receipts etc
Feb
26
comment php code to insert value with custom code using for loop
Can I recommend you team up with all the other students on your course who are asking exactly the same questions? At last count, there are four people asking questions all related to this and using the same insertRow function. Learning to develop code involves learning to fix problems but coming to SO for each stage of a problem (as some of your comrades are) is pointless - you learn nothing
Feb
26
comment php code to increment date on every loop runs
I see there are a lot of questions coming through all related to dates, books, receipts and coupons. I'm guessing they are all related to a college course of some form so I assume that the tutor recommended StackOverflow as a good source of information but neglected to tell their students that it's not a "Coders 4 Free" site
Feb
25
comment Incorrect parameter count in the call to native function 'SHA1'
If you run the generated $update query on the database directly, it should show the numbers of rows updated. As there is only one criteria the user id), if 0 rows are updated, it would mean that the user ID doesn't exist in the table. Run a quick query along to check for its presence: select * from user where user_id='asd' )replace asd with the user you're trying to update)
Feb
25
comment How can i store mysql databases in linux using shell scripting
Introduce requiredRow and count variables to the script. Increment count on each iteration through the loop and compare it to the requiredRow value. Use requiredRow=$((requiredRow+1)) to perform the increment.
Feb
24
comment Incorrect parameter count in the call to native function 'SHA1'
OK. As it's a string you need to put single quotes around the $_POST['user_id'] bit in the WHERE clause. Also, I noticed there was a comma after postcode = '$_POST[inputpostcode]' so remove that too (MySQL is expecting another field that it has to retrieve but is throwing an error as the WHERE clause appears)
Feb
24
comment php code to create dynamic rows and insert in database
possible duplicate of php code to generate multiple rows with custom code
Feb
24
awarded Citizen Patrol
Feb
24
answered php code to create dynamic rows and insert in database
Feb
24
answered How can i store mysql databases in linux using shell scripting
Feb
24
comment How can i store mysql databases in linux using shell scripting
The OP wants to do this from a shell script without going into mysql itself
1 2 3 4 5