php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15434 unterminated string constant
Submitted: 2002-02-07 15:52 UTC Modified: 2002-02-07 21:55 UTC
From: wborter at aem-east dot com Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.1.1 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wborter at aem-east dot com
New email:
PHP Version: OS:

 

 [2002-02-07 15:52 UTC] wborter at aem-east dot 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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-07 15:53 UTC] 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 21:55 UTC] yohgaki@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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Sep 17 17:01:28 2019 UTC