Jump to content

Set table variable in MySQL with php


Donald8274

Recommended Posts

Hello, I just started learning SQL / PHP. I need to know how to set a variable in a column through PHP. I have manually set "credits" to 100 and I'd like to take 10 off that number every time and set the number in the database. The database table is "test". Thanks for any help.

Link to comment
https://forums.phpfreaks.com/topic/242652-set-table-variable-in-mysql-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.