Re: To check for existing user in database

From: Date: Fri, 16 Jan 2009 19:03:30 +0000
Subject: Re: To check for existing user in database
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-286516@lists.php.net to get a copy of this message
On Fri, Jan 16, 2009 at 13:35, <chandan9sharma@yahoo.com> wrote: > Hi Daniel, > > Thanks for your help, I appreciate it. My pleasure, Chris. Please keep all replies on-list, though, so that others from the list - and, for the future, in the archives - can benefit from the discussion. > I went through the entire instructions, and I am glad to say that I have developed a lot of > understanding about PHP code which I earlier not had. Glad to hear it. This list - and most of the folks who participate - are an invaluable resource. > While trying to run this code I am getting this error Parse error: syntax error, unexpected > $end in /www/folder/file on line 60. > > What could be causing this error, any idea would help. In general, that error indicates that there is a closing curly brace ( } ) that is missing from the code. IMPORTANT NOTE AND DISCLAIMER: All code sent to this list is a sort of pseudo-code used for educational purposes only. NEVER copy and paste code from this or any other source without first evaluating it yourself for security and bugs. That said, I did indeed miss a closing brace after the following line: echo "We're sorry. We're experiencing temporary issues with our database. We are working to repair this problem.\n"; -- </Daniel P. Brown> daniel.brown@parasane.net || danbrown@php.net http://www.parasane.net/ || http://www.pilotpig.net/ Unadvertised dedicated server deals, too low to print - email me to find out!

« previous php.general (#286516) next »