<?php
sprintf("SELECT `Company_Name`, `Address1`, `Address2`, `Address3`, `Town`, `County`, `Post_Code`, `Telephone`, `URL`, `SIC_Code`, `SIC_Description` FROM `Data1` WHERE (company_name like '%%s%' or `SIC_Description` like '%%s%') and (`Town` like '%s%' or `Post_Code` like '%s%' )", $findWhat, $findWhat,$findWhat, $findWhat);
Warning: Undefined variable $findWhat in /in/uBOJ4 on line 2
Warning: Undefined variable $findWhat in /in/uBOJ4 on line 2
Warning: Undefined variable $findWhat in /in/uBOJ4 on line 2
Warning: Undefined variable $findWhat in /in/uBOJ4 on line 2
Fatal error: Uncaught ValueError: Unknown format specifier "a" in /in/uBOJ4:2
Stack trace:
#0 /in/uBOJ4(2): sprintf('SELECT `Company...', NULL, NULL, NULL, NULL)
#1 {main}
thrown in /in/uBOJ4 on line 2
Process exited with code 255.
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Warning: sprintf(): Too few arguments in /in/uBOJ4 on line 2
Output for 7.3.32 - 7.3.33
Warning: sprintf(): Too few arguments in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Warning: sprintf(): Too few arguments in /in/uBOJ4 on line 2
Output for 4.3.0 - 4.3.1
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Notice: Undefined variable: findWhat in /in/uBOJ4 on line 2
Warning: sprintf() [http://www.php.net/function.sprintf]: Too few arguments in /in/uBOJ4 on line 2