![]() |
Guestbook
Hi, am trying to figure out how to add a guest book in the profile. And I can not say that i understand the vb code fully :) But am trying. lets say we have a SQL table named GB and i want to loop out the massegen in it. the first thing i would do is ti add something like this to member.php file right?
$mess->dbobject->query_write(" SELECT `mess` FROM `" . TABLE_PREFIX . "GB` WHERE `$userinfo[userid]` = " . $userinfo['mess] . " $result = mysql_query($sql); while ($row = mysql_fetch_assoc($result)) { $userinfo['mess]; } "); Please give me pointers what have i don wrong and that is the next step? |
All times are GMT. The time now is 10:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|