Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Problem COMMIT Mysql JSon PHP
Thu, Oct 29 2015 7:23 AMPermanent Link

Pasquale

Web Pos srl

I have this problem

my code php is

$method = mysql_real_escape_string($_GET['method']);
if ($method == 'rows')
 {  
    $dataset = mysql_real_escape_string($_GET['dataset']);
  }
 Else
 if ($method == 'commit')
 {
  
    What I put here ?

 }

how to read the data that are passed with the COMMIT ?

I 'm using a version of php 5.3
Thu, Oct 29 2015 8:52 AMPermanent Link

Matthew Jones

Pasquale wrote:

> how to read the data that are passed with the COMMIT ?

Have you looked at the sample "PHP DataSet Manager Example"? Is that
not complete enough to show you?

--

Matthew Jones
Thu, Oct 29 2015 10:21 AMPermanent Link

Pasquale

Web Pos srl

i solved with code :


if ($method == 'commit')
 {

    $json = file_get_contents( 'php://input' );



tanks


"Matthew Jones" wrote:

Pasquale wrote:

> how to read the data that are passed with the COMMIT ?

Have you looked at the sample "PHP DataSet Manager Example"? Is that
not complete enough to show you?

--

Matthew Jones
Image