Yep, this is that ugliest of ugly troubleshooting situations, but at 
least your script is short.

Start commenting out lines of code, starting from the bottom and work 
your way up.
When it stops throwing errors, you'll know where to look.

-Jeromie

>Hello Jereny,
>
>I just looked through I don't see where I would be missing one of the
>} but I did have a exacter one and I deleted it and still having the
>same issue.
>
>Any other insights on why this would happen?
>
>Sincerly,
>Christopher & Missy
>
>On 3/29/06, Jeremy McKay <[EMAIL PROTECTED]> wrote:
>  
>
>>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
>>
>>
>>
>>
>>
>>
>>
>>    
>>
>
>
>The php_mysql group is dedicated to learn more about the PHP/MySQL web 
>database possibilities through group learning.  
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>  
>



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/
 



Reply via email to