Jump to content

[SOLVED] Problem Getting Search To Work


stevesimo

Recommended Posts

Hi, I have a database page which all I am trying to do is display a count of all the records contained in the table.  Although my code seems to be working the count isn't being returned.

 

Here is my code:

 

  $border = mysql_query("SELECT * from orders");
  $orders = mysql_fetch_object($border); 
  $results = $orders->num_rows;
[code]

Can anyone see what is wrong with this as I am not sure what I am doing wrong.

Thanks

Steve

[/code]

Link to comment
https://forums.phpfreaks.com/topic/43965-solved-problem-getting-search-to-work/
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.