PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #46819 Getting £ when using<?php include("price.php"); ?>
Submitted:10 Dec 2008 7:58am UTC Modified: 10 Dec 2008 3:20pm UTC
From:sean dot s at superior dot co dot uk Assigned to:
Status:Bogus Category:*General Issues
Version:5.2.8 OS:
View/Vote Developer Edit Submission

[10 Dec 2008 7:58am UTC] sean dot s at superior dot co dot uk
Description:
------------
Im inserting tables into my php document using the simple <?php 
include("price.php"); ?>  But it wont display the £ symbol on its own? 
It puts  before every £ symbol?  appears like this £.

Is this a bug?

Reproduce code:
---------------
<?php include("price.php"); ?>

------
price.php

<table width="73%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="7%"><table id="one-column-emphasis" summary="2007 Major
IT Companies' Profit">
    <colgroup>
    	<col class="oce-first" />
    </colgroup>
    <thead>
    	<tr>
        	<th scope="col">POSTERS</th>
            <th scope="col">50</th>
            <th scope="col">100</th>
            <th scope="col">250</th>
            <th scope="col">500</th>
            <th scope="col">1,000</th>
            <th scope="col">2,500</th>
            <th scope="col">5,000</th>
            <th scope="col">10,000</th>
    	    <th scope="col">Leadtime</th>
    	</tr>
    </thead>
    <tbody>
    	<tr>
        	<td>A4 Poster</td>
            <td>£372</td>
            <td>£393</td>
            <td>£474</td>
            <td>£649</td>
            <td>£904</td>
            <td>£1,300</td>
            <td>£2,300</td>
            <td>£3,900</td>
    	    <td>3 days </td>
    	</tr>
        <tr>
        	<td>A3 Poster </td>
            <td>£372</td>
            <td>£450</td>
            <td>£580</td>
            <td>£720</td>
            <td>£1,100</td>
            <td>£1,400</td>
            <td>£2,333</td>
            <td>£4,600</td>
            <td>3 days </td>
        </tr>
        <tr>
        	<td>A2 Poster </td>
            <td>£372</td>
            <td>£575</td>
            <td>£630</td>
            <td>£823</td>
            <td>£1,211</td>
            <td>£1,500</td>
            <td>£2,522</td>
            <td>£7,200</td>
            <td>5 days </td>
        </tr>
        <tr>
        	<td>A1 Poster </td>
            <td>£372</td>
            <td>£600</td>
            <td>£711</td>
            <td>£915</td>
            <td>£1,400</td>
            <td>£1,893</td>
            <td>£2,601</td>
            <td>£8,400</td>
            <td>5 days </td>
        </tr>
    </tbody>
</table>

Expected result:
----------------
£1.99

Actual result:
--------------
£1.99
[10 Dec 2008 3:20pm UTC] jani@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.


RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC