Page 1 of 1

Resouce id #1 error

Posted: Mon Jun 16, 2003 1:40 pm
by mccommunity
I have a function that uses a connection string. When I place the function output in my code, instead of doing the function it just displays html with <? function_name (Resource id #1, user1, nameofform); ?>

it is deciphering the second two variables but the first one it is saying that Resource id #1 thing. Why is this happening and what can I do to fix it?

Thanks,
mark

Posted: Mon Jun 16, 2003 3:14 pm
by cactus
Question: Are these:

Resource id #1, user1, nameofform

Values from your variables of your actual variables ?

Also, you may not have <? ?> short tags enabled in your php.ini.

Reference: http://uk.php.net/manual/en/function.ini-set.php

Regards,

Posted: Mon Jun 16, 2003 3:16 pm
by delorian
Give us the code :D Maybe there's to many ' or " in your script.