No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm so cofused and I don't understand the box model at all. For example, How do I know what number to use with margin and padding? It's not like I have a grid and I just don't get the concept of margin and padding at all or which number to … |
|
Here's my index.php page: <?php require 'connect.php'; ?> <html> <body> <form action="action.php" method="post"> Username: <input type="text" name="uname"> Password: <input type="password" name="pword"> <input type="submit" name="submit1" /> </form> </body> </html> Here's my connect.php page: <?php $connect = mysql_connect("localhost", "root", ""); if (!$connect) { die ('Could not connect: ' . mysql_error ()); } … |
|
This is my index.php page: <html> <body> <form action="action.php" method="post"> Username: <input type="text" name"username"><br /> Password: <input type="password" name="password"> <input type="submit" name="submit" /> </form> </body> </html> This is my action.php page: <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("users", $con); mysql_query("INSERT INTO userlogin … |
|
Here's the main index page: <html> <body> <form action="action.php" method="post"> Name: <input type="text" name="fname"> Age: <input type="text" name="age"> <input type="submit" name="mybutton" /> </form> </body> </html> Here's the action page: <?php $mycar=''; echo "$mycar"; ?> I left the variable $mycar empty because i'm trying to assign it's value as my forms … |