•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 375,171 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,140 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 3073 | Replies: 2
![]() |
•
•
Join Date: Apr 2004
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
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.
•
•
Join Date: Feb 2003
Location: London, England
Posts: 281
Reputation:
Rep Power: 7
Solved Threads: 6
•
•
Join Date: Apr 2004
Posts: 7
Reputation:
Rep Power: 0
Solved Threads: 0
Of course, the code is:
<code>
<html>
<body>
<form action="be.php" method="POST">
<select name="cod">
<?
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 "<option value='".$row['cod']."'> ".$row['cod']."</option>";}
?>
</select>
<br><br>
Valoare colet in cifre: <input type="text" name="valoare"><br>
Valoare colet in litere: <input type="text" name="valoarelit"><br>
Ramburs colet in cifre: <input type="text" name="ramburs"><br>
Ramburs colet in litere: <input type="text" name="ramburslit"><br>
<BR><BR>
<input type="submit" name="unicas" value="Tipareste BE Unicas">
<br><br>
<input type="submit" name="unicas_la" value="Tipareste BE M.P. la Unicas">                       
<br><br>
<input type="submit" name="consel" value="Tipareste BE Conselectrom">                        
<br><br>
<input type="submit" name="consel_la" value="Tipareste BE M.P. la Conselectrom">       
</form>
</body>
</html>
</code>
<code>
<html>
<body>
<form action="be.php" method="POST">
<select name="cod">
<?
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 "<option value='".$row['cod']."'> ".$row['cod']."</option>";}
?>
</select>
<br><br>
Valoare colet in cifre: <input type="text" name="valoare"><br>
Valoare colet in litere: <input type="text" name="valoarelit"><br>
Ramburs colet in cifre: <input type="text" name="ramburs"><br>
Ramburs colet in litere: <input type="text" name="ramburslit"><br>
<BR><BR>
<input type="submit" name="unicas" value="Tipareste BE Unicas">
<br><br>
<input type="submit" name="unicas_la" value="Tipareste BE M.P. la Unicas">                       
<br><br>
<input type="submit" name="consel" value="Tipareste BE Conselectrom">                        
<br><br>
<input type="submit" name="consel_la" value="Tipareste BE M.P. la Conselectrom">       
</form>
</body>
</html>
</code>
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
- Apache (Linux Servers and Apache)
- php5 and phpmyadmin?? (PHP)
- php/mysql full text search help (PHP)
- Upadating booking page with php (PHP)
- Complete List of Mysql Commands for PHP tokenization script. (PHP)
- Can't see MySql records using PHP with any browser (MySQL)
Other Threads in the PHP Forum
- Previous Thread: PHP email problem
- Next Thread: phpBB thread archive


Linear Mode