Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  

Как вывести КЛЮЧ массива по его ЗНАЧЕНИЮ?

Recommended Posts

Здравствуйте. Мне нужно вывести ключ массива по его значению, как это можно сделать?


		\IPS\Request::i()->month = '5';
		\IPS\Request::i()->year = '5';
		$sqlCurrentDate = " AND month='" . $month . "' AND year='" . $year . "' ";


Вместо 5 должен быть ключ текущего значения $month и $year соответственно.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...