Here you can find plenty of help with your general coding needs and projects
If it is about a specific program, use the corresponding forum
DO NOT ask basic questions such as "How do I print a variable", use Google for that
by derangedtaco » Sun Dec 03, 2006 5:52 pm
edit: Solved
Last edited by
derangedtaco on Wed Dec 06, 2006 11:56 am, edited 1 time in total.
-
derangedtaco
- WR.net Apprentice

-
- Posts: 39
- Joined: Fri Nov 24, 2006 12:24 am
by derangedtaco » Wed Dec 06, 2006 12:08 pm
ok.
i am trying to have the guild notes show.
i use the same source, but instead of printing guild_motd, i have it print guild_info_text (looked in the tables). unfortunately.....when i try to test it out nothing prints. ???
-
derangedtaco
- WR.net Apprentice

-
- Posts: 39
- Joined: Fri Nov 24, 2006 12:24 am
by derangedtaco » Fri Dec 08, 2006 5:57 am
plz...help...

-
derangedtaco
- WR.net Apprentice

-
- Posts: 39
- Joined: Fri Nov 24, 2006 12:24 am
by zanix » Fri Dec 08, 2006 1:20 pm
I think that guild info has to be html converted before displaying it
Try editing the line that says
- Code: Select all
echo $row['guild_motd'];
To this
- Code: Select all
echo nl2br($row['guild_info_text']);
-

zanix
- Admin

- WoWRoster.net Dev Team

- UA/UU Developer

-
- Posts: 5546
- Joined: Mon Jul 03, 2006 8:29 am
- Location: Idaho Falls, Idaho
- Realm: Doomhammer (PvE) - US
-
by derangedtaco » Fri Dec 08, 2006 3:25 pm
zanix wrote:I think that guild info has to be html converted before displaying it
Try editing the line that says
- Code: Select all
echo $row['guild_motd'];
To this
- Code: Select all
echo nl2br($row['guild_info_text']);
thx
thought it wasnt working, then i realized that i also had to change
- Code: Select all
$query = sprintf("SELECT `guild_info_text` FROM `roster_guild` WHERE
thank you so much for all of your help!!
-
derangedtaco
- WR.net Apprentice

-
- Posts: 39
- Joined: Fri Nov 24, 2006 12:24 am
Return to General Code Help
Who is online
Users browsing this forum: No registered users and 0 guests