Skip to content

Instantly share code, notes, and snippets.

@luk- luk-/gist:129491

Created Jun 14, 2009
Embed
What would you like to do?
$sql = mysql_query("select * from wp_comments where comment_post_id=61");
$row = mysql_fetch_array($sql);
$sql2 = mysql_query("select * from wp_comments where comment_author='$row['comment_author']'") ;
$row2 = mysql_fetch_array($sql2) ;
echo $row2['user_id'] ;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.