Ross wrote:
When I try to insert a field into my database it shows as Resource id#21?
I must be doing something dim.
Indeed you are; perhaps if you show a code snippet someone can guide you to
the light :-)
Cheers
--
David Robley
Do not believe in miracles -- rely on them.
--
PHP
I was using the variable $link in a form. is it a reserved word or
something??
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was using the variable $link in a form. is it a reserved word or
something??
Most likely the var $link is being used for db-operations (or similiar)
previously, thus the return value of any resource-based operation is passed
to the var $link. Check the all the scripts that are involved in
When trying to do this query:
$rsum =mysql_query(SELECT SUM(rating) FROM ratings where threadid = $ratevar)or
die (mysql_error());
This is the output:
Resource id #15
or some other seemingly arbitrary Resource ID number?
First of all what is a resource ID and second how do I get it to actually
4 matches
Mail list logo