|
Displaying News on Homepage
|
|
09-25-2005, 01:05 AM
Post: #1
|
|||
|
|||
|
Displaying News on Homepage
I want to use my own homepage, and put news from MyBB on it. Anyone wanna help?
Here is the page http://www.techtabs.com/index.php (I have tried and failed )
Xbox 360 Forum |
|||
|
09-25-2005, 05:24 AM
(This post was last modified: 09-25-2005 05:42 AM by k776.)
Post: #2
|
|||
|
|||
|
RE: Displaying News on Homepage
Try:
PHP Code: <?phpThat should work. I havn't tested it though. Edit: That code above will output something similar: Quote:Forum is now open | Posted by: Admin | Replies: 34(details will change depending on the post and auther of coarse )
|
|||
|
09-25-2005, 01:20 PM
Post: #3
|
|||
|
|||
|
RE: Displaying News on Homepage
k776, I was also looking for a way to do that. I changed the variables, but I get this error.
Quote:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/x/s/xs/public_html/test/index.php on line 135 Any idea why? It seems to me that it can't do the query for some reason. |
|||
|
09-25-2005, 09:44 PM
Post: #4
|
|||
|
|||
|
RE: Displaying News on Homepage
Yea I got the same errors.
Xbox 360 Forum |
|||
|
09-26-2005, 01:04 AM
Post: #5
|
|||
|
|||
|
RE: Displaying News on Homepage
Try this:
Code: <?phpApril Fool April Fool |
|||
|
09-26-2005, 02:13 AM
Post: #6
|
|||
|
|||
|
RE: Displaying News on Homepage
Odd still dosen't work even after modfcations. Any other ideas?
Xbox 360 Forum |
|||
|
09-26-2005, 02:24 AM
(This post was last modified: 09-26-2005 02:27 AM by k776.)
Post: #7
|
|||
|
|||
|
RE: Displaying News on Homepage
Hmm. Run this (after chaning the 6 values to the correct details) and tell me the output.
PHP Code: <?php |
|||
|
09-26-2005, 09:51 AM
Post: #8
|
|||
|
|||
RE: Displaying News on Homepage
k776 Wrote:Hmm. Run this (after chaning the 6 values to the correct details) and tell me the output.Causes: Quote:Column: 'fid' in where clause is ambiguous NetAdmin @ PharosIRC irc.pharosirc.net #Help,#lobby,#linux MrStatic |
|||
|
09-26-2005, 07:25 PM
Post: #9
|
|||
|
|||
|
RE: Displaying News on Homepage
Yea thats what I get to any ideas?
Xbox 360 Forum |
|||
|
09-26-2005, 07:49 PM
Post: #10
|
|||
|
|||
|
RE: Displaying News on Homepage
Alright
Try thisPHP Code: <?phpPHP Code: <?php |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help


)




)

Try this