General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 7th, 2003, 05:29 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Lightbulb Create an easy "News System"

I want to design a very easy news system to report short news in my index page. I would like it to look like this:

//

$SectionName > NewsTitle
--------------------------------------------
Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here. Text of the news goes here.

//

Thats it, very simple one, No comments or complicated large codes.

But i still need help to do it. I'm very new to php, and i don't know how to do an script myself w/o any help.

I only want 3 files in order to complete this project: db_config.php, addnews.php, index.php. I only will need help to write addnews.php and the index.php.

If i can use any tutorial or can have any help from any one, please!!!.

Reply With Quote
  #2  
Old March 7th, 2003, 05:45 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
That is what i got for the Addnews.php
PHP Code:
<?php
$text_news 
"text of the news variable";
echo 
"<form name=\"form1\" method=\"post\" action=\"\">
                    Sección: 
                    <select name=\"menu1\" id=\"seccion\">
                      <option selected>- Pick up -</option>
                      <option>Network</option>
                      <option>Anime</option>
                      <option>Games</option>
                      <option>Anouncement</option>
                    </select>
                    <br>
                    Texto de la notica:<br>
                    <textarea name=\"textarea\" cols=\"80\" rows=\"10\" id=\"$texto_news\"></textarea>
                    <br>
                    <input type=\"submit\" name=\"Submit\" value=\"Submit\">
                    <input type=\"reset\" name=\"Submit2\" value=\"Reset\">
                  </form></td>
"
;
?>

Reply With Quote
  #3  
Old March 10th, 2003, 02:42 PM
CHornJr's Avatar
CHornJr CHornJr is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2002
Location: New York City
Posts: 236 CHornJr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 1 h 50 m 19 sec
Reputation Power: 6
Send a message via AIM to CHornJr Send a message via MSN to CHornJr Send a message via Yahoo to CHornJr
This is something I am currently working on. Although what I am doing seems to be a little bit more complicated then what you want. But oce I get mine done I'll let you know what i did
__________________
CHornJr
"One day I'll know what I am doing"
My Blog
Suanhacky Lodge #49
Rebel Squadrons

Reply With Quote
  #4  
Old March 10th, 2003, 06:18 PM
EJViper EJViper is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Caracas, Venezuela
Posts: 17 EJViper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to EJViper
Oh Thank you very much i'd love to. thanx

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Create an easy "News System"


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT