Deanznet Posted April 13, 2009 Share Posted April 13, 2009 Okay... im trying to run a mysql command from here but this has a werid template system. Not sure if can help or not. Okay so if i do <?php echo $userInfo[$TbUsers->col_uEmail]; ?> It will echo the email.. Im trying to use the email to run a mysql command. <? $result = mysql_query("SELECT * FROM pbs_users WHERE uEmail='EMAILHERE'"); while($row = mysql_fetch_array($result)) { echo $row['uFName'] . " " . $row['uLName']; echo "<br />"; } ?> See.. i keep getting errors.. how would i do it? Link to comment https://forums.phpfreaks.com/topic/153799-werid-template-system-see-if-you-can-help-me-out/ Share on other sites More sharing options...
Deanznet Posted April 13, 2009 Author Share Posted April 13, 2009 Someone?? This is the only thing holding me up. Link to comment https://forums.phpfreaks.com/topic/153799-werid-template-system-see-if-you-can-help-me-out/#findComment-808318 Share on other sites More sharing options...
.josh Posted April 13, 2009 Share Posted April 13, 2009 $result = mysql_query("SELECT * FROM pbs_users WHERE uEmail='".$userInfo[$TbUsers->col_uEmail]."'"); Link to comment https://forums.phpfreaks.com/topic/153799-werid-template-system-see-if-you-can-help-me-out/#findComment-808330 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.