[query mysql] String Functions
sumber:http://dev.mysql.com/doc/refman/5.0/en/string-functions.html
Name |
Description |
ASCII() | Return numeric value of left-most character |
BIN() | Return a string containing binary representation of a number |
BIT_LENGTH() | Return length of argument in bits |
CHAR_LENGTH() | Return number of characters in argument |
CHAR() | Return the character for each integer passed |
CHARACTER_LENGTH() | A synonym for CHAR_LENGTH() |
CONCAT_WS() | Return concatenate with separator |
CONCAT() | Return concatenated string |
ELT() | Return string at index number |
EXPORT_SET() | Return a string such that for every bit set in the value bits, you get an on string and for every unset bit, you get an off string |
FIELD() | Return the index (position) of the first argument in the subsequent arguments |
FIND_IN_SET() | Return the index position of the first argument within the second argument |
FORMAT() | Return a number formatted to specified number of decimal places |
HEX() | Return a hexadecimal representation of a decimal or string value |
INSERT() | Insert a substring at the specified position up to the specified number of characters |
INSTR() | Return the index of the first occurrence of substring |
LCASE() | Synonym for LOWER() |
LEFT() | Return the leftmost number of characters as specified |
LENGTH() | Return the length of a string in bytes |
LIKE | Simple pattern matching |
LOAD_FILE() | Load the named file |
LOCATE() | Return the position of the first occurrence of substring |
LOWER() | Return the argument in lowercase |
LPAD() | Return the string argument, left-padded with the specified string |
LTRIM() | Remove leading spaces |
MAKE_SET() | Return a set of comma-separated strings that have the corresponding bit in bits set |
MATCH | Perform full-text search |
MID() | Return a substring starting from the specified position |
NOT LIKE | Negation of simple pattern matching |
NOT REGEXP | Negation of REGEXP |
OCT() | Return a string containing octal representation of a number |
OCTET_LENGTH() | A synonym for LENGTH() |
ORD() | Return character code for leftmost character of the argument |
POSITION() | A synonym for LOCATE() |
QUOTE() | Escape the argument for use in an SQL statement |
REGEXP | Pattern matching using regular expressions |
REPEAT() | Repeat a string the specified number of times |
REPLACE() | Replace occurrences of a specified string |
REVERSE() | Reverse the characters in a string |
RIGHT() | Return the specified rightmost number of characters |
RLIKE | Synonym for REGEXP |
RPAD() | Append string the specified number of times |
RTRIM() | Remove trailing spaces |
SOUNDEX() | Return a soundex string |
SOUNDS LIKE | Compare sounds |
SPACE() | Return a string of the specified number of spaces |
STRCMP() | Compare two strings |
SUBSTR() | Return the substring as specified |
SUBSTRING_INDEX() | Return a substring from a string before the specified number of occurrences of the delimiter |
SUBSTRING() | Return the substring as specified |
TRIM() | Remove leading and trailing spaces |
UCASE() | Synonym for UPPER() |
UNHEX() | Return a string containing hex representation of a number |
UPPER() | Convert to uppercase |
[srcipt] merefresh iframe only once
tadinya mau ngintip tracking jne, tp klo di direct link si jne nya pelit gk ngasih munculnya not found terus.
(dulu sih bisa, dulu mah cukup pake file get content ato curl aja)
coba tes direct link ke http://www.jne.co.id/index.php?mib=tracking.detail&awb=2255835010009
untuk pertama kali pastti not found tpi klo sudah refresh baru deh data di tampilkan.
berikut contoh potongan scriptnya
<noframes> <body> Your browser does not support frames. </body> </noframe> < i frame id="homepage" src="http://www.jne.co.id/index.php?mib=tracking.detail&awb=<?=$resi?>" width="98%" height="100%" frameborder="0"> </iframe> <script> setTimeout(function(e){ var frame=$("#homepage") frame.attr('src',frame.attr('src')); },1000); setTimeout(function(e){ var frame=document.getElementById('homepage') frame.src=frame.src; },2000); </script>
contoh penggunaan:
http://www.bajusupermurah.com/awb.php?r=2255835010009 [ralat sudah gk pake iframe lagi]
This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
bla..bla..blaa
Reason
The utility cannot function properly without Microsoft Visual C++ libraries.
Solution
You should install Visual C++ in the operating system.
Download and install:
Microsoft Visual C++ 2005 SP1 Redistributable Package
Microsoft Visual C++ 2008 SP1 Redistributable Package
Start the prrgram again.
ok semoga berhasil