Jump to content

[SOLVED] PHP mysql query not working


mike12255

Recommended Posts

I have the following line:

 

<?php

$query = "SELECT * FROM `phpforum_tutorial` WHERE `postid` = $id AND WHERE `area` = math";
?>

 

I dont recive an error from the query but i tried importing it into phpmyadmin and nothing came up, well an error did so i know i did the query wrong, anyone know my mistake?

Link to comment
https://forums.phpfreaks.com/topic/145472-solved-php-mysql-query-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.