Good catch.

It was off.

I'll leave it off.  I believe in the full <?php    ?>

thanks!


On Thu, Jan 27, 2011 at 2:28 PM, Alvaro Carrasco <[email protected]> wrote:
> Do you have short_open_tags enabled on the new server?
>
> On Thu, Jan 27, 2011 at 2:10 PM, Merrill Oveson <[email protected]> wrote:
>> Here's what I had:
>>
>>   ?>
>>   <br class="clear" />
>>
>>   <img src=includes/line_graph.php?xaxis=<? echo $monthSerial; ?>
>>   &passdata_1=<? echo $data2010Serial; ?>
>>   &passdata_2=<? echo $data2011Serial; ?>
>>   &datasets=<? echo $dataSets; ?>
>>   &width=<? echo $width; ?>
>>   &height=<? echo $height; ?>
>>   &y_axis_format=<? echo $y_axis_format; ?>
>>   &lmargin=<? echo $lmargin; ?>
>>   &rmargin=<? echo $rmargin; ?>
>>   &tmargin=<? echo $tmargin; ?>
>>   &bmargin=<? echo $bmargin; ?>
>>   &lcolor_1=<? echo $lcolor_1; ?>
>>   &lcolor_2=<? echo $lcolor_2; ?>
>>   >
>>
>>  </div>
>>  <?php include("includes/footer.php"); ?>
>>
>>
>> Here's what I changed it to:
>>
>>   <br class="clear" />
>>
>>   <?php
>>   print "<img src=includes/line_graph.php?xaxis=" . $monthSerial;
>>   print "&passdata_1=" . $data2010Serial;
>>   print "&passdata_2=" . $data2011Serial;
>>   print "&datasets=" . $dataSets;
>>   print "&width=" . $width;
>>   print "&height=" . $height;
>>   print "&y_axis_format=" . $y_axis_format;
>>   print "&lmargin=" . $lmargin;
>>   print "&rmargin=" . $rmargin;
>>   print "&tmargin=" . $tmargin;
>>   print "&bmargin=" . $bmargin;
>>   print "&lcolor_1=" . $lcolor_1;
>>   print "&lcolor_2=" . $lcolor_2;
>>   print ">";
>>   ?>
>>
>>   </div>
>>   <?php include("includes/footer.php"); ?>
>>
>> Seems like the same code to me.  The change worked.
>> What's weird is the first code worked on my sandbox and other server.
>> Then I get another server, and the first code won't work.
>> Then second code works on everything.
>> I like the second code better anyway.
>>
>> Am I not seeing something?
>>
>>
>> Merrill
>>
>> On Thu, Jan 27, 2011 at 11:56 AM, Kirk Cerny <[email protected]> wrote:
>>> Firebug shows the html after firefox attempts to render it.
>>> If you have malformed html, firefox will show the "fixed" version.
>>> This includes moving attributes around, and adding nodes.
>>> If you just perform a regular view source you should see what it really is.
>>>
>>> Kirk Cerny
>>>
>>> On Thu, Jan 27, 2011 at 11:47 AM, Merrill Oveson <[email protected]> wrote:
>>>> Uphpuers:
>>>>
>>>> I've got the following code:
>>>>
>>>> <?php
>>>> print "<img src=\"includes/line_graph.php?xaxis=\"";
>>>> print $monthSerial;
>>>> ?>
>>>>
>>>>
>>>> Now when I look at the results in firebug I see the following:
>>>>
>>>> <img ; }="" december= "" ; i:11;s:...... 
>>>> src="includes/line_graph.php?xaxis=">
>>>>
>>>> Why is it putting the "src=" clear at the end.
>>>>
>>>>
>>>> I'll recently installed a new server with all the latest code.  Is
>>>> this a bug in php?
>>>>
>>>> Merrill
>>>>
>>>> _______________________________________________
>>>>
>>>> UPHPU mailing list
>>>> [email protected]
>>>> http://uphpu.org/mailman/listinfo/uphpu
>>>> IRC: #uphpu on irc.freenode.net
>>>>
>>>
>>
>> _______________________________________________
>>
>> UPHPU mailing list
>> [email protected]
>> http://uphpu.org/mailman/listinfo/uphpu
>> IRC: #uphpu on irc.freenode.net
>>
>

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to