Jump to content

How do I write multiple numbers into databse from php...?


DiscoTrio

Recommended Posts

K, I have a user table in place a field named template....

 

I want to start storing values like 1, 5, 7, 2  But I need a way to write one at a time, say 1, 5, was in the database.  I want to add a 7, how would I do that from php?

 

The later I want to get these values back seperately...  How can I use a php script to check if a certain number is in a mysql field?

What code are you having a problem with?

 

You need to look at the mysql or mysqli functions to accomplish what you need.

 

http://php.net/manual/en/book.mysql.php

 

http://php.net/manual/en/book.mysqli.php

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.