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

Aug
16
awarded Yearling
Aug
6
comment Pass foreach loop in function
Do the old Reverse-a-roo for the same result
Aug
5
comment Text import error
Please! Close this question! you asked it almost 12 months ago and it is just sitting here festering.
May
30
answered PHP : Find from tab delimited text file without while loop
May
21
comment php code needed for my uploading file page
Welcome to Coders R Us. We're currently experiencing difficulties with your problem as we have no idea what you've tried. Please come back when you've given us some idea of what you've already tried
May
14
comment Advice on how to store/manage files for entries in DB
Use a subfolder for each user ID. within each folder, you can have separate folders for each file type if you like - it's a matter of personal choice. One thing I would recommend is to adjust the filename so that there is a timestamp (e.g., cert.pdf is renamed to cert_20141405115425.pdf). This will allow you to have multiple (e.g.) certificates and make the filenames easily adjustable for download to a client machine (if required). Don't make the file store server publicly accessible (i.e., from the web) - Web & DB servers only
May
14
answered Advice on how to store/manage files for entries in DB
May
8
answered sql current month query
Apr
30
answered php 2000 unique random numbers between 1000 and 9999
Apr
30
comment Delete Multiple Checkbox with PHP
Aamir - the mysql functions will be present for a while but who knows how long that will be. I'm in the same boat - most of the code I look after is legacy and littered with mysql_ statements so it's going to take quite a while for me to sort out my systems. Wish me luck
Apr
29
comment Delete Multiple Checkbox with PHP
Aamir - bad idea. The mysql function set has been deprecated andm as such, should not be used. The fact that OP has attempted to use mysqli means that the code is future-proof for a while at least. I think OP is fairly new to PHP and MySQL so telling him to revert to an un-supported feature is not good for his ongoing development
Apr
29
comment Delete Multiple Checkbox with PHP
The mysqli connection is defined as an object rather than a resource. This will not work
Apr
29
comment Delete Multiple Checkbox with PHP
You're still using the mysqli_query function wrong. You should be using something like $result=$db->query($sql); as, I'm assuming, the connect.php file creates a new mysqli object. Look at the query directly below include('connect.php'); as an example
Apr
29
revised Delete Multiple Checkbox with PHP
added 616 characters in body
Apr
29
answered Delete Multiple Checkbox with PHP
Apr
29
answered PHP - building URL's and parameter values in an array
Apr
28
comment PHP command line version is different from apache
No prob @Lisa. Glad you got it working OK. It's worth keeping the config.nice file from the source code folder for future reference (especially as PHP 5.5.11 is now available). You can just copy the config.nice file to a different PHP source folder, run it and it will configure a new version with all the options you used in the earlier version. It saves a hell of a lot of typing. I've found that they are pretty compatible between versions too (i.e. 5.4.x -> 5.5.x). Actually, you probably already know this but it's always worth mentioning just in case someone doesn't)
Apr
28
comment PHP command line version is different from apache
The .so file is the Apache mod file. The other file (hopefully called just php) is the binary for command line use. Did you actually run the command to install PHP? Simply compiling it will leave the resultant files in the source folder. I know when I compile PHP on Linux, a make install command is required to actually get the files into the correct locations. Checking the INSTALL file with the source code says to use the Unix installation guide
Apr
25
answered PHP command line version is different from apache
Apr
25
comment Why getmypid() returns same id in browser but different in Windows CMD
Has the page been cached on the browser or server?
1 2 3 4 5