No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
18 Posted Topics
Re: hello i want this too on my website how can i input that div1 and div2 to the container. | |
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: try this! [CODE] .box-container { border: 1px solid black; border-radius: 10px; background:url(tl.png) top left no-repeat; width:600px; height:auto; margin:auto; } [/CODE] i used border 1px to see the rounded corner of the side...and for the round corner use border-radius... | |
[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: convert? or u want to insert image in that div? | |
Re: are u sure this code is working? how do you put this variable $sql if u did not defined? [CODE] $result = mysql_query($sql) or print("Can't create the table 'dbUsers' in the database.<br />" . $sql . "<br />" . mysql_error()); [/CODE] | |
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: Try this logic...i hope this may help 4 u [CODE] if($submit) if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['cat']) || empty($_POST['issue']) || empty($_POST['descript']) || empty($_POST['trouble']) || empty($_POST['device']) || empty($_POST['priority'])) { echo "Please Fill all the requirement field"; } [/CODE] i have the same problem everytime i refresh my explorer it will save the … ![]() | |
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 … |
The End.