13.11.2014, 19:25 
	
	
	
		to make it easier, you can just do
You should also use %e instead of %s.  Also, consider using a newer version of mysql.  Check your mysql log (its a text file) and paste any errors here as well.  If it's a syntax error, mysql will give it in the log, instead of the compiler.
	
	
	
	
pawn Код:
format(query,sizeof(query),"SELECT * FROM pinfo WHERE Name = '%s'",pname);


