No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Hey, I'm making a website, and have some css to put two divs next to each other. This is my css and HTML code : [CODE].class1 { float:left; border-right:2px solid #000; } .class2 { float:right; } .class3 { clear:both; }[/CODE] HTML : [CODE] <div class="class1"> Div 1 </div> <div class="class2"> … | |
Hi Guys! I have a category name and a post_title in different table. i fetch all category and the post_title in my index let say my category name is "sport" then my post_title is all about sport now proceed to the code i used the query of inner join for … | |
Hello Guys! I'm looking for a javascript that will expand the list and collapsing of this menu... [CODE] <ul id="menu"> <li>Menu Item 1 <ol> <li><a href="#">Sub Item 1.1</a></li> <li><a href="#">Sub Item 1.2</a></li> <li><a href="#">Sub Item 1.3</a></li> </ol> </li> </ul>[/CODE] | |
Re:
Hi everyone, Please help me in rounded border corners. I have generated rounded corner borders from site and it give me five images (four corners and one dot image files). I have set all corners according to that site's description HTML and CSS code. But I can't set bottom right … | |
[ATTACH]22645[/ATTACH] how can i set properly the div tag. i have a code but there have a space. this is my code in css [CODE] #admin-container { background-color: #fff ; padding: 5px; border-radius: 5px; border: 1px solid #000; width: 1100px; margin: auto; height: auto; } #user-logout{ padding: 8px; border: 1px … | |
hi guys! how do I put div tags at the beginning of the $ _SESSION until </ a> [CODE] echo $_SESSION['username'].' | <a href="logout.php">Logout</a>'; [/CODE] | |
[CODE] <?php if (isset($_SESSION['uid']) && $_SESSION['uid']) { echo "You are already logged in, if you wish to log out, please <a href=\"./logout.php\">click here</a>!\n"; } else { if (!$_POST['submit']) { ?> <table border=0 cellspacing=3 cellpadding=3> <form method='post' action='login.php'> <tr><td>Username</td><td><input type='text' name='username'></td></tr> <tr><td>Password</td><td><input type='password' name='password'></td></tr> <tr><td colspan=2 align='right'><input type='submit' name='submit' value='Login'></td></tr> </form></table> … | |
[CODE] <?php session_start(); $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("blog", $con) or die(mysql_error()); ?> <html> <head> <title>///</title> </head> <body> <div id="admin-content"> <?php if($_SESSION['uid']){ $sel = "SELECT * FROM `users` WHERE `id`='".$_SESSION['uid']."' "; $result = mysql_query($sql) or die (mysql_error()); if(mysql_num_rows($res) == 0){ session_destroy(); echo "Please <a href='login.php'>Login</a> to your account, or <a … | |
i have a forum wherein a user can create a topic,delete and edit a topic. and i have a admin panel that can delete a topic,edit and locked a topic or closed. I'm done in delete,edit and create what I'm looking for is how can i lock the topic if … | |
Re:
I have an html div [CODE] <div id="myDiv"> <table border="1" bgcolor="#FFFFFF" width="600"> <tr style="text-align:center"> <td>Subject Code</td> <td>Subject Title</td> <td>Credit Hour</td> </tr> </div> [/CODE] Now, I want to have a button by which i can convert this <div id="myDiv"> to image or .doc.... can any one help me | |
Re:
Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :) | |
Hey guys i seen this script in a tutorial but he never explain how this script function $_SESSION how can i use this script in a project or in any situation. can anyone elaborate this code | |
This code is to update the record into the database. Assuming there's a record that you want to edit, when you submit the button the page looks nothing happened because you need to refresh the page before appear the output here's the code. Help me guys pls... sorry for my … | |
I cant update my data i know theres something wrong in my code...pls help me guys i need this code ASAP... :( [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <head><link rel='stylesheet' type='text/css' href='Style.css'/></head> <body> <table border=0 align='center' width=900 cellpadding=20 cellspacing=0> <tr><td class='title' colspan=2><h1>Update Record</h1></td></tr> <tr> <td class='borderBaba' … | |
Re:
Hey friends, I have a page that I've been working on for HOURS and finally almost have it perfect except for TWO things: 1. Every time I load the page it automatically inserts a blank row of data into my MySQL database. (Submitting it after filling out the for works … | |
Can u help me guys im a newbie in php...i want u 2 check my Update code because they not function. is there something wrong in my code? [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); ?> <html> <body> <table border=1 align='center' width=800 cellpadding=20 cellspacing=0> <tr><td colspan=2><h1>Edit Record</h1></td></tr> <tr> <td … | |
The function of delete record is working, but you need to double click the Delete Button to successfuly delete the record...can anyone help me pls [CODE] <?php $con = mysql_connect("localhost","root",""); $sql = mysql_select_db("luweegee",$con); $sel = mysql_query("SELECT * FROM resume"); ?> <html> <body> <table border=1 align='center' width=800 cellpadding=20 cellspacing=0> <tr> <td … |