i want to pass my params into stored procedure in SQL server but it seems like i can't do this nicely
this is my php code for executing procedure in SQL server
$area = $_GET['area'];
$SQL = "Read_Location_Area";
$result = sqlsrv_query($conn, $SQL);
and this is the script for SQL server procedure
USE [DP_Rozakana]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[Read_Location_Area]
as
BEGIN
select * from Locations where Areas = '$area'
END
finally the sql response for searching data from "Locations" table where Areas like $area(string), not a value from PHP