473,405 Members | 2,279 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

submit/edit article

13
Hey people..

I've done a little programing in html, php and mysql..and could need som help now..please..

I have created an submit form where users can write their own article(only if they are loged in)..But i don't know where this form should send the info if I want it to pubslish on my page (like wikipedia)..it's not in an mysql table..right?

And when the article is published, I want the user (who wrote it) to later edit the article if needed..

Any help here?

I would be thankfull for any help here..

Skuer
Feb 5 '08 #1
7 2259
Amzul
130 100+
Hey people..

I've done a little programing in html, php and mysql..and could need som help now..please..

I have created an submit form where users can write their own article(only if they are loged in)..But i don't know where this form should send the info if I want it to pubslish on my page (like wikipedia)..it's not in an mysql table..right?

And when the article is published, I want the user (who wrote it) to later edit the article if needed..

Any help here?

I would be thankfull for any help here..

Skuer
i think a good way will be
give the author option to uplad a file and insert the contant of this file to mysql
mysql can handle long text
Feb 5 '08 #2
Markus
6,050 Expert 4TB
Hey people..

I've done a little programing in html, php and mysql..and could need som help now..please..

I have created an submit form where users can write their own article(only if they are loged in)..But i don't know where this form should send the info if I want it to pubslish on my page (like wikipedia)..it's not in an mysql table..right?

And when the article is published, I want the user (who wrote it) to later edit the article if needed..

Any help here?

I would be thankfull for any help here..

Skuer
The form should, indeed, be saved into the database; then you can have a dynamic webpage.
Feb 6 '08 #3
skuer
13
i think a good way will be
give the author option to uplad a file and insert the contant of this file to mysql
mysql can handle long text
The form should, indeed, be saved into the database; then you can have a dynamic webpage.

Interesting, when your talking about file, is this a special kind of file type?

I want this page to do most of it's work by it self.. So I don't have to take theese files and put them out on a the page..

Any suggestions on code i could us for uploading it to mysql, and than automaticly it can appear on a web page?

Thanks for the answers so far :D

Skuer
Feb 6 '08 #4
nomad
664 Expert 512MB
Hey people..

I've done a little programing in html, php and mysql..and could need som help now..please..

I have created an submit form where users can write their own article(only if they are loged in)..But i don't know where this form should send the info if I want it to pubslish on my page (like wikipedia)..it's not in an mysql table..right?

And when the article is published, I want the user (who wrote it) to later edit the article if needed..

Any help here?

I would be thankfull for any help here..

Skuer
Yes its in a db.
I would look at a forum site to get an ideal on how they created one.
I use once called phpbb.com

nomad
Feb 6 '08 #5
skuer
13
Yes its in a db.
I would look at a forum site to get an ideal on how they created one.
I use once called phpbb.com

nomad
It's possible to see the code with phpbb?

Skuer
Feb 7 '08 #6
Markus
6,050 Expert 4TB
It's possible to see the code with phpbb?

Skuer
phpbb is an open source project, so, yes - and it's free i believe.
Feb 7 '08 #7
skuer
13
phpbb is an open source project, so, yes - and it's free i believe.
I have read through it, and it's a lot of codes...

But i didn't get much knowledge out if it..

I still don't know how the code should be, to send the file to table (mysql)..

Or how the code should be so it can appear on the php page..

Or with the option for editing the article later...

Looks like a tough job..

Any help?

Thanks so far..

Skuer
Feb 7 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Richard B. | last post by:
Hi, Currently designing/building my first class/template driven site. Inside a PHP form a list of article titles are displayed along with the first two lines of the article. When the user...
0
by: Stephen Witter | last post by:
I have two asp pages. Both have similar purposes. I am trying to get the inline frame in both pages to update (submit) when a user clicks on a drop-down box (I would prefer the change or after...
4
by: Eric | last post by:
Hey Everyone.. I have a form that has approximately 7 text fields and 1 checkbox. Generally when this form is submitted(to itself BTW) it works fine, however, when the checkbox is only field...
3
by: Cezar | last post by:
Hi! Firstly I have to tell that my english isn't perfect, so forgive me for that. Second: I have little problem with this code: <a href="javascript:;" title="Edit"...
4
by: gimme_this_gimme_that | last post by:
Hi, This is sort of a : How to build a Yes/No dialog box qquestion. Or perhaps a question about getting javascript variables from a pop-up window and processing them on a submit. This is...
5
by: rjames.clarke | last post by:
I have the following. $result=mysql_query($sql); $nrows=mysql_num_rows($result); for ($i=0;$i<$nrows;$i++) { $row_array=mysql_fetch_row($result); echo "<form name='testform'...
12
by: Daniel Klein | last post by:
I'm pretty new at php and web stuff so please be gentle with me. I'm trying to get a form to submit when the user presses the Enter key. I do not want to use javascript. I've googled this to...
1
by: arggg | last post by:
I created a submit form that calls a javascript:AjAX Command that will call the data and submit it without have the page refresh. This works perfect in Firefox however in IE and Opera when the...
5
by: Rider | last post by:
Hi All, Here is the reason why i ak asking for ur help. I have a edit form in which the values already stored in DB are populated. User can edit some or all the values in the form. then he...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.