Search found 9 matches

by blobman
Thu Jul 20, 2006 2:55 pm
Forum: PHP - Code
Topic: php script keeps submitting 2 rows into database
Replies: 4
Views: 691

The buttons werent in a form, they were just links. They linked to a page new.php and delete.php that just getnerated new entries or moved old ones to the trash. but it seems when i turned that button into text, the double submit didnt happen anymore. Heres the weird thing The form button some times...
by blobman
Wed Jul 19, 2006 8:20 pm
Forum: PHP - Code
Topic: php script keeps submitting 2 rows into database
Replies: 4
Views: 691

OK!!! I FIGURED IT OUT!!! BUT WHY!!!!!!!!!!!!!!!!!!!!!!!!!! Heres the thing. I had a form, but I also had a new button right next to it. I used a form button as my html button. <input type="button" name="submitButtonName" /> I put a link around that button (and put a lable in it)...
by blobman
Wed Jul 19, 2006 8:15 pm
Forum: PHP - Code
Topic: php script keeps submitting 2 rows into database
Replies: 4
Views: 691

php script keeps submitting 2 rows into database

I am having trouble with mysql and php. The mysql is fine, when I insert a row in php my admin it works. In my php script, I made a script that works fine, but I also have a script that just runs ONCE. For some reason the query is being inputted twice or something. I've tried everything. Has anyone ...
by blobman
Fri Nov 04, 2005 8:47 pm
Forum: PHP - Code
Topic: Horrible Email HTML troubles
Replies: 9
Views: 842

Wow, that worked

I though I had it withou the \r\n at one point

Well thank you very much for the assistance, this was driving me crazy.

Have a good weekend,
Cameron
by blobman
Fri Nov 04, 2005 5:51 pm
Forum: PHP - Code
Topic: Horrible Email HTML troubles
Replies: 9
Views: 842

feyd | Please use and tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color] X-NAS-Language: English X-NAS-Classification: 0 X-NAS-MessageID: 96 X-NAS-Validation: {4122194F-EB3B-4CDD-8248-92C555CF49A9} Is what...
by blobman
Fri Nov 04, 2005 12:41 am
Forum: PHP - Code
Topic: Horrible Email HTML troubles
Replies: 9
Views: 842

Thanks Charles, I will check that out
by blobman
Thu Nov 03, 2005 7:12 pm
Forum: PHP - Code
Topic: Horrible Email HTML troubles
Replies: 9
Views: 842

So there is no fix then?
by blobman
Wed Nov 02, 2005 11:19 pm
Forum: PHP - Code
Topic: Horrible Email HTML troubles
Replies: 9
Views: 842

$headers .= "Content-Type: text/html\r\n"; was the header, along with some reply to stuff. Then I pretty much had: message = " Sent from: $yourname <br> (at first I used \n, but then when using the html that wouldnt work) Link: $link \<br> etc etc etc" I don't have the exact scri...
by blobman
Wed Nov 02, 2005 10:54 pm
Forum: PHP - Code
Topic: Horrible Email HTML troubles
Replies: 9
Views: 842

Horrible Email HTML troubles

Hello, I have figured out how to email with html from a php script, although i am getting X-NAS-Language: English X-NAS-Bayes: #0: 7.38197E-108; #1: 1 X-NAS-Classification: 0 X-NAS-MessageID: 71 X-NAS-Validation: {4122194F-EB3B-4CDD-8248-92C555CF49A9} at the top of my email. How do I get rid of that...