Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

How do I use PHP to contain logic and database operations?

I am new to PHP and expect to use DreamWeaver to write an iPhone app. But when I look at PHP I see marked up HTML and do not yet have a feeling for the server side computations.

Please send me sample links that can show me code which executes on the server to set field values, for example, from a database.

Thanks.
SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of curiouswebster

ASKER

If my target platforms are iPhone and Android, I presume I would use SQLLite. And I suppose I have no worries of a SQL injection attack.

Regarding your post, I still do not see code logic which I would need in order to manipulate the data. So I guess the answer is Javascript, right?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
But I did see in your last posted link that I can get some amount of logic into a PHP function. I guess PHP's more powerful that I had thought it was.

Thanks!
It's a full programming language.  Not sure what led you to think otherwise.