/ Database / query.get_row

Title : query.get_row
Purpose : It Returns one single row as an array. Use when you are expecting the output to be 1 column.
Syntax :
Input Parameters : query: (int) (Required) SQL query to execute.
Return Value : It returns: Database query result in format ARRAY_A or null on failure
Example 1 :
Code :
Output :
Description : The above example code will output the SQL query result in array as shown above. The query has return one row and we can use the key directly here.


Most Popular

Leave a Reply

Your email address will not be published.