RandomOck Posted September 25, 2008 Share Posted September 25, 2008 (Please read all the way through) Hi, I'm new to PHP and basically wondering what the most efficient/practical way of making a news post is as someone with no background in PHP? I have a website - http://www.snackpatrol.com/ and I basically want news posts that look exactly like those posted up there but obviously...done in PHP, not html. Is there a script I could get that would easily keep the format for the rest of the page AND the font/fontsize/colors/bg images etc. of the news post area itself or would I be better off just learning PHP? The main goal is to have them up and running but if it's easy enough to learn how to do it myself I might as well, as I'll probably have other PHP stuff on there in the long run. If a script can do it just fine, I'm sure I could learn the basics in time just by looking at/fooling around with the code. What do you guys think the best road is for me to take? Also, those posts are obviously fake/filler and sorry if I offended anyone by their inane subject matter, haha. Quote Link to comment https://forums.phpfreaks.com/topic/125818-bestmost-practical-way-to-make-a-news-post/ Share on other sites More sharing options...
Maq Posted September 25, 2008 Share Posted September 25, 2008 To keep the format you have to use HTML. Look up CSS (cascading style sheets). This will keep everything consistent and easy to change. PHP is good for the dynamic content but not necessary for news posts. If you are referring to RSS feeds, like news from other sites onto yours, then you should do it in PHP. It's quite simple: IBM RSS tutorial. But there are many free RSS feeders out there. I think I may still be confused as to exactly what you're looking for... Quote Link to comment https://forums.phpfreaks.com/topic/125818-bestmost-practical-way-to-make-a-news-post/#findComment-650580 Share on other sites More sharing options...
RandomOck Posted September 25, 2008 Author Share Posted September 25, 2008 well I mean, not "make my news posts look the best", i mean, I want to be able to write in a form somewhere my news post, and have it show up on the front page. I've seen a collection of html and php files zipped up that some guy had and his demo of it on his site looked great (for instance, one file you ENTERED posts one, one was the actual page), but I've long lost that during a bunch of reformatting. Basically something to output a news post I entered, into that format onto the page. And possibly say, after like a few posts it moves the old ones to another page (the archive section) Quote Link to comment https://forums.phpfreaks.com/topic/125818-bestmost-practical-way-to-make-a-news-post/#findComment-650583 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.