Jquery UI slider question

Is there a way to have a php variable be the value for a jquery vertical slider? I know you can set a value for the slider to start at, but if I have a specific number that is stored in a variable can it be used to supply the hieght the vertical slider should display? if so how do you do it?