Hello thanks to everyone for helping me with my current issue if so could you check if this code has any vulnerabilities as-well?
  $sql="INSERT INTO  `paypal_mysqltable_name` (datenow,    item_name,   item_number,       payment_status,    payment_amount,   payment_currency,  payer_email,     payment_type,   custom, 
invoice, first_name, last_name, address_name, address_country, address_country_code, address_zip, address_state, address_city, address_street) 
            VALUES (CURRENT_TIMESTAMP,'item_name','$item_number','$payment_status', '$payment_amount','$payment_currency','$payer_email', '$payment_type','$custom' ,'$invoice','$first_name','$last_name','$address_name','$address_country','$address_country_code','$address_zip','$address_state','$address_city','$address_street')";
  $result=mysql_query($sql,$link);
Hey everyone sorry im not very accustomed to SQL and php I have turned my $link into MYSQLi like recommended but I have a problem writing the statement that I presented into this format.
    $stmt = $mysqli->prepare("
can anyone help
 
     
     
    