OnTriggerEnter not working

Hi I’m new to unity, I am trying to get a platform to raise up once the player hits a cube.
I am using onTriggerEnter in C#, but it doesn’t seem to be working.
I have istrigger set on the cube and I have label the player with the “Player” tag, however nothing happens.
Here is my code:

using UnityEngine;
using System.Collections;

public class Lift : MonoBehaviour {

public GameObject bridge = null;
float temp;

void Start()
{
	temp = bridge.transform.position.y;
}

void onTriggerEnter(Collider other)
{
	if (other.gameObject.tag == "Player") 
	{
		temp += bridge.transform.position.y + 10;
		Debug.Log("Did you make it here?");
	}
}

}

I’ve been here I think.
at a guess your collider needs to be set to “is trigger” (a checkbox on your collider).
at a guess this will negate it’s use as a platform which means you’ll need another collider that isn’t a trigger on an empty GameObject inside your platform GameObject.
It’ll also need to be smaller than your trigger collider or you may not get a trigger.
finally your gameObject.tag may be wrongly spelled etc.

OnTriggerEnter
{
//do stuff here
}

You forgot the CAPITAL “O” for On.