1
General discussion / Re: Websites you visit frequently
« on: June 08, 2013, 07:07:28 am »
youtube.com
google.com
evilzone.org
reddit.com
solarmovies.so
google.com
evilzone.org
reddit.com
solarmovies.so
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
<?php
require 'core.inc.php';
require 'connect.inc.php';
require 'loginform.inc.php';
if(isset($_SESSION['user_id'])){
$id = $_SESSION['user_id'];
}else{
die("session hasnt been started");
}
$query = "SELECT * FROM `users` WHERE `id` = '$id'";
$query_run = mysql_query($query){
while($row = mysql_fetch_array($query_run)):
$ime = $row['ime'];
$prezime = $row['prezime'];
}
echo $id;
?>