function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vishal Gaddi6Vishal Gaddi6 

Pushing Salesforce data to a website's database

Hi everyone


I need to push data from salesforce (on an event) to a website.... if anyone of you have done some work like this, juss let me know....




Thanx in advance



Do you mean using PHP or Apex?

Vishal Gaddi6Vishal Gaddi6

i need it using Apex... moreover i also need to know that how to read tht data on the php page...


You can send data from Apex to PHP using Apex Web Service callouts. 


You could set up a web service in PHP (REST is easiest) to receive the data from Apex. 


Take a look at the Apex documentation for Web Service methods.