DiscoTrio Posted December 10, 2009 Share Posted December 10, 2009 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? Link to comment https://forums.phpfreaks.com/topic/184699-how-do-i-write-multiple-numbers-into-databse-from-php/ Share on other sites More sharing options...
will35010 Posted December 10, 2009 Share Posted December 10, 2009 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 Link to comment https://forums.phpfreaks.com/topic/184699-how-do-i-write-multiple-numbers-into-databse-from-php/#findComment-975074 Share on other sites More sharing options...
DiscoTrio Posted December 10, 2009 Author Share Posted December 10, 2009 Ive looked at that, but for a first question, how would you check and see if a number (or charecter) is in a mysql field? Link to comment https://forums.phpfreaks.com/topic/184699-how-do-i-write-multiple-numbers-into-databse-from-php/#findComment-975080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.