Well i hope im not being an idiot again.
But i briefly scanned over the code and i couldn't find any missing ; or ' so 🙂
Well what im trying to do is display a row.
Well, what im exactly trying to do is display a row from a user.
<?php
session_start();
require('connect.php');
$us = $_SESSION['user'];
$sql = "SELECT * from userfiles WHERE username='$us'";
$result = mysql_query($sql)
echo $result['username'];
?>
Now this has something wrong with the echo?
error:
Parse error: syntax error, unexpected T_ECHO in /hosted/subs/ulmb.com/t/w/****/public_html/yourfiles.php on line 9
I don't see anything wrong with the echo? Any help?