Answer the question
In order to leave comments, you need to log in
How to use MSsql through php (sqlsrv) to draw a conclusion. values in the table?
Hello, I got confused with the syntax, there is a block in which you need to display the value from one cell in the table.
$sql = "SELECT Ptittle FROM dbo.Pcontent WHERE Pname=$Fname";
$stmt = sqlsrv_query( $conn, $sql );
echo $stmt;
?>
SELECT Ptittle FROM dbo.Pcontent WHERE Pname=mopr
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question