/    Sign up×
Community /Pin to ProfileBookmark

Forum editing help

alright, I have a page built that will allow me to post an announcement on a forum, but I need to be able to edit and delete posts.

Problem is that I have no idea how to do this with php…

The code for posting is attatched below here.

[upl-file uuid=645093d3-1176-481b-990e-a8c0ba6ffd19 size=1kB]addannouncement.txt[/upl-file]

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogApr 19.2005 — Basically, read the entry from your database and put it into your form:
[code=php]
$result = mysql_query("SELECT blah blah blah...");
$row = mysql_fetch_assoc($result);
echo "<textarea name=description>{$row['description']}</textarea>n";
echo "<input type=text name=date value='{$row['date']}>n";
[/code]
Copy linkTweet thisAlerts:
@ZlordauthorApr 21.2005 — Thank you for your help ?
×

Success!

Help @Zlord spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...