GetDotted Domains

Viewing Thread:
"Stupid Friggin' PHP Include"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Mon 12/07/04 at 22:25
Regular
"previously phuzzy."
Posts: 3,487
Quick PHP question : why does aforementioned statement make the rest of the code below it not appear?

eg.



<-- this won't appear


However,


<-- will appear

<-- this won't appear


But I need to have stuff below the statement appear! Help!
Mon 12/07/04 at 22:25
Regular
"previously phuzzy."
Posts: 3,487
Quick PHP question : why does aforementioned statement make the rest of the code below it not appear?

eg.



<-- this won't appear


However,


<-- will appear

<-- this won't appear


But I need to have stuff below the statement appear! Help!
Mon 12/07/04 at 22:31
Regular
"Chavez, just hush.."
Posts: 11,080
If you're writing in PHP, just use // or # to comment your work.
Mon 12/07/04 at 22:45
Regular
"previously phuzzy."
Posts: 3,487
I might have put that badly, let me try again.

The include (as in ) statement basically stops the rest of the page from loading, anything before it works fine..

Is that better?
Mon 12/07/04 at 22:53
Regular
"Chavez, just hush.."
Posts: 11,080
In that case I have no idea.

Does the page you're including have anything in it that may end the page? Or are there any errors in it?
Mon 12/07/04 at 22:56
Regular
"previously phuzzy."
Posts: 3,487
I'm doing a walkthrough of the page, specifically the query that is answered, looking for syntax errors.

I'll keep ye updated.
Mon 12/07/04 at 22:59
Regular
"Jog on, sunshine"
Posts: 8,979
Don't know if it helps, but I use:





And I have no problems.
Mon 12/07/04 at 23:04
Regular
"Chavez, just hush.."
Posts: 11,080
Someone forgot their ;!

Parse error, nooooooooooooooooo!
Mon 12/07/04 at 23:26
Regular
"previously phuzzy."
Posts: 3,487
Coding am teh worstest.

Some of it works, some of it doesn't. Must be something really dumb.
Mon 12/07/04 at 23:46
Regular
"Eff, you see, kay?"
Posts: 14,156
Check the source output for errors. Most likely you either have a syntax error somewhere which is stopping the output, but the error is being hidden, or some part of your code is calling die (or its synonyms).
Tue 13/07/04 at 16:30
Regular
"PC Gaming Founder"
Posts: 2,136
phuzzy wrote:
> I might have put that badly, let me try again.
>
> The include (as in > stops the rest of the page from loading, anything before it works
> fine.

If you've copied that line directly from your code listing, it's slightly wrong. The correct syntax should be:



phi11ip wrote:
> Someone forgot their ;!
>
> Parse error, nooooooooooooooooo!

That wouldn't be the case in this example, as there's only one line of code.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Excellent
Excellent communication, polite and courteous staff - I was dealt with professionally. 10/10
Many thanks!!
Registered my website with Freeola Sites on Tuesday. Now have full and comprehensive Google coverage for my site. Great stuff!!
John Shepherd

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.