Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 04-17-2010, 07:00 AM Including php
Banned

Posts: 12
Name: John
Trades: 0
What's the best way to include a php page in html, I have a php page that shows randow adverts from a database which needs to be on the main site when the site is opened.
reeps is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-17-2010, 09:00 AM Re: Including php
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://www.tizag.com/phpT/include.php
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-17-2010, 09:21 AM Re: Including php
Banned

Posts: 12
Name: John
Trades: 0
Quote:
Originally Posted by chrishirst View Post
Using includes isn't for html, I have an index.html that i want include a php file in when it loads. That's why I posted in the html section of this site
reeps is offline
Reply With Quote
View Public Profile
 
Old 04-17-2010, 09:30 AM Re: Including php
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You can't!

you can ONLY include .php files in other .php files or file extensions that are rendered as PHP.

Which is the reason why I moved it!!
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-17-2010, 09:45 AM Re: Including php
Banned

Posts: 12
Name: John
Trades: 0
you can as it's used on the frontpage 5 site using frameset I just can't get it to work properly
reeps is offline
Reply With Quote
View Public Profile
 
Old 04-17-2010, 10:22 AM Re: Including php
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by reeps View Post
you can as it's used on the frontpage 5 site using frameset I just can't get it to work properly
Framesets are NOT includes.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-17-2010, 10:45 AM Re: Including php
Banned

Posts: 12
Name: John
Trades: 0
I never said it was, I never said i wanted to use includes, you did, but rather than admit you read my post wrong your trying to make out i'm in the wrong..and from a super moderator aswell...
reeps is offline
Reply With Quote
View Public Profile
 
Old 04-17-2010, 02:17 PM Re: Including php
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
Just use an iframe in a floating div.

Thread closed. Yawn
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 04-17-2010, 02:22 PM Re: Including php
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Ok then so the word include obviously DOESN'T mean include then??
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-17-2010, 03:49 PM Re: Including php
Banned

Posts: 12
Name: John
Trades: 0
call your selfs webamsters both repliers are arrogant, it does mean include other wise I wouldn't have asked, jesus some people are just so arrogant.

I've actually got the code from the old site to work...so so much for you can't....****in retard, i'll stay on the other real webmaster sites instead of this pretend one with morons and cocksuckers as staff

**** the lot of ya
reeps is offline
Reply With Quote
View Public Profile
 
Old 04-17-2010, 04:43 PM Re: Including php
lynxus's Avatar
Awesomeo-Maximo

Posts: 1,618
Location: UK
Trades: 1
oh dear.

Its Webmasters, Not webamsters
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE



Last edited by lynxus; 04-17-2010 at 04:45 PM..
lynxus is offline
Reply With Quote
View Public Profile Visit lynxus's homepage!
 
Old 04-17-2010, 07:29 PM Re: Including php
Defies a Status

Posts: 1,606
Trades: 0
Geez. What an attitude!

Are you guys going to cry about his leaving?
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 04-17-2010, 07:52 PM Re: Including php
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
I'm beside myself with grief at the loss.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-20-2010, 10:25 PM Re: Including php
BDevil15's Avatar
Super Talker

Posts: 122
Trades: 0
You have to learn to take Chris with a grain of salt or get thicker skin... He is a terrible example of the good people and moderators here... and he is usually the first to reply to any thread...
__________________
If you think you can or think you cant, your always right!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
BDevil15 is offline
Reply With Quote
View Public Profile
 
Old 04-21-2010, 06:58 PM Re: Including php
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,384
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
He is a terrible example of the good people and moderators here
Someone has to set the standard to rise above.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 04-24-2010, 11:55 AM Re: Including php
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
Quote:
Originally Posted by lynxus View Post
Just use an iframe in a floating div.
I thought this was an awesome answer, as the guy didn't seem to want to use php includes
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE
Lashtal is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Including php
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.42227 seconds with 12 queries