i got this code
if($_GET['action'] == 'test')
{
$query = "SELECT * FROM users WHERE user_id = {$_GET['id']}";
$result = @mysqli_query($dbc, $query) or die('Query failed: ' . mysqli_error($dbc));
}
And now i want to output a text like Username: Martijn (That's the user_name from ID 1) Reg date: 01/01/2015
But i can't get that working. I checked many stackoverflow questions but couldnt find it. Here you can see the website: http://admincontrol.martijnmelchers.nl/show_profile.php?action=test&id=1
@in@mysqli_query.$result = mysqli_query($dbc, $query) or die('Query failed: ' . mysqli_error($dbc));row. Where is yourwhile()code?while()code...