mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	use PDO functions
This commit is contained in:
		
							parent
							
								
									ba4ce247fa
								
							
						
					
					
						commit
						3649c653a2
					
				|  | @ -70,10 +70,9 @@ if($rec = $res->fetch(PDO::FETCH_ASSOC)) { | |||
| 				$query = trim($query); | ||||
| 				if (!empty($query)) { | ||||
| 					echo $query."<br />"; | ||||
| 					$db->exec($query); | ||||
| 
 | ||||
| 					if ($db->ErrorNo()<>0) { | ||||
| 						$errorMsg .= $db->ErrorMsg() . "<br/>"; | ||||
| 					if(false === $db->exec($query)) { | ||||
| 						$e = $db->ErrorInfo(); | ||||
| 						$errorMsg .= $e[2] . "<br/>"; | ||||
| 					} | ||||
| 				} | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann