Good Day I am making a query from php to sql server 2005, I already made the connection and I can show a result, but if I want to add more fields I returned an error, I'm working with WebMatrix and IIS Express,
include("header.php");
include("conexion.php");
$query=sqlsrv_query($con, 'SELECT * FROM ticket');
while ($row = sqlsrv_fetch_array($query)) {
echo($row['usuario']
echo($row['area']
);
}
My fields are:
id_ticket, user, area, description, high date, end date, status, solution
I have the problem when putting the second field, I do not know how to finish the first one, try several things but it marks me error, if I only leave the user field if it shows it correctly, if I put the second one it marks syntax error, in the Documentation comes with a "."
Greetings!