User Profile
Collapse
-
well im useing a free website builder that alows you to edit html all i did is just put the form on the contact us page message me back -
The problem is that when you submit the form (using POST) IE wont let you view that page again because it doesn't want to submit the data again.
This is kind of a good idea, because if you've submitted a form with your credit card details to buy something then you wouldn't want to submit it again when using your back button cos you'd end up buying it twice.
Firefox will ask you if you want to submit it again. But a lot... -
Codyshea, you sent me a personal message or something? I can't find it now, but you said you were using Firefox.
I've tried your code and it seems to work. Although there seems to be a stray </p> tag on line 8. It's not effecting anything, but you should take it out.
Are you sure there isn't something somewhere else in your page that's causing the problem?Leave a comment:
-
There are several ways of doing what you're trying to do. In fact it's probably THE most common thing in PHP ever.
Your method is slightly odd.
Firstly, using javascript to redirect is silly. If the user has Javascript disabled then they wont be redirected. They'll just see an empty page.
**IF** you want to redirect then do it in php:
Code:<?php header("Location: some_other_page.php");
Leave a comment:
-
What?
"if val 3 will equal the same value as $i , is there any positive to leave it in the sql query?"
I don't understand what you're asking.Leave a comment:
-
Hmmm... without doing some research on Google I don't really know.
You could do it in Flash and trigger it from Javascript.
LongTail Video and the JW Player has a media player that has a javascript API, so you could load the jukebox into a hidden <div> somewhere and then use javascript to tell it which sound to play and when.Leave a comment:
-
Hi, unfortunately changing style.display is a bit useless, because in order to get one to fade in/out over the other you need to have them both displaying and be able to change the stacking order (ie swap which one is on top).
I could fade the first one to nothing, then change that one to display='none' and change the 2nd one to display='block' , and then fade the second one in. But that's not really the effect that I'm after. I need...Leave a comment:
-
. .Leave a comment:
-
Are you using a PC or a Mac? And which (version of the) operating system?
Actually, if you make a php script and put this in it:
Code:<?php phpinfo(); ?>
When you find...Leave a comment:
-
im useing Firefox can you take my code and show me what you mean please? -
What says the method 'post' is not allowed? Is your web browser saying this? Or is PHP saying this? I'm guessing it's your web browser. If so, what browser are you using? Internet Explorer? Firefox? Safari? Have you tried it in a different browser?
Your code is very old fashioned (that's the way web pages were written 5 years ago), but it should work.
Apart from you need:
name="give_me_a _name"...Leave a comment:
-
Code:function displayButton(num) { //first, hide all of the other stuff (actually, just hide everything, it's far easier) for(id_to_hide in id)//cycle through all of the elements in the 'id' array document.getElementById(id_to_hide).style.display = 'none'; //and now unhide the one that you want to be visible document.getElementById(id[num]).style.display="block"; }
Leave a comment:
-
How about:
Code:<?php foreach($key => $value in $array){ if(!$key % 2)//if it's an even number $even_array[] = $value; else $odd_array[] = $value; } ?>
Leave a comment:
-
Can you explain this a bit better?
Do you actually want to save the data in files into a database, or do you want to keep the files in the folder and just store information about them in the database?Leave a comment:
-
-
-
Changing z-index and opacity in IE
Hello fellow coders. I have a little problem with a script that changes the opacity and z-index of two elements. It's basically 2 elements on top of each other and when you click a link it fades the top element away to reveal the one underneath. So some opacity changing and z-index swapping going on.
It works fine in Firefox and Safari, but as usual IE insists on screwing it up.
Now I've used the IE filter:alpha(op acity=xx)...
No activity results to display
Show More
Leave a comment: