Jump to content

Printing Array *SOLVED*


scottybwoy

Recommended Posts

How do I get to see the result of this Array :
[code]
<?php
echo "You searched for $company";

  $this->appCon();

  $sql = mssql_query("SELECT * FROM customers WHERE company = '" . $company . "'")
  or die("Customer query failed");

  $recordset_array = mssql_fetch_assoc($sql);
  print "This Array contains $recordset_array ";
?>
[/code]
All it prints is this :

You searched for CYMAR ELECTRONICS LTDThis Array contains Array

I just want to test that it is returning the right info
Link to comment
https://forums.phpfreaks.com/topic/26812-printing-array-solved/
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.