Mobile Apps General Question

This is totally new to me.

Im hiring a freelance IOS and Android developer to develop mobile apps.
Im a php developer and I work with SQL and PHP only .
All the websites I build are dynamic with a custom built CMS.

my functions look like this:

# copy right notice
function get_copy(){
	$strSQL="SELECT * FROM lead_main WHERE main_id=1";
	$objRS=mysql_query($strSQL);
	while($row=mysql_fetch_object($objRS)){
			echo $row->main_copyright;
	}
}

Open in new window


The developer asked me for APIs to get info from the DB that the client fills through the Sites CMS so he can feed the app.

Whats an API?
Will it work with my function structure?
An example how to turn this simple function into an API would be grand.

Thanks
LVL 1
zahimezherAsked:
Who is Participating?
 
stergiumCommented:
hello.
well a good place to start would be here
http://net.tutsplus.com/tutorials/php/creating-an-api-centric-web-application/

oversimplified in the end think of a long get parameter  that you will expect before you show or get any data .
i hope that helped
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.