Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delphi to mysql via php/web 1

Status
Not open for further replies.

dx111ge

Programmer
Sep 4, 2002
62
EU
is there any way to do this ? Any examples or so on ?

Thanks
 
If you mean is it possible to write a Delphi program that communicates with a server side PHP script that accesses a server side MySQL database then the answer is Yes.

I have written several applications that do this. I use the Indy IdHTTP component in the Delphi application to send and receive requests / data.


Andrew
Hampshire, UK
 
Hi Andrew,

Yes, thats what i try to do. Is there any free example available ?

Thanks in advance
 
I don't know of any (free) examples. I suggest you do a Google search.

Which bit are having a problem with?

Delphi

Indy components

PHP

or

MySQL

Andrew
Hampshire, UK
 
i tried to send a statement to php, this works, i got the returncode and the data are still in the database, but how can i get more than the resultcode, for example, i start a query, on which way i can get the result ?
 
dx111ge,

I have written some FAQs under the heading Delphi, PHP and MySQL. Hopefully they will help you get you started. Let me know if they address your problem - you can send me comments by clicking on the appropriate link at the bottom of the FAQ.

Andrew
Hampshire, UK
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top