For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > September 2004 > Re: [PHP-DB] Question on Registration Method









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] Question on Registration Method
Stuart Felenstein

2004-09-26, 3:55 pm

Unknown column 'a338265f' in 'where clause' is the
latest problem (and should be the last). I had this
same error earlier while just doing a straight sql to
the database. I corrected it then by putting
apostrophes around the column name. That didn't help
here , not quotes , maybe double apostrophes?



$_GET['activate_hash])

This is where it's not picking the string correctly.

Stuart
M Saleh Eg

2004-09-26, 3:55 pm

Stuart... u got the logic now..... check ur syntax problems urself...
this is the only way ull learn it!

a hint... if ur database query is giving u errors... try echoing it
before sending it to mysql_query. ull find out the problem yourself
then.... ;)

another hint... mysql_query always returns arrays so u can check it
with is_array or count() or even with isset functions before getting
it in use. Having some error preventing mechanisms are always good.


On Sun, 26 Sep 2004 11:40:17 -0700 (PDT), Stuart Felenstein
<stuart4m@yahoo.com> wrote:
> Unknown column 'a338265f' in 'where clause' is the
> latest problem (and should be the last). I had this
> same error earlier while just doing a straight sql to
> the database. I corrected it then by putting
> apostrophes around the column name. That didn't help
> here , not quotes , maybe double apostrophes?
>
> $_GET['activate_hash])
>
> This is where it's not picking the string correctly.
>
> Stuart
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>




--
M.Saleh.E.G
97150-4779817
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com