|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15435 unterminated string constant
Submitted: 2002-02-07 15:53 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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
6 + 3 = ?
Subscribe to this entry?

 [2002-02-07 15:53 UTC] wborter at aem-east dot com
$query = "select swlicid,swdes,swlicnum from softwarelic order by swdes";


			$swlicnum = $row["swlicnum"];
			$swdes = $row["swdes"];
			$swlicid = $row["swlicid"];

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

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

	{$table_block .= "<tr><td><span class='block' STYLE='cursor:hand'><p onclick=swliccpulist(\"$swlicid\")>$swdes</p></span></td><td>$swlicnum</td><td>$liccount</td></tr>";
$table_block .= "<tr><td><span class='block' STYLE='cursor:hand'><p onclick=swliccpulist(\"$swlicid\")>$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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-07 21:55 UTC]
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
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 04 04:01:27 2023 UTC