# Didn't query

**URL:** <https://forum.kirupa.com/t/didnt-query/203988>\
**Category:** Uncategorized\
**Created:** [October 16, 2006, 10:04am UTC](https://forum.kirupa.com/t/didnt-query/203988 "2006-10-16T10:04:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flash\_Man1](https://avatars.discourse-cdn.com/v4/letter/f/8797f3/32.png) [@Flash\_Man1](https://forum.kirupa.com/u/Flash_Man1)\
**Post date:** [October 16, 2006, 10:04am UTC](https://forum.kirupa.com/t/didnt-query/203988/1 "2006-10-16T10:04:11Z")

</div>

hmm for some reason i’m getting the error “didn’t query” but when i test my query in mysql itsself it works :S:S

here is my code

$query = “SELECT questions FROM questions WHERE questionid = 4”;  
$result = mysql\_query( $query ) or die (“didn’t query”);
