javascript to submit to a page to edit item from list returned from a database query.

D

dsbsolutions

Hi, I am making a webpage that can query a database table of employees
and return them in a html table. Currently I have submit buttons beside
each employee to open the page to edit their details. I have been using
php/HTML to do this, but wondered if it is safe to use javascript to
just click on the name of the employee to jump to the edit page. I've
been looking on the web for sometime about how to do this without any
luck. Any thoughts?
 
B

Barlow

JavaScript is not a very safe way to code things like employee
information. However, if the page is password protected with php, or
some other server side langauge, then using JavaScript on that page may
be ok. The biggest problem with JavaScript safety is that anyone are
view your source code and know how to hack the script.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,433
Messages
2,571,683
Members
48,796
Latest member
Greg L.

Latest Threads

Top