Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Yan

Pages: [1]
1
Discussion & Troubleshooting / How i get a current user ID ?
« on: December 20, 2009, 12:59:24 PM »
I need to get current user ID, and paste it to template like member.php?id=$current_user_id

2
I have a problem. My Mysql server use default character utf-8, and I use the cp1251 character
How do I prescribe in a script, equating to character cp1251?

This example  for the forum vb
mysql_query ("set character_set_client='cp1251'");
mysql_query ("set character_set_results='cp1251'");
mysql_query ("set collation_connection='cp1251_general_ci'");

P.S sorry for my bad English  :oops:

Pages: [1]