# Is this possible in PHP/MySQL?

**URL:** <https://forum.kirupa.com/t/is-this-possible-in-php-mysql/257016>\
**Category:** programming\
**Created:** [April 9, 2008, 3:55pm UTC](https://forum.kirupa.com/t/is-this-possible-in-php-mysql/257016 "2008-04-09T15:55:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maqrkk](https://avatars.discourse-cdn.com/v4/letter/m/35a633/32.png) [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Post date:** [April 9, 2008, 3:55pm UTC](https://forum.kirupa.com/t/is-this-possible-in-php-mysql/257016/1 "2008-04-09T15:55:02Z")

</div>

Hello.

Basically I hold 2 variables. $column and $name.  
Is it possible to do something like

$result = mysql\_query(“SELECT \* FROM Member WHERE $column = $name”);

I can’t get it to work, is there anything special involved?
