php code error

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: php code error

Post by jackpf »

generate_board_url() most probably.
jacen100
Forum Newbie
Posts: 17
Joined: Thu Aug 20, 2009 4:37 pm

Re: php code error

Post by jacen100 »

yes i wander how that is generating the /phpbb3/ output because i cant see it in the code anywere
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: php code error

Post by jackpf »

I just told you where. Remove that function...
jacen100
Forum Newbie
Posts: 17
Joined: Thu Aug 20, 2009 4:37 pm

Re: php code error

Post by jacen100 »

got it, my phpbb3 forum control panel , i went into server settings in there and it was set to phpbb3 i changed the path to nimccforum and it worked :)

thx for your help and taking time to reply to my posts i realy appreciate it :mrgreen:
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: php code error

Post by jackpf »

Oh right, cool. No problem.
jacen100
Forum Newbie
Posts: 17
Joined: Thu Aug 20, 2009 4:37 pm

Re: php code error

Post by jacen100 »

have u any idea how i would change the font size in that code i would like the posts to appear a little smaller?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: php code error

Post by jackpf »

Use the font-size Css property.
jacen100
Forum Newbie
Posts: 17
Joined: Thu Aug 20, 2009 4:37 pm

Re: php code error

Post by jacen100 »

im using dreamweaver the posts just show as a small [P] on the screen in dreamweaver were i added the <?php include("newposts.php");
?> tag , if i change the font size in there the whole page changes for some reason?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: php code error

Post by jackpf »

I don't really know what you mean, but try changing the font size for just the container div, or whatever contains it.
jacen100
Forum Newbie
Posts: 17
Joined: Thu Aug 20, 2009 4:37 pm

Re: php code error

Post by jacen100 »

because the topics that i show on the webpage are actually a php script that is loaded onto my server which is excuted by adding the <?php include("newposts2.php"); >? command into my html webpage so i actually dont see the text in my webpage it just shows as a PHP icon which is a small [p] they are running down the right hand sidebar when i load the html page because this is were i placed the php include command here is a screenie u can see the small p at the bottom right highlighted in blue if u follow me.
web.jpg
web.jpg (68.85 KiB) Viewed 153 times
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: php code error

Post by jackpf »

:dubious: right....

I'm not really sure, since I don't use dreamweaver or whatever. But can you not, as I suggested before, put the include() statement in a div, and set that div's font size??
jacen100
Forum Newbie
Posts: 17
Joined: Thu Aug 20, 2009 4:37 pm

Re: php code error

Post by jacen100 »

thx for the advice that worked, yes i just started using dreamweaver myself i realy just started web design teaching myself as i go along all this stuff is new to me, gettin some valuable help from people like urself on forums CHEERS :D
Post Reply