this is my Code and the error:
FATAL ERROR syntax error, unexpected ‘is’ (T_STRING) on line number 16
Thanks for sharing your code!
Can you press the </> and re-paste the code (from a formatted version)? It’s not really legible as is.
No, no, no, no, and no.
Where did you find this piece of code, and how old is the resource?
You’re attempting to use mysql_connect.
mysql_connect — Open a connection to a MySQL Server
I appreciate your willingness to learn PHP. That’s great! However, please try to find up-to-date resources when attempting such scripts. This is, first of all, deprecated, and not even secure. Of course you could not know this without researching the topic a little bit, and that’s fine.
Please forget everything you ever read about this piece of code, and mysql_connect.
Instead, learn how to use PDO, the much better alternative.
Everything you need is here: https://phpdelusions.net/pdo
Hope this helps you!