Hey guys,
just tried again to do this with the help of my boyfriend.
He managed to edit the files and he added the fields to my cutenews administration.
So whenever I write a new post or want to edit an existing one, the fields are there.
Problem: They don't save their content.
When I type something in and press "add" it doesn't save. Instead of my text "-title" or "-source" is standing there. The two new datas are called "game-title" and "news-source".
is there a problem with the names or can it be something differrent?
We asked ourselves if it's right so delete the slashes at the end for example in step 1:
fwrite($news_file, "$added_time|$member_db[2]|$title|$short_story|$full_story|$manual_avatar|$nice_category||\n");
to
fwrite($news_file, "$added_time|$member_db[2]|$title|$short_story|$full_story|$manual_avatar|$nice_category|$newdata|\n");
So there would be one missing.
Our code looks like this:
fwrite($news_file, "$added_time|$member_db[2]|$title|$short_story|$full_story|$manual_avatar|$nice_category|$game-title|$news-source|\n");
Hope you can help me.
Thank you!