when i add some query i get this error WARNING: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in line 13 of file SmartyNoWrite.class.php(216) : eval()'d code how could i fix it?
above message means that you have an error in your mysql query. use mysql_error to output error message.
after i put mysql_error, i got these Parse error: syntax error, unexpected T_STRING in /home/kankerku/public_html/member/smarty/SmartyNoWrite.class.php(216) : eval()'d code on line 13
sorry, but without some specifics of what you are doing it is really difficult to assist you. 1. sounds like you are writing some PHP code? Are you writing a plugin? Are you modifying existing core code (if so, what code are you modifying and what is the EXACT modification you are making. 2. What is the exact SQL query that you are trying to run. Post your code here.