Linking a site to php database

Permabanned
Joined
22 Apr 2007
Posts
1,805
I know little about php but I have uploaded my site with .php file extensions.

Primarily to somehow echo the output of form fileds to a php database.

secondly, I would like to update my 'news' pages in an easy CMS style manner.

Can anyone point me in a suitable direction to achieve this?
 
MySQL, thats what I meant. Thanks

One thing that tutorial doesnt cover (AFAICS) is how to 'Log In' to the database through a website once all the tables are set up, etc.

Any ideas?
 
so do I essentially put both your posts together and call it admin.php or something?

Then, from the login link goes off to admin.php where you enter the details and then click Submit / Login, whatever.

What would appear on the screen then?
 
am I over complicating this?

I just want to have a secure section on my site that I can add a news article to which then gets entered into the news page of my site.

I can live without the contacts thing to start with.

So, I've used phpmyadmin and created a table with 3 fields (ID, title, content).

I have created a MySQL db (news) and given it a username and password.

I've also created an HTML form (no action or method yet).

Just looking for some pointers now.

I guess to link to this article form, i could just use htaccess?

Thanks so far
 
Back
Top Bottom