If I put this code, if(ds="rut|")return; with =
the submit button don't work, so alert(ds); don't give me any result.
If I use this code, if(ds=="rut|")return; with "=="
the submit button work, and alert(ds); show me a pop with this rut%7C%7C (when search box is empty), if I put an id the alert code show me a pop up windows with the di, like this rut%7C98765432-1%7C. (id 98765432-2)
The administrator has disabled public write access.
Re:Display Data After Submit, but ....
2 years 11 months ago #1889
In that case you will need to adjust that code. Probably with another if clause. You could say
You could use alert(id) to check what the id is in the case of the current table that you are using.
However I must warn you that this method that I proposed is not 100 percent safe. One could still get to your data if he puts a bit effort into the thing. If this is an important information that you are tying to hide, you will have to adjust the php code as well.