
ngreenwood6
Members-
Posts
1,356 -
Joined
-
Last visited
Everything posted by ngreenwood6
-
Ok i will do that but how would i make it look correctly in IE.
-
I know it is working in firefox but why isnt it displaying correctly in internet explorer. I have attached a screenshot. [attachment deleted by admin]
-
Yeah it is on my personal website but try to go here: http://71.200.87.112 forgot to say login with user = nick pass = nick
-
If the variable is getting set then then it is not the url because it is getting the correct information from the url.
-
You would think so but if it works for him then who cares.
-
try this "SELECT * FROM `data` WHERE tdate = '2008-10-06' ORDER BY '". $orderby ."'";
-
the edit button isnt showing up so I am going to make a new post. Just so it makes sense. the image is at the very top of the container. there is about 1 cm of whitespace between it and the navigation bar, but the weird part is that it displays correctly in firefox. If I add this to the navigation box: margin-top:-3px; and then it displays correctly in internet explorer, but then it doesnt display correctly in firefox. this is giving me a headache. please if anyone has any suggestions to offer I am open to anything at this point.
-
I have figured out what was causing the footer. now I still cannot figure out why there is whitespace between the image and the navigation bar. PLEASE SOMEONE HELP!
-
ok so now this is my css file: body { margin:0px; background-color:#000000; } a { text-decoration:none; color:#0000FF } #container { position:relative; margin: 0 auto; width: 800px; height: 600px; border:1px solid #000000; margin-left:200px; margin-right:200px; background-color:#FFFFFF; } #footer { border-bottom:1px solid #000000; border-top:1px solid #000000; position:absolute; bottom:0; width:800px; } #navigation { background-color:#F62985; border-bottom:1px solid #000000; border-top:1px solid #000000; width:800px; margin-top:0px; height:20px; } it displays exactly how I want it to in firefox but in internet explorer there is a space between the header_image. Also the footer is at the bottom but it is pushed over about 150px it looks like. Any suggestions at all?
-
the sortby would have to be a value in the database. for example ("SELECT * FROM 'data' WHERE tdate = '$date' ORDER BY 'name'"). This would order all the results by the name. the name value would have to be in the database though.
-
whoa didnt realize someone already said it. I just assumed that it was the new way the code was going to be and didnt know if you had realized it was doing it. I know the browser has a zoom function but not that operational. Its microsoft lol
-
bump this is really frustrating me lol
-
What happened to the size of the text in the code blocks? I seriously have to get out a magnifying glass to read the text in the code box now. Anyone else want the size to go back to what it was? I am using a 1280x1024 resolution and seriously have to copy the code out and paste it in a text file to read it.
-
I have the following page: index.html: <html> <head> <link href="includes/main.css" rel="stylesheet" type="text/css" /> <title><?php echo $sitename; ?></title> </head> <body> <div id="container"> <div id="header_image"> <img src="images/header_image.gif"> </div> <div id="navigation"> <a href="#">Home</a> | <a href="#">Banking</a> </div> <div id="footer"> Copyright © </div> </div> </body> </html> I then have this css file: body { margin:0px; background-color:#000000; } a { text-decoration:none; color:#0000FF } #container { position:relative; margin: 0 auto; width: 800px; height: 600px; border:1px solid #000000; margin-left:200px; margin-right:200px; background-color:#FFFFFF; } #footer { border-top:1px solid #000000; height:50px; postion:absolute; bottom:0; width:800px; margin-top:20px; } #navigation { background-color:#000000; border-bottom:1px solid #000000; } However, it is not working how I want it to. Below the image there is a space before the navigation background which leaves it white. Also, there is about 1cm of white space from the right side. If anyone has any suggestions on how to fix this that would be great. Thanks in advance.
-
I have an ajax function posting to that page. It didnt work but I have gone about it in a different manner now and it is working I just need to find out the code to redirect using ajax.
-
I am trying to make it so that if my status code is 6 to redirect to process_login.php. I do not know how to redirect with ajax can someone help. My code looks like this: if(status == 6) { //redirection code goes here } Thanks in advance
-
This should be pretty simple. Basically all I want is for the ajax to allow the php to do what it wants to do. It needs to redirect to main.php.
-
I have alot of code so I am not going to post it because it seems like no one helps if you do. I have a pretty simple question though. I have a form that onlick it posts the username and password to a page called check_user.php. If the username and password are correct it instead posts it to process_login.php. When it goes to process_login.php it registers their username in the session and redirects to main.php. The problem is that I do not know how to get it to process process_login.php and do what it tells it to do. It just stays on the login page when it is supposed to be redirect to the main.php page. My process_login.php page looks like this: <?php //include the variables include("includes/variables.php"); //get the username from the form $username = strtolower($_POST['username']); if($username != "") { $_SESSION['username'] = $username; header("Location: main.php"); } ?> How do I get it to go to the main.php page with ajax? It seems like all it does is check this page and not actually do what it says.
-
Yeah, like I said the status code portion is working. The only thing is that when it is supposed to do the process_login.php it just stays on the same page. It will only go to the process_login.php page if everything is good. When it goes to the process_login.php page it is supposed to redirect them to test.php which is just set up to make sure that it is working at this point. Does anyone know how I can accomplish this?
-
Your coding is all messed up. Please if you post as well use the code tag if you post code. Here is an example index.html <html> <body> <form method="post" action="index.php"> Name: <input type="text" name="username"> </form> </body> </html> index.php <?php //set the variable $username from the form $username = $_POST['username']; //write the variable to the page echo $username; ?> This is a pretty basic example. Please let me know if this helps.
-
Check out www.scriptlance.com. I have not used this site as I am a new coder but I was looking into it.