Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Connecting php into my iphone app

I would like to know if its possible, i tried a lot but didn't achieve a connection, i already have the php file.

1 Answer

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

What exactly are you trying to achieve? You cannot simply embed a PHP file in an iPhone app. PHP is a server-side scripting language that requires a webserver.

hello Amit, thanks for the reply, im trying to create a reservation form for my clients, i want to receive the reservations on my email. is that possible? I thought i could do that with a connection from app to the php file, i already have webhosting, sorry for my bad English.

Thanks again :)

This is fantastic, but how can i add a datePicker, it's necessary.

Thanks