In my database, I need to get all of the database fields into variables. I do this using the expand command, like this:
This command seems to easy to me... is it inefficent, or bad in anyway?PHP Code:$result = mysql_query("select Product_Type, Product_Name FROM products where Product_ID=$pid");
extract(mysql_fetch_array($result));





Bookmarks