Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by porkypie

  1. Thanks for the help. It seems something else is wrong with my code. When i try to log in now i get the following message: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\.........................\www\login.php on line 15Wrong Username or Password. This is line 15:$count=mysql_num_rows($result); how do i fix my problem this time? Porkypie
  2. Hey, I'm trying to use a tutorial to make a login for my website using this tutorial: http://www.phpeasyst...om/phptu/6.html I'm getting the following error when I try to login:Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\.........................\www\login.php on line 9cannot connect The fat underlined line is line 9 This is the code I am using: <?php$host="localhost"; //$username="root"; //$password=""; //$db_name="westpop"; //$tbl_name="leden"; //mysql_connect("$host", "$username", "$password")or die("cannot conn
  3. hey guys, I seem to have a few problems with my divs. I've added my .html and .css file so you can check my code. It might be a bit messy in those files so i hope it's still understandable. here are my problems. First one: there's a small white space in between the upper 2 black bars. I want this space to be as wide all the way down to the footer. Somehow it won't work and I can't figure out why. It looks like the containing div is messing it up. second problem: the small divs on the right side seem to be a few pixels too big on the right and go outside of the containing div. How can i prevent
  4. Ok, there was a . in my CSS and messed it all up. How to delete a topic?
  5. Hey, I've added a screenshot to make it easier to for you guys to help me. I'm not sure why this is happening because I haven't changed a thing and it was al perfectly fine before. My web developer program shows my <ul>'s -webkit-padding-start: 40px;. So I've tried to change it to 0 pixels in my CSS file but nothing won't change.Does someone have an idea how I can make the space around the <ul> go away. Thanks in advance! Greets,Porkypie
  6. Thanks for your time guys! Gonna try it out later today ;-)
  7. Hey, I have to use HTML & CSS to make a project for school. I'm a beginner and i'm having a small problem. After a lot of searching on the internet and not finding a solution I decided it woud be best to ask for some help here. I've attached a .css and .html file to this post so you can see what i did . What I want to accomplish is 2 rows with 3 <div>'s next to eachother. Together they should have the same width as the menu and every <div> should have the same size. Also they should be underneath the grey bar and above the footer. As you can see right now there's 6 <div>
  • Create New...