for replace
all spaces : ลบช่องว่างทั้งหมดในคอลัมน์
for remove all
tabs characters : ลบ tab ในคอลัมน์
for remove all
new line characters : ลบบรรทัด
for remove
first and last space(s) of column : ลบช่องว่างข้างหน้าและข้างหลังข้อมูล
|
เว็บ เขียนเว็บ เครื่องมือทำเว็บ รวมเทคนิค การทำเว็บไซต์ เขียน php html5 css3 javascript jquery ajax xml ฐานข้อมูล database mysql sql คอมพิวเตอร์ windows linux server ความรู้ทั่วไป web application cloud ทำตามได้ step by step ได้ผล 100%
12 พฤษภาคม 2559
วิธีลบช่องว่างแต่ละคอลัมน์ ในฐานข้อมูล - How to remove all whitespaces from the entire column MYSQL
21 มีนาคม 2559
Remote Desktop แบบไม่ต้องถามรหัสผ่าน
Remote Desktop แบบไม่ต้องถามรหัสผ่าน
2. แล้วทำการเพิ่มผู้ที่จะ log
in เข้ามา
คลิ๊กที่ select Remote Users ..แล้วคลิ๊กที่ add
4. เลือก find เพื่อทำการค้นหาผู้ใช้งาน
5. เมื่อเลือกผู้ใช้งานแล้วกด ok
6. ต่อมาเข้าไปที่ strat > run
แล้วพิมพ์
gpedit.msc
7. ทำการเลือก ดังภาพ
8. คลิ๊กขวาเลือก properties
แล้ว
disable แล้วกด ok
Credit : http://www.oknation.net/blog/sniperthai/2009/10/27/entry-3
15 กันยายน 2557
การสร้าง ปุ่ม submit ในรูปแบบสวยงาม ด้วย style css
input[type="submit"] {
border: 1px solid #0596AF;
color: #fff;
display:inline-block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
height: 40px;
margin-bottom: 30px;
padding: 0px 25px;
-moz-appearance: none !important;
-webkit-appearance: none !important;
appearance: none !important;
cursor: pointer;
background: #06B8D7;
background: -webkit-linear-gradient(#06B8D7, #05aac6);
background: -moz-linear-gradient(#06B8D7, #05aac6);
background: -ms-linear-gradient(#06B8D7, #05aac6);
background: -o-linear-gradient(#06B8D7, #05aac6);
background: -webkit-gradient(#06B8D7, #05aac6);
background: linear-gradient(#06B8D7, #05aac6);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
input[type="submit"]:hover {
background: -webkit-linear-gradient(#06C0E1, #05aac6);
background: -moz-linear-gradient(#06C0E1, #05aac6);
background: -ms-linear-gradient(#06C0E1, #05aac6);
background: -o-linear-gradient(#06C0E1, #05aac6);
background: -webkit-gradient(#06C0E1, #05aac6);
background: linear-gradient(#06C0E1, #05aac6);
}
input[type="submit"]:active {
-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
border: 1px solid #0596AF;
color: #fff;
display:inline-block;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
height: 40px;
margin-bottom: 30px;
padding: 0px 25px;
-moz-appearance: none !important;
-webkit-appearance: none !important;
appearance: none !important;
cursor: pointer;
background: #06B8D7;
background: -webkit-linear-gradient(#06B8D7, #05aac6);
background: -moz-linear-gradient(#06B8D7, #05aac6);
background: -ms-linear-gradient(#06B8D7, #05aac6);
background: -o-linear-gradient(#06B8D7, #05aac6);
background: -webkit-gradient(#06B8D7, #05aac6);
background: linear-gradient(#06B8D7, #05aac6);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
input[type="submit"]:hover {
background: -webkit-linear-gradient(#06C0E1, #05aac6);
background: -moz-linear-gradient(#06C0E1, #05aac6);
background: -ms-linear-gradient(#06C0E1, #05aac6);
background: -o-linear-gradient(#06C0E1, #05aac6);
background: -webkit-gradient(#06C0E1, #05aac6);
background: linear-gradient(#06C0E1, #05aac6);
}
input[type="submit"]:active {
-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
}
10 กันยายน 2557
Remove activate windows geniues windows xp sp3
1. Download XP SP3 [AntiWPA] Activator.rar at http://www.mediafire.com/download/kc5w21l91gg8r10/xpsp3.rar
2. Extract file on your computer.
3. Open folder -> Double click AntiWPA3.cmd
4. Restart your computer.
Complete.......
30 สิงหาคม 2557
How to convert an entire MySQL database characterset and collation to UTF-8
ALTER DATABASE databasename CHARACTER SET utf8 COLLATE utf8_unicode_ci; ALTER TABLE tablename CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci;
ป้ายกำกับ:
characterset,
convert,
database,
mysql,
utf8
23 สิงหาคม 2557
แสดง ip ในรูปแบบ text ตัวอักษร โดยใช้คำสั่ง ipconfig /all ในโหมด command line
วิธี การแสดงข้อมูล IP address ผ่านคำสั่ง ipconfig /all ในโหมด cmd command ให้เป็น ข้อความ สามารถนำไปใช้ได้ โดยไม่ต้องมานั่งจด
1.เข้าหน้าต่าง dos > พิมพ์ คำสั่ง ipconfig /all > details.txt > กด Enter
// คำสั่งนี้หมายถึง แสดงค่า ip ทั้งหมด โดยการสร้างไฟล์ ชื่อ details.txt (ตรงนี้ตั้งว่าอะไรก็ได้) ระบบจะำทำการใส่ข้อมูลลงไปในไฟล์ text ชื่อ details
2.ไปที่ RUN > พิมพ์คำสั่ง notepad details.txt > กด Enter
// หมายถึง เปิด ไฟล์ details.txt ใน notepad
3.ผลลัพธ์ ข้อมูล ip ในหน้าจอ dos มาเป็นไฟล์ Text สามารถ copy ไปใช้งานต่อได้แล้ว ไม่ต้องมานั่ง จดให้เสียเวลา รวดเร็วทันใจ สไตล์ IT
/* คำสั่งสามารถเพิ่มเติม option ได้ตามต้องการ เช่น จะให้เซฟไฟล์ไปไว้ที่ไหน ก็ใส่ path เช่น จาก details.txt ก็เป็น C:\document\details.txt ฯลฯ */
3 กรกฎาคม 2557
6 CSS HTML FORM STYLES
Smart Green
Smart green is perfect for soft green backgrounds. Copy CSS below in your project, change the class name of the form to “smart-green” to achieve this stylish form.
/*######## Smart Green ########*/
/*######## Smart Green ########*/
.smart-
green
{
width
:
400px
;
margin-right
:
auto
;
margin-left
:
auto
;
background
:
#FFF
;
padding
:
30px
30px
20px
30px
;
box-shadow: rgba(
194
,
194
,
194
,
0.7
)
0
3px
10px
-1px
;
-webkit-box-shadow: rgba(
194
,
194
,
194
,
0.7
)
0
3px
10px
-1px
;
font
:
12px
Arial
,
Helvetica
,
sans-serif
;
color
:
#666
;
border-radius:
5px
;
-webkit-border-radius:
5px
;
-moz-border-radius:
5px
;
}
.smart-
green
h
1
{
font
:
24px
"Trebuchet MS"
,
Arial
,
Helvetica
,
sans-serif
;
padding
:
20px
0px
20px
40px
;
display
:
block
;
margin
:
-30px
-30px
10px
-30px
;
color
:
#FFF
;
background
:
#9DC45F
;
text-shadow
:
1px
1px
1px
#949494
;
border-radius:
5px
5px
0px
0px
;
-webkit-border-radius:
5px
5px
0px
0px
;
-moz-border-radius:
5px
5px
0px
0px
;
border-bottom
:
1px
solid
#89AF4C
;
}
.smart-
green
h
1
>span {
display
:
block
;
font-size
:
11px
;
color
:
#FFF
;
}
.smart-
green
label {
display
:
block
;
margin
:
0px
0px
5px
;
}
.smart-
green
label>span {
float
:
left
;
margin-top
:
10px
;
color
:
#5E5E5E
;
}
.smart-
green
input[type=
"text"
], .smart-
green
input[type=
"email"
], .smart-
green
textarea, .smart-
green
select {
color
:
#555
;
height
:
24px
;
width
:
96%
;
padding
:
3px
3px
3px
10px
;
margin-top
:
2px
;
margin-bottom
:
16px
;
border
:
1px
solid
#E5E5E5
;
background
:
#FBFBFB
;
outline
:
0
;
-webkit-box-shadow:
inset
1px
1px
2px
rgba(
238
,
238
,
238
,
0.2
);
box-shadow:
inset
1px
1px
2px
rgba(
238
,
238
,
238
,
0.2
);
font
:
normal
14px
/
14px
Arial
,
Helvetica
,
sans-serif
;
}
.smart-
green
textarea{
height
:
100px
;
padding-top
:
10px
;
}
.smart-
green
select {
background
:
url
(
'down-arrow.png'
)
no-repeat
right
, -moz-linear-gradient(
top
,
#FBFBFB
0%
,
#E9E9E9
100%
);
background
:
url
(
'down-arrow.png'
)
no-repeat
right
, -webkit-gradient(linear,
left
top
,
left
bottom
, color-stop(
0%
,
#FBFBFB
), color-stop(
100%
,
#E9E9E9
));
appearance:
none
;
-webkit-appearance:
none
;
-moz-appearance:
none
;
text-indent
:
0.01px
;
text-
overflow
:
''
;
width
:
100%
;
height
:
30px
;
}
.smart-
green
.button {
background-color
:
#9DC45F
;
border-radius:
5px
;
-webkit-border-radius:
5px
;
-moz-border-border-radius:
5px
;
border
:
none
;
padding
:
10px
25px
10px
25px
;
color
:
#FFF
;
text-shadow
:
1px
1px
1px
#949494
;
}
.smart-
green
.button:hover {
background-color
:
#80A24A
;
}
More details : http://www.sanwebe.com/2013/10/css-html-form-styles
สมัครสมาชิก:
บทความ (Atom)