Welcome Guest, Not a member yet? Register   Sign In
wordpress data in codeigniter project
#9

(This post was last modified: 01-14-2017, 02:17 AM by skunkbad.)

(01-14-2017, 12:24 AM)shakeelahmed.cfs Wrote:
(01-13-2017, 10:21 PM)enlivenapp Wrote: If you're going to do it REST API style, take a look at Phil Sturgeon's REST client library.  

https://github.com/philsturgeon/codeigniter-restclient

yeah both the blogs are on the same server and i dont know how to make remote  mysql access connections that u were talking about.

can i do it in this way like i know the database username and password of my wordpress blog so is there anything i can do it with this piece of information

Since both blogs are on the same server, you don't need a remote connection. You should just be able to make the connection from CI to the wordpress database. Simple to achieve just following the documentation in the user guide. I've already given you some code that should work instantly, and you'll need to find out the rest on your own. It's 1:15am here, and I've got to get to bed.
Reply


Messages In This Thread
RE: wordpress data in codeigniter project - by skunkbad - 01-14-2017, 02:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB