Jump to content

Mysql insert


Ondrej

Recommended Posts

Hello. I am sending a link to insert a record into MySql in php crip.... It doesn't work for me...

link: htp................hhhhhhhhh.online/novycisalk.php?klucik=klklklkl,&name=aaaaaaaa

PHP script:

novyphp.png.759f7fb21cf01f6712b3b7da1adf4eaa.png

Link to comment
Share on other sites

Do you have php error checking enabled?  I dont think so.

How do you know that $_POST['nazov'] actually exists?

What is this line supposed to do for you?  : if ($klucik = $SQLKEY)   I ask that since this is an assignent, not a valid test which I think is what you are looking for.

I could probably go on but these 2 lines are enough for now.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.