Hi,
I wouldn't use latexit for this type of job. Better to submit the equation directly to latex.codecogs.com. So try:
<label class="width30Percent">Question</label>> <div> <p><?php echo $data['Question']['question_text'] ?></p> <img src="latex.codecogs.com/gif.latex?<?php echo $data['Question']['formula'] ?> </div>I'm assuming in your database you have some 'question text' and also the latex for a 'formula'.