Newbie technical difficulty here. Hope I can explain this clearly. in My DB, I have snFreq, snFreq2, snFreqIV, snFreqTube, snFreqTrach, snFreqCath, snFreqWound, and snFreqOstomy.
I am using some ready-made code and it was using implode & explode functions to assign tags to photos, tags users typed in.
Given the following array: Array ( [143] => Car #1 [144] => Car #2 [145] => Car #3 ) I am currently using this
Not sure if there a way of doing this, but I can insert multiple categories into MYSQL, using : GetSQLValueString(implode($_POST[\'r_category\'],\", \"), \"text\"),
I have an array of strings, and these strings have spaces in them. For example: $arr = array(\'bob\', \'john smith\', \'grease monkey\', \'etc\');
Which of these options is more optimal? imploding in MySQL $rsFriends = $cnn->Execute(\'SELECT CAST(GROUP_CONCAT(id_friend) AS CHAR) AS friends
I\'m trying to store the results of a short form to a flat-file (e.g. a .text file). The file will be imported into Excel as a delimited file. The form has checkboxes so it can be set into an array:
I have a script with a query that gathers information from a db from two separate tables using a join. Now I want to inse开发者_StackOverflowrt those 2 arrays and their values side by side inside a ne
I am trying to create an array from a MySQL query that I have. This is to update facebook status\' with the access tokens I have stored in my MySQL database.
I\'m looking for the most elegant way to implode a vector of strings into a string. Below is the solution I\'m using now: