2 Replies - 368 Views - Last Post: 18 October 2017 - 08:38 AM Rate Topic: -----

#1 ishaq1   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 13-October 17

please Help Need All webmasters

Posted 17 October 2017 - 11:33 PM

Please I develope a site on my computer which I use a html and css programming language.
All the basic requirement are set in every pages
like admin, index.html, contact.html, login.html, reg.html and so on.
All the pages are well organize.

I have even move the site down to a free hosting so that I can test it if it is working, and is works like crazing.
But my problem now, I want to create a php which I can use it to fetch post out of the database and display it out on the index.html.
Please I don't know how to go about that
help me.

Is This A Good Question/Topic? 0
  • +

Replies To: please Help Need All webmasters

#2 andrewsw   User is offline

  • Bouncy!
  • member icon

Reputation: 6563
  • View blog
  • Posts: 26,615
  • Joined: 12-December 12

Re: please Help Need All webmasters

Posted 17 October 2017 - 11:45 PM

Question moved to PHP forum.

Most tutorials are not just about PHP but about "PHP and MySql". If you haven't done so already, pick up a book or find online tutorials. (I am curious how you got to where you are without a book or tutorial(s).)

Basically, your request is too broad for a forum question.
Was This Post Helpful? 0
  • +
  • -

#3 CTphpnwb   User is offline

  • D.I.C Lover
  • member icon

Reputation: 3796
  • View blog
  • Posts: 13,742
  • Joined: 08-August 08

Re: please Help Need All webmasters

Posted 18 October 2017 - 08:38 AM

Deprecated MySQL functions are simpler to use (not counting all the sanitizing you need to add) than PDO or MySQLi prepared statements, but far less secure. That's why they've been deprecated. If you're just learning PHP you should start with
When dealing with old code that uses deprecated MySQL functions you should replace them if possible. If it's not possible, your experience with PDO or MySQLi will benefit you when dealing with MySQL functions.

The PDO tutorial above is a good place to start.

Remember that you're going to need a server with PHP installed, and that you need to access the files through the server.

This post has been edited by CTphpnwb: 18 October 2017 - 08:38 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1