This topic is locked

Openquery

7/4/2018 10:38:22 PM
PHPRunner General questions
S
Sidewinder author

anyone have any luck using openquery request to see if a record exists before adding? using the following command. it working in SQL with the real value.
$strSQLExists = "Select From OpenQuery(Line, 'SELECT FROM testcp.order where order='".$values["order"]."')";

$rsExists = db_query($strSQLExists,$conn);

$data=db_fetch_array($rsExists);

Sergey Kornilov admin 7/5/2018

What is OpenQuery and why would you need it?