This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void IterateThroughList(List<String> Items, String FileName){ | |
String[] ByteCode = null; | |
String Value; | |
for(String S : Items){ | |
ByteCode = S.split(":"); | |
ByteCode[0] = ByteCode[0].replace(":", ""); | |
System.out.println("Length: " + ByteCode[0].length() + ":" + ByteCode[0] + ":"); | |
OpCodes OP = new OpCodes(); //pan gangnam style | |
FileWrite FW = new FileWrite(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void IterateThroughList(List<String> Items, String FileName){ | |
String[] ByteCode = null; | |
String Value; | |
for(String S : Items){ | |
ByteCode = S.split(":"); | |
System.out.println(ByteCode[0]); | |
OpCodes OP = new OpCodes(); //pan gangnam style | |
FileWrite FW = new FileWrite(); | |
if(ByteCode[0].equals("ADD")){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$artist = "Nickelback"; | |
DB::delete('Albums', "Artist=%s", $artist); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$artist = "Amber Rubarth"; | |
$album = "A Common Case Of Disappearing"; | |
DB::insert('Albums' array( | |
"Artist" => $artist, | |
"Album" => $album)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$artist = "The Verve Pipe"; | |
$query = DB::query("SELECT * FROM Albums WHERE artist=%s", $artist); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static $dbName = ''; | |
public static $user = ''; | |
public static $password = ''; | |
public static $host = ''; | |
public static $port = null; | |
public static $encoding = 'latin1'; |
NewerOlder