473,396 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

html/javscript errors

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 23 '05 #1
1 971
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 23 '05 #2

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

Similar topics

9
by: quikquic | last post by:
Suppose I download a html file with javascript in it, for example, <html> <body> <script language="JavaScript"> document.write("Hello"); </script> </body> </html>
9
by: flarkblark | last post by:
I recently had the displeasure of looking at the code required to implement the pop-up menus used in a pulldown menu system for a webpage. The sheer amount of Javascript required was amazing...
8
by: Lucy | last post by:
help! javascript inline of an HTML to open an HTML in a target window. Something like... <html> <head> <title>test</title> </head> <body>
1
by: Tim J | last post by:
Hi all I've got a html doc with <embed src="url.svg"> in it however, I'd like the source to be a javscript variable (which will depending on an if, be a different filename on loading) is...
12
by: Nalaka | last post by:
Hi, I suddenly started getting a lot of errors from html validation (some CSS) so I followed the following instructions to disable it. If you'd rather not have these types of HTML validation...
2
by: Turbo | last post by:
How to get absolute uri by combining the baseuri and the relative uri in an html page using javscript? I am looking for something similar to python's urlparse.urljoin('baseuri', 'relativeuri');...
5
by: moni | last post by:
Hi.. I am trying to use javascript for google maps display. If I call the javascript function from my aspx file I use: <input type="text" id="addresstext" value="Huntington Avenue,...
4
by: iamthebest | last post by:
Hello, I am trying to call a javscript function from c#. But it is not getting called. The error comes up saying funtionname is not defined even though it is defined and visible in page source. ...
1
by: manojuniverse | last post by:
Hi can any body help me in knowing in javscript on client side whether session has expired or not. Plz help me. Thanks in advance.
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.