473,388 Members | 1,355 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,388 software developers and data experts.

Javascript and PHP page problem after adding new button

Hi

I took over management of an established website that I discovered was
written in php and javascript (I am only familiar with html).

I needed to add in a new button so I looked at the code, copied the
code and pasted for the button above and typed over it the names of
the gifs and gave it a new button number. I found another place in the
code that appeared to relate so I did the same there too.

After uploading I tested my new button, it worked, so I deleted the
original copy I had made of the page.....

Problem was the new button is now the only one that works and I have
no idea how to undo what I did to make it work again.

If someone could take a look and help me sort this I would be so
grateful.

The site is www.chp.org.nz

Thanks so much
Madeleine
Jul 20 '05 #1
5 2218
I don't think anyone can find any php error by looking at the website. Why
don't you provide a download for the files that you've edited and let us see
the codes to determine where the error come from.
"Madeleine" <ma**@soul.org.nz> wrote in message
news:19*************************@posting.google.co m...
Hi

I took over management of an established website that I discovered was
written in php and javascript (I am only familiar with html).

I needed to add in a new button so I looked at the code, copied the
code and pasted for the button above and typed over it the names of
the gifs and gave it a new button number. I found another place in the
code that appeared to relate so I did the same there too.

After uploading I tested my new button, it worked, so I deleted the
original copy I had made of the page.....

Problem was the new button is now the only one that works and I have
no idea how to undo what I did to make it work again.

If someone could take a look and help me sort this I would be so
grateful.

The site is www.chp.org.nz

Thanks so much
Madeleine

Jul 20 '05 #2
In article <19*************************@posting.google.com> ,
ma**@soul.org.nz enlightened us with...

The site is www.chp.org.nz


There's a lot of clickable things on that home page and no real buttons,
so what exactly doesn't work and what change did you make? If the page
is another page but that index page, you need to say so.
-------------------------------------------------
~kaeli~
Press any key to continue or any other key to quit.
Who is General Failure and why is he reading
my hard disk?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
Jul 20 '05 #3
"Nizzan" <ni****@k-systems.com.sg> wrote in message news:<3f********@news.starhub.net.sg>...
I don't think anyone can find any php error by looking at the website. Why
don't you provide a download for the files that you've edited and let us see
the codes to determine where the error come from.


Thanks Nizzan, I assumed you could view the source code and that would
be enough. As you can tell I am in over my head here, so much so, I am
not sure what you mean by a download file? I could paste up the code
is that what you mean? Could I email you the page?

Sorry for being so clueless, I so appreciate any help you can give me.

Thanks

Madeleine
Jul 20 '05 #4
"Ivan Marsh" <an*****@you.now> wrote in message news:<pa****************************@you.now>...
On Fri, 29 Aug 2003 03:36:38 +0000, Madeleine wrote:
After uploading I tested my new button, it worked, so I deleted the
original copy I had made of the page.....


Ouch... I think I speak for everyone when I say:

Whaa, whaa, whaahaahaaaa. (funny burlesque trumpet sound)

You have just experienced the first lesson of managing electronic data,
the hard way.

Always get tape.

Thanks, I will. Lesson learned.

Madeleine
Jul 20 '05 #5
In article <19**************************@posting.google.com >,
ma**@soul.org.nz enlightened us with...

I hope this is clearer.

Thanks so much for taking the time to help me.

Madeleine


The error was php related. Did you get your answer?
If not, let me know. I think the php group wasn't crossposting to
javascript, which is where I see this message.

You'll need to copy/paste your php code so we can see it...

-------------------------------------------------
~kaeli~
Press any key to continue or any other key to quit.
Who is General Failure and why is he reading
my hard disk?
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
-------------------------------------------------
Jul 20 '05 #6

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

Similar topics

2
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
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...

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.