0

Do you know where is problem with this code:

I see all the time: Parse error: syntax error, unexpected ';' 2

PHP problem with this code:

if(strtoupper(preg_replace('/\s+/' ,$_POST["msg"])=="TEXT"){
$mysqli = new mysqli("localhost", "serwer33830_db", "ICh*%m@72112L@&", "serwer33830_db");

I don't know where what is wrong in line:

if(strtoupper(preg_replace('/\s+/' ,$_POST["msg"])=="TEXT"){
aynber
  • 20,647
  • 8
  • 49
  • 57
Rafał
  • 5
  • 6

1 Answers1

0
if(strtoupper(preg_replace('/\s+/' ,$_POST["msg"])=="TEXT")){

missing ) before {

Labradorcode
  • 381
  • 2
  • 14