Ask coding questions

← Back to all posts
Updating a database using variables.
druceb

Have tried multiple online solutions for updatign a database using a variable but none have worked. Please help!!

The code for updating is in the update procedure.

Voters
McJoe21
druceb
Comments
hotnewtop
McJoe21

I have had similar problems with nodejs

xolyon

I am not sure but I think you need to have a global variable in your function ...

druceb

@xolyon I would try this but I don't see how this would help plus you shouldn't really use global variables in programs. Thanks anyway