![]() |
| ||
| script running without errors, but not doing tasks Hi, I'm very new to PHP. Any help is appreciated. I wrote a script that should create a flat file and store information in the flat file that was entered in a form on an earlier page. The script runs successfully and with no errors, and creates the file with the correct name (so my variable values are being passed ok by $_POST), but when I look at the file, nothing was written to it. It was only created and named. Here's the script... <?php also, if an existing file name is used, it is not stopping the script to echo "The accountname $accountname already exists." Thanks in advance for any help. I'd look it up on my own, but I'm not getting any errors to google and I can't find a good tutorial for what I'm trying to do. - John |
| ||
| Re: script running without errors, but not doing tasks try these changes...I put some comments where I thought they might help you understand what I changed... <?php |
| ||
| Re: script running without errors, but not doing tasks hali - frickkin - louia!!! It works! Thank you! Even better, the comments you made make sense to me now. You are awesome! :icon_cheesygrin: |
| ||
| Re: script running without errors, but not doing tasks glad to be of assistance! |
| All times are GMT -4. The time now is 2:00 am. |
Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC