it is probably a missing closing brace and not you
mysql code
--- Christopher E <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> I just got done writing this peice of code and when
> I run it I get this:
> Parse error: parse error in
>
/home/httpd/vhosts/123.org/httpdocs/display/displayall.php
> on line 90
>
> now in the code the last line is 90 and its with a
> ?> tag
>
> here is the code with out all the fields for
> selecting and arrays
>
> ***** Start of Code! *****
>
> <?php
>
> $dbhost = 'localhost';
> $dbuser = 'NPDB';
> $dbpass = '**********';
> $dbname = 'NF-NPDB';
>
> $conn = mysql_connect($dbhost, $dbuser, $dbpass) or
> die('Error
> connecting to mysql');
> mysql_select_db($dbname);
>
> $query = "SELECT
> EIN,
> PNO,
> ICN
>
> FROM nfnpdb";
> $result = mysql_query($query);
>
> while($row = mysql_fetch_array($result,
> MYSQL_ASSOC))
> {
> echo
> "{$row['EIN']} ||" .
> "{$row['PNO']} ||" .
> "{$row['ICN']} ||";
> }
>
> // Closes the connection to the database
> mysql_close($conn);
> ?>
> ***** End of Code! *****
>
> Thanks for any help!
>
> Sincerly,
> christopher & Missy
>
>
> The php_mysql group is dedicated to learn more about
> the PHP/MySQL web database possibilities through
> group learning.
> Yahoo! Groups Links
>
>
> [EMAIL PROTECTED]
>
>
>
>
>
The php_mysql group is dedicated to learn more about the PHP/MySQL web database
possibilities through group learning.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/php_mysql/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/