Bug #15434 Updated: unterminated string constant

From: Date: Fri, 08 Feb 2002 02:55:42 +0000
Subject: Bug #15434 Updated: unterminated string constant
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-79627@lists.php.net to get a copy of this message
 ID:               15434
 Updated by:       yohgaki@php.net
 Reported By:      wborter@aem-east.com
 Status:           Bogus
 Bug Type:         Output Control
 Operating System: Windows 2000
 PHP Version:      4.1.1
 New Comment:

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php


Previous Comments:
------------------------------------------------------------------------

[2002-02-07 15:53:44] mfischer@php.net

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

------------------------------------------------------------------------

[2002-02-07 15:52:12] wborter@aem-east.com

	while($row=mysql_fetch_array($result))
	{
			$swlicnum = $row["swlicnum"];
			$swdes = $row["swdes"];
			$swlicid = $row["swlicid"];

			$query2 = "select count(*) from software where swdes =
'".$swdes."'";
			$result2=mysql_query($query2);

			$liccount = mysql_result($result2, 0, 0);

			if($swlicnum!=$liccount)
			{
			$table_block .= "<tr><td><span class='block'
STYLE='cursor:hand'><p
onclick=swliccpulist(\"$swdes\")>$swdes</p></span></td><td>$swlicnum</td><td>$liccount</td></tr>";
			}
			else
			{
			$table_block .= "<tr><td><span class='block'
STYLE='cursor:hand'><p
onclick=swliccpulist(\"$swdes\")>$swdes</p></span></td><td>$swlicnum</td><td>$liccount</td></tr>";
			}



	}

///////////////////////////////////////

When generating the table if swdes = WINDOWS 2000 
I get a unterminiated string constant

If I change the field to swdes = WINDOWS aaaa 
it works fine




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15434&edit=1



Thread (3 messages)

« previous php.dev (#79627) next »