|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Netscape and php?
I have been unable to see any of my php results on Netscape...is it a problem on the server? Is it in my code? Is it from the client's settings in Netscape?
Help.
__________________
bow wow! |
|
#2
|
|||
|
|||
|
Can you post a piece of code... This is the first I've heard of this. It won't be the client's settings as PHP is a server-side language which means it's parsed and converted to HTML before sent to the browser. So all the user receives is pure HTML.
Do you use a lot of Javascript? That may be a problem... but a code snippet would help.
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
|
#3
|
|||
|
|||
|
Here is some code:
Here is some code to check. The pages look fine in netscape but the php is not showing up, no errors, just no output from mysql database that I can see in Netscape. Works great in IE. Think its a server setting? It's not my server.
Thanks. <?php $db = mysql_connect ( "name", "user", "password"); mysql_select_db("database", $db); $result = mysql_query("SELECT * FROM table ", $db); if ( $myrow = mysql_fetch_array($result)) { echo "<table border =1>\n"; echo "<tr><td><b>Assignment Name</b></td><td><b>Book</b></td><td><b>Date Assigned</b></td><td><b>Date Due</b></td><td><b>Message</b></td></tr>\n"; do { printf ("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>\n", $myrow[assign_name], $myrow[level], $myrow[date_assigned], $myrow[date_due], $myrow[message]); } while ($myrow = mysql_fetch_array($result)); echo "</tabel>\n"; } else { echo " Sorry, no records were found."; } ?> </p> </body> </html> |
|
#4
|
|||
|
|||
|
Re: Here is some code:
Quote:
Only obvious error here is the misspelling of </table>. Perhaps NS is less forgiving than IE on this ? |
|
#5
|
|||
|
|||
|
Thank you , I'll give it a try.
|
|
#6
|
|||
|
|||
|
php is never incompatiable with any browser, its either your html or javascript
since php is server side and now client side |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Netscape and php? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|