Search found 95 matches
- Wed Nov 09, 2005 5:40 pm
- Forum: PHP - Code
- Topic: delete statement isn't working... why?
- Replies: 23
- Views: 913
here is all the code on the page. include_once ( 'xmlparser.php' ); include_once ( 'mysql_func.inc.php' ); $data = file_get_contents ( 'rpdf.xml' ); $data = process_xml ( $data ); $hold = array (); $x = 0; foreach ( $data['ROOT'] AS $rn => $rv ) { if ( is_array ( $rv ) ) { foreach ( $rv AS $pn => $p...
- Wed Nov 09, 2005 5:38 pm
- Forum: PHP - Code
- Topic: delete statement isn't working... why?
- Replies: 23
- Views: 913
lol, no kidding!!! i am Looping through a XML page and grabbing data then i use the data in the XML array to check against the database. If the XML Product id matches the database product id then.. move data from BC database to archive then delete it then insert new records from XML sheet. that simp...
- Wed Nov 09, 2005 5:31 pm
- Forum: PHP - Code
- Topic: delete statement isn't working... why?
- Replies: 23
- Views: 913
- Wed Nov 09, 2005 5:29 pm
- Forum: PHP - Code
- Topic: delete statement isn't working... why?
- Replies: 23
- Views: 913
- Wed Nov 09, 2005 5:03 pm
- Forum: PHP - Code
- Topic: delete statement isn't working... why?
- Replies: 23
- Views: 913
delete statement isn't working... why?
once again ... $move = array(); $f_move = array(); if(in_array($p_id, $DB_IDList)) { $db_row = mysql_fetch_row($all_rows); array_map('mysql_real_escape_string', $db_row); $move[] = "'', "."'".implode("', '", $db_row)."'"; $f_move[] = "(".implode(', '...
- Wed Nov 09, 2005 4:35 pm
- Forum: PHP - Code
- Topic: formatting mysql fetch with "'"
- Replies: 10
- Views: 572
LOL I feel like a retard... My brain is fried!! I read over array_map and realized that about 2 seconds after i posted that!!! code now looks like $move = array(); $f_move = array(); if(in_array($p_id, $DB_IDList)) { $db_row = mysql_fetch_row($all_rows); $dbf_row = array_map('mysql_real_escape_strin...
- Wed Nov 09, 2005 4:18 pm
- Forum: PHP - Code
- Topic: formatting mysql fetch with "'"
- Replies: 10
- Views: 572
- Wed Nov 09, 2005 4:12 pm
- Forum: PHP - Code
- Topic: formatting mysql fetch with "'"
- Replies: 10
- Views: 572
- Wed Nov 09, 2005 3:42 pm
- Forum: PHP - Code
- Topic: formatting mysql fetch with "'"
- Replies: 10
- Views: 572
- Wed Nov 09, 2005 2:44 pm
- Forum: PHP - Code
- Topic: formatting mysql fetch with "'"
- Replies: 10
- Views: 572
- Wed Nov 09, 2005 1:59 pm
- Forum: PHP - Code
- Topic: formatting mysql fetch with "'"
- Replies: 10
- Views: 572
formatting mysql fetch with "'"
now i am running into a problem with 's when i do a fetch_rows and then go to move info to anothe DB it doesn't take the rows that contain words like America's Here is the code $move = array(); $f_move = array(); if(in_array($p_id, $DB_IDList)) { $db_row = mysql_fetch_row($all_rows); $move[] = "...
- Wed Nov 09, 2005 1:09 pm
- Forum: PHP - Code
- Topic: What am i missing in this MySQL statement?
- Replies: 23
- Views: 1262
- Wed Nov 09, 2005 12:55 pm
- Forum: PHP - Code
- Topic: What am i missing in this MySQL statement?
- Replies: 23
- Views: 1262
- Wed Nov 09, 2005 12:53 pm
- Forum: PHP - Code
- Topic: What am i missing in this MySQL statement?
- Replies: 23
- Views: 1262
- Wed Nov 09, 2005 12:24 pm
- Forum: PHP - Code
- Topic: What am i missing in this MySQL statement?
- Replies: 23
- Views: 1262