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

Dec
1
awarded Autobiographer
Nov
13
comment Toggle boolean in MySQL / Oracle Database
It should be modulo 2. Modulo 1 always results in a 0 in your example
Nov
13
comment PHP function for auto increment with changed value
Is $_GET['user_id'] an array or does it come through as a single value on each request? If the former, simply compare the current value against the previous and increment/reset as required. If the latter, you'll need to store the value somewhere (DB?) and compare it.
Oct
24
comment PHP form - removal of items before send
There's a problem with the first code snippet. On the first empty field, the $email_body variable is reset to an empty string
Oct
21
comment Jquery ajax with PHP filter_input function
Add some debugging code to the PHP to show what it is actually receiving. If you're trying to filter something that isn't present, or is in the wrong format, then you're going to run into problems. Create some logging functions in PHP which you can use to log the result of var_export($_POST,true) then go from there
Oct
14
comment MySQL call that combines two Tables with several indentical rows
The var_export command will output valid PHP code. If you do something like $c=var_export($array3,true), $c will contain the string Array(SOME, SOME, Array(ONE, TWO, THREE, FOUR, FIVE), SOME) (albeit with some formatting changes)
Oct
14
revised MySQL call that combines two Tables with several indentical rows
Corrected variable names in the array_unique block> Also added a way of using array_values
Oct
14
answered MySQL call that combines two Tables with several indentical rows
Oct
8
comment How would I get the URL after my own URL?
What have you tried so far? What format can the URLs take etc?
Oct
6
answered change auto_increment within same table using subquery mysql
Oct
6
comment change auto_increment within same table using subquery mysql
This seems like the thing you need to do. It looks like you want to use an external app to perform what you want
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
24
awarded Autobiographer
Sep
4
awarded Yearling
Sep
4
awarded Supporter
Aug
16
awarded Yearling
Aug
6
comment Pass foreach loop in function
Do the old Reverse-a-roo for the same result
1 2 3 4 5