If this problem only occurs in Netscape but not in IE using the same image files, then I suspect that the problem is browser interpretation of the html code.
Make sure that cellspacing and cellpadding is set to 0, if not specified, then specify them and set it to 0.
Not sure why you want to do the above, but take a look at http://www.w3schools.com/js/tryit.asp?filename=tryjs_putdropdown
The above example basically does exactly what you want to do. It has complete example so you should be able to figure it out.
Dan
var hh = formVar.substr(0,2);
var mm = formVar.substr(2,2);
Of course the above assumes that user entered 4 digits. You may want to check the length or use the length of the string as part of the substr call.
Go to http://www.w3schools.com and click on "Learn JavaScript" to learn...
You didn't actually say what problem you were seeing with your UPDATE statment. Syntax itself looks OK. I assume that the statement is surrounded by double quotes " and not single quotes '. Does the record get updated at all? Any mySql error messages? Does $formAlbumID contain what you...
I couldn't install IE5 when I had IE6 installed, that was the reason it took me so long to figure out what the users were trying to tell me. Luckly on one of my computers, I use a removable hard drive kit, so, I trashed one of my hard disks and installed IE 5 on it. So all I have to do is to...
Try changing your percentage margins to pixels to see if the problem goes away. As I said in my previous post, I had text-indent with percentage value and it messed my pages up so bad IE 5.x users could say was that my page was stretched out. I couldn’t believe that until I finally installed...
I think, it is something in your javascript. I thought at first it was something in your css, because I had a similar problem when I coded text-indent: 5% on my web site. But, I noticed that soon as I copied your index.html and the style.css to my hard disk and looked at the page, the page...
If you want to use the names on the form as the variable name you need register_globals turned on. You can check that using phpinfo() function call.
Now, in order to access the form variables if the register_global is off, you can use $_POST[email] and $_POST[name], etc.
Dan
You can use the parse_url function to get just the host name.
$ref= parse_url($HTTP_SERVER_VARS['HTTP_REFERER']);
echo $ref[host]; // will output www.someserver.com
Look at the PHP manual URL functions for full detail
Dan
If you are on a Windows platform and you are looking at your html page using Open to display the file, then I would say it has to do with file assocation on your PC. What is the file extention (type)? You may have associated .html with IE, but not .shtml, or .htm, etc.
Dan
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.