473,505 Members | 13,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

form errors between php/html

I have a page that people (without technical knowledge) can upload and
change news web links (via the php script) dynamically. It has worked fine
on our other server, but this week we changed servers and now it doesnt.
What it is doing is replicating the links (in no order - its not like my var
is just getting duplicated) so that there are many duplicate links, but not
all of them are. The links are stored in a textarea and when the form is
submitted, the links get messed up. i have 2 other pages that are doing the
same thing. (they arent links. they are just text) if i click submit,(it
submits to it's self) it takes the good links and runs it through a php
function where the are recorded in a database. then the form is refreashed
and the links go bad. when i comment out the recording part, just going to
an empty function still makes it do it. If i just hit the refreash button in
the browser, it doesnot occur. i am stumped as to why this is occuring. it
is not a special char in the list itself. i think the problem has to do with
when the form is submitted, the data is changed.
Jul 17 '05 #1
2 1500
In article <c7**********@news-int.gatech.edu>, Brad Esclavon wrote:

[snip story on a problem]

I'm affraid nobody will be able to help you if you don't code...

--
http://home.mysth.be/~timvw
Jul 17 '05 #2
http://host107.ipowerweb.com/~madpundi/bad.php
here is the link to the source. i made a submit button that does nothing,
other than submit and refreash the form. when you click it, it makes the
"link1" textarea data go bad.

"Brad Esclavon" <gt*****@mail.gatech.edu> wrote in message
news:c7**********@news-int.gatech.edu...
I have a page that people (without technical knowledge) can upload and
change news web links (via the php script) dynamically. It has worked fine
on our other server, but this week we changed servers and now it doesnt.
What it is doing is replicating the links (in no order - its not like my var is just getting duplicated) so that there are many duplicate links, but not all of them are. The links are stored in a textarea and when the form is
submitted, the links get messed up. i have 2 other pages that are doing the same thing. (they arent links. they are just text) if i click submit,(it
submits to it's self) it takes the good links and runs it through a php
function where the are recorded in a database. then the form is refreashed
and the links go bad. when i comment out the recording part, just going to
an empty function still makes it do it. If i just hit the refreash button in the browser, it doesnot occur. i am stumped as to why this is occuring. it
is not a special char in the list itself. i think the problem has to do with when the form is submitted, the data is changed.

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1556
by: R. Rajesh Jeba Anbiah | last post by:
Many people often ask the question related to form validation. Here is my style. It just gives the idea; but not exactly what I do in development. Comments are welcome. ...
9
4153
by: julie.siebel | last post by:
Hello all! As embarrassing as it is to admit this, I've been designing db driven websites using javascript and vbscript for about 6-7 years now, and I am *horrible* at form validation. To be...
3
2323
by: Bill | last post by:
I'm using the POST method to submit a simple form html page with yes/no and checkbox fields to an asp response page which stores the values in a new dim string, then uses it to build a new table...
9
1544
by: whisher | last post by:
Hi. I've managed this simple snippet: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Register</title> <meta...
7
3580
ak1dnar
by: ak1dnar | last post by:
Hi, I got this scripts from this URL There is Error when i submit the form. Line: 54 Error: 'document.getElementbyID(....)' is null or not an object What is this error. Complete Files
2
2102
by: bcanter | last post by:
I have a PHP form that submits information via e-mail, I know that it work fine. My problem is that I want a msgbox to pop up when you submit the form and I can't seem to make it work. I want the...
3
2648
by: underground | last post by:
I found this form on the scripts. However when I attemp to open the php file on the sever I get a error message Parse error: syntax error, unexpected $end on line 238 <? /** * Main.php * *...
1
3930
by: William Gill | last post by:
I hope I can state this clearly enough. I am redoing some of my html(php) forms. I'm trying to break things into three functions on a self processing php page: 1) show the form (and populate...
12
5576
by: Geoff Cox | last post by:
Hello I'm having a problem loading a frameset file using an include in a php file. Nothing is displayed and when I look at the source code I see that <html> <head> <title></title>
1
2522
by: Lelu | last post by:
Hi, My HTML form is generating some blank email responses; does anyone see anything wrong with the scripts?: function isFormVarExcluded(thisForm, strToCheck) { var strExcludeVars =...
0
7213
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7017
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7471
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
406
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.