954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Can't see mysql records using php in any browser

Hy, I have a PHP raport and I'm using a MySQL database. That raport have to show me information from database. These information from database I only can see them with Internet Explorer (I'm using it to show me the output from my PHP program). If I want to see information from my database with Mozilla or Opera or Netscape or other browser...the browser doesn't show me those information from MySQL database. Can anyone tell me why? Thanks.

monicao
Newbie Poster
9 posts since Apr 2004
Reputation Points: 10
Solved Threads: 0
 

Could we see the code for this report?

Roberdin
Supreme Evil Overlord
Team Colleague
282 posts since Feb 2003
Reputation Points: 63
Solved Threads: 6
 




<?
mysql_connect("localhost","root","");
mysql_select_db("posta1");
$sql="select * from firme order by cod asc";
$resursa=mysql_query($sql);
while($row=mysql_fetch_array($resursa))
{print " ".$row['cod']."";}
?>



Valoare colet in cifre:

Valoare colet in litere:

Ramburs colet in cifre:

Ramburs colet in litere:




                       


                       


       

monicao
Newbie Poster
9 posts since Apr 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You