Jump to content

result into an array...?


dayk995

Recommended Posts

I have the following php code.

 

 

<?php

include("clsMySQL.php");

 

$x = new clsMySQL;

$sSQL = " SELECT name FROM general.parts_vendors WHERE name LIKE '".$term."%' LIMIT 1; ";

$result =  $x->ExecuteQuery("general", $sSQL);

return $result[0];

?>

 

 

 

 

i'm not sure exactly how to store all the results into a variable, if there's a way to do it, how could i store the results into an array?

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/82571-result-into-an-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.