Jump to content

[SOLVED] SELECT query using ECHOED record field?


A JM

Recommended Posts

How do I write a SELECT query using a variable echoed from another query, <?php echo $row_rstreviewclaims['num']; ?>

 

I tried the following with no luck - I can't get the syntax correct...

 

$query_rstcomments = "SELECT comment FROM comments WHERE num = " <?php $row_rstreviewclaims['num']; ?>;

 

Any help would be appreciated.

 

Thanks.

 

A JM,

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.