Search found 3 matches
- Tue Dec 28, 2010 9:38 am
- Forum: PHP - Code
- Topic: Attached PHP, mysql, won't run twice
- Replies: 3
- Views: 183
Re: Attached PHP, mysql, won't run twice
I've figured out the problem. The code would only run once with the same values under the same session. After inserting session_start() and session_destroy() at the beginning and end of the actual edit code it works just fine.
- Tue Dec 28, 2010 8:59 am
- Forum: PHP - Code
- Topic: Attached PHP, mysql, won't run twice
- Replies: 3
- Views: 183
Re: Attached PHP, mysql, won't run twice
It was just an idea at the time. I will probably end up switching to a form, however I would still like to know why it isn't running every time a change is made. Do you have any ideas?Jonah Bron wrote:If you ask me, it doesn't seem like a good idea to save data onBlur. What's wrong with a normal form?
- Wed Dec 22, 2010 11:11 am
- Forum: PHP - Code
- Topic: Attached PHP, mysql, won't run twice
- Replies: 3
- Views: 183
Attached PHP, mysql, won't run twice
:?: I'm working on a member modification page that works off of the javascript "onblur" method. Ideally the way I want it to work is when a person leaves the field they were in the second php script runs and returns to the page a value to the page. Right now it does just that with one prob...