Join for FREE | Take the Tour Lost Password?

deviantART

 
:iconrebel2206:

=Rebel2206

Hahahahahahahaha ツ
ProfileGalleryPrintsFavesJournal
Wears a tinfoil hat Enjoys birthday shenanigans Blind to Pageviews

Updates

Sun Jun 21, 2009, 5:54 AM


Just over a week until i finnish college time for a mad rush of finnishing up work and making sure everything is handed in :paranoid:

One this that is stopping me is making my goddamn site to work... this is where the knowlage of script monkey come in... that's if they're reading this. I get the error

Parse error: syntax error, unexpected T_STRING in G:\xampp\htdocs\titanium\login.php on line 19
but i can't find anything wrong in the code which is below


<?
//Database Information

$dbhost = "localhost";
$dbname = "twistedzone";
$dbuser = "root";
$dbpass = "************";

//Connect to database

mysql_connect ( $dbhost, $dbuser, $dbpass)or die("Could not connect: ".mysql_error());
mysql_select_db($dbname) or die(mysql_error());

session_start();
$username = $_POST[‘username’];
$password = md5($_POST[‘;password’]);

$query = `select * from users where username=’$username’ and password=’$password’”;


$result = mysql_query($query);

if (mysql_num_rows($result) != 1) {
$error = “Bad Login”;
include “login.html”;
}
else {
$_SESSION[‘username’] = “$username”;
include “memberspage.php”;
}

?>


Any help would be great. ;)

Birthday tommorow :happycry:

  • Mood: Excited
Skin by ¢mindfuckx (modified by =Rebel2206)

Devious Comments

love 0 0 joy 0 0 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconevilsyndicatemember:
That college will maek u munniez. >83

--
Here's a critique-guide that's very useful! Now USE IT! [link]

I'd turn gay for `Vlei.
:iconjwils876:
Happy Birthday :salute:

--
There is no problems, Only Solutions.
John Lennon
:iconrebel2206:
Thanks :salute:

--
Gallery
Group Manager of #dAmnU :groups:
:iconrebel2206:
Indeed :plotting:

--
Gallery
Group Manager of #dAmnU :groups:
:iconevilsyndicatemember:
:mwahaha:

--
Here's a critique-guide that's very useful! Now USE IT! [link]

I'd turn gay for `Vlei.

Sponsored By Ninja Assassin

Custom

Subscriptions I've Donated

Because it's good to give back!
GREEN :dummy:

~Abbey-Kristy - 1 Month Subscription
~SameOldSongs - 1 Month Subscription
~013183 - 1 Month Subscription
*Isvarmt - 3 Month Subscription

Forum

Pink/Purple dA - [link] 

55%
27 deviants said Hell yeah!
37%
18 deviants said Nice, but i won't use it :(
8%
4 deviants said Crap, utter crap :|

Shoutbox

~rad0713:iconrad0713:
hi
Tue Oct 27, 2009, 5:02 AM
~mad-guns22:iconmad-guns22:
lalalalala
Sun Oct 18, 2009, 4:34 AM
~XxRandomXIdiotxX:iconXxRandomXIdiotxX:
I'm in ur closet, peakin' on u!
Fri Oct 16, 2009, 9:43 AM
~weasle-kid:iconweasle-kid:
hai
Fri Oct 9, 2009, 11:13 PM
~invadertweak:iconinvadertweak:
=))
Fri Sep 25, 2009, 8:19 AM
=Rebel2206:iconRebel2206:
:noes:
Sun Sep 20, 2009, 4:34 PM
*pshyco-ninja-monkey:iconpshyco-ninja-monkey:
.....never gonna give you up... never gonna let you down... never gonna run around... and desert you :3
Sun Sep 20, 2009, 8:03 AM
~sundar-aptinfoway:iconsundar-aptinfoway:
hey
Thu Sep 17, 2009, 8:07 AM
=DepresedByLogic:iconDepresedByLogic:
Heh.
Mon Sep 14, 2009, 9:16 PM
=Rebel2206:iconRebel2206:
:O_o:
Thu Sep 10, 2009, 2:10 PM

Gallery Views

:typerhappy:

My gallery has been veiwed hit counter times scince 5th January 2009

Llama+

Journal History

I CSS'd Your ass

subscribers, seniors and staff of deviantart can customize their journals and gallerys. They do this by CSS. Here are some intereting peices of infomation on this.

:bulletgreen: W3Schools Online Web Tutorials

:bulletgreen: Journal Structure: a reference by `thespook

:bulletblue: CSS for Beginners by *S-Que

:nana:

Site Map