Xlim's Posts
Nairaland Forum › Xlim's Profile › Xlim's Posts
1 (of 1 pages)
zeroshadow:thanks so much. will work on that now |
zeroshadow:it's actually saying username and password not found |
<?php // Inialize session session_start(); // Include database connection settings $hostname = 'localhost'; // Your MySQL hostname. Usualy named as 'localhost', so you're NOT necessary to change this even this script has already online on the internet. $dbname = 'zclass'; // Your database name. $username = 'root'; // Your database username. $password = ''; // Your database password. If your database has no password, leave it empty. // Let's connect to host mysql_connect($hostname, $username, $password) or DIE('Connection to host is failed, perhaps the service is down!'); // Select the database mysql_select_db($dbname) or DIE('Database name is not available!'); // Retrieve username and password from database according to user's input $userName=mysql_real_escape_string($_POST['name1']); $userSchool=mysql_real_escape_string($_POST['school1']); $userClass=mysql_real_escape_string($_POST['class1']); //*********retrieving data from Database********** $query = "SELECT * FROM member WHERE $userName='name1', $userSchool='school1' and $userClass='class1'"; //$login = mysqli_query("SELECT userName,password FROM 'member' WHERE userName= $_post['username'] AND passWord= $_post['password'])" ;// Check username and password match $res = mysql_query($query); $rows = mysql_num_rows($res); if ($rows==1) { // Set username session variable $_SESSION['userName'] = $_POST['name1']; // Jump to secured page header("Location: post.php" ;} else { // Jump to login page echo "user name and password not found"; } exit; ?>
|
teknology:done |
teknology:maybe 2pm |
[quote author=teknology post=27254117][/quote]that's fine. maybe when you are done |
teknology:yea, its cool. which do you have? |
teknology:cool |
teknology:ok. in conclusion, i am coming along with PES14 and GOD OF WAR. and you coming with which? |
teknology:God of War: the legend of kratos |
teknology:so that will be the PES14 and which other game will you prefer from the ones above? |
teknology:no i dont have any extra cord. i have got just a pad too. mind swappin d motorstorm for a game? |
teknology:too far away from me, wat about we meeting at mokola roundabout or challenge? and that will be tomorrow, kinda busy now |
teknology:hmmmmm....i stay at ring road....how do we meet up? |
Saklekplus:i dont have FIFA14 nad GTA V |
teknology:IBADAN. U? |
1. GRAND THEFT AUTO IV & EPISODE FROM LIBERTY CITY 2. PRO EVOLUTION SOCCER 2014 3. CALL OF DUTY: BLACK OPS 4. GOD OF WAR all for sale...... LOCATION: IBADAN PRICE: 3,000 Each if interested, call 08025020830
|
Location: Ibadan Contact : Michael 08033577943 price: 1,600,000 (negotiable) Interior: Clock Leather Seats Exterior: Sunroof Audio / Video: Factory System AM/FM CD Changer CD Player Power Equipment: Power Driver's Seat Power Locks Power Mirrors Power Steering Power Windows Safety Features: Anti-Lock Brakes Driver's Air Bag Intermittent Wipers Passenger Air Bag Rear Defogger Security System Side Air Bags Luxury Features: Air Conditioning Climate Control Cruise Control Dual Zone Electronic Climate Control System Leather Gear Shifter Leather Steering Wheel Moonroof Steering Wheel Radio Controls Telescoping Steering Wheel
|
@harrietoye i fllw back |
nija best rapper remains MI MI MI MI and MI |
WWWWWWWOOOOOOOOOOOOOOOOOOW!!!!!!!!!!!!!!!!!!!1 dats tyt elDee. keep it up dude. no worry, dat album go bosi gbangban |
mode is SSSSSSSSSSSSSOOOOOOOOOOOOOOOOO stupid for dis i will beef him 4live |
oh GOD, guys have u heard "treasure" bt G,T? its tyt |
hey its no rumour!!!!!!!!!!!!!!!!11 |
what should we do with that |
![]() well done |
1 (of 1 pages)
;