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
How to display only 10 results with this PHP RSS script.
Old 03-15-2008, 11:24 PM Re: How to display only 10 results with this PHP RSS script.
Skilled Talker

Posts: 79
Name: ian
Trades: 0
Quote:
Originally Posted by NullPointer View Post
Try this version:
It gave me this error: Fatal error: Call to undefined function doouput() in /home/collegec/public_html/testmain233.php on line 222

Line 222 is: doOuput(10);
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
 
Register now for full access!
Old 03-16-2008, 12:00 AM Re: How to display only 10 results with this PHP RSS script.
NullPointer's Avatar
Will Code for Food

Posts: 2,784
Name: Matt
Location: Irvine, CA
Trades: 0
That's just a typo on my part. Just put the t in output on the last line and it will be fixed. That one you should have been able to figure out yourself, I understand that you don't know php but at least work with me here (no offense )
__________________

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
NullPointer is online now
Reply With Quote
View Public Profile Visit NullPointer's homepage!
 
Old 03-16-2008, 02:21 AM Re: How to display only 10 results with this PHP RSS script.
Skilled Talker

Posts: 79
Name: ian
Trades: 0
I can't believe I missed that. I guess I was just over thinking it.

The updated code hasn't given me any errors, however it also isn't displaying anything. My page loads fine, but its blank where the RSS feed should be displaying. Any thoughts on what could cause this?
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Old 03-16-2008, 11:30 AM Re: How to display only 10 results with this PHP RSS script.
QiSoftware's Avatar
Skilled Talker

Posts: 74
Location: U.S.
Trades: 0
I would initialize a counter to 0, increment within your while loop and make a condition of the while loop-- the counter must be less than or equal to 10.

Q...
__________________


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
QiSoftware is offline
Reply With Quote
View Public Profile Visit QiSoftware's homepage!
 
Old 03-16-2008, 04:39 PM Re: How to display only 10 results with this PHP RSS script.
Skilled Talker

Posts: 79
Name: ian
Trades: 0
Quote:
Originally Posted by QiSoftware View Post
I would initialize a counter to 0, increment within your while loop and make a condition of the while loop-- the counter must be less than or equal to 10.

Q...
I appreciate your response, but to be honest, I don't understand it.
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Old 03-17-2008, 08:11 PM Re: How to display only 10 results with this PHP RSS script.
Skilled Talker

Posts: 79
Name: ian
Trades: 0
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Old 03-18-2008, 11:58 PM Re: How to display only 10 results with this PHP RSS script.
Skilled Talker

Posts: 79
Name: ian
Trades: 0
Can anyone help me out?
collegec is offline
Reply With Quote
View Public Profile Visit collegec's homepage!
 
Reply     « Reply to How to display only 10 results with this PHP RSS script.

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.25931 seconds with 11 queries