dave0matic
New Coder
Hello!
I ran into this situation that I've never seen before and I'm rather at a loss on how to handle it
This will NOT pass the syntax check because of the mixed quotes in the string.
Even tried concatenating quotes to the beginning and end
So how does one use this? Still surprised that I haven't had this problem ever occur before!
Thank you for any help/tips/tricks!
Regards,
Dave
I ran into this situation that I've never seen before and I'm rather at a loss on how to handle it
PHP:
$s = "Based on an image I found. Hopefully it says, "Backup, I'll cut you!"";
This will NOT pass the syntax check because of the mixed quotes in the string.
Even tried concatenating quotes to the beginning and end
PHP:
$s = """ . "Based on an image I found. Hopefully it says, "Backup, I'll cut you!" . """;
So how does one use this? Still surprised that I haven't had this problem ever occur before!
Thank you for any help/tips/tricks!
Regards,
Dave