input box

Hi!

I need a command to store in a var the string writed in an inputbox
gdialog --inputbox "Enter your project name"
but how do I store in the var?

thnks

$ var=`zenity --entry --text "Enter your project name"`
$ echo $var
my project

Hey! Thanks a lot! works perfectly

Now I have other problem

can I do a

$ var=`zenity --entry --text "Enter your project name"`
and in the same window print a list like:
ssh admin@192.168.1.100 "ls /home/admin"
in the window
Is that possible?