ถาม หน่อยครับ php

เริ่มโดย joejung, 30 สิงหาคม 2012, 17:17:29

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

joejung


<?php
//Post Title
$ProductTile = 'Cheap {title}';


ผมจะ random คำว่า cheap เป็น buying ตัวอื่น ๆ เช่น where to buy , best buy ประมาณนี้ ต้องเขียนโค้ดเพิ่มว่าไรครับ

:wanwan017: :wanwan017:

ouiweb

อ้างถึงจาก: joejung ใน 30 สิงหาคม 2012, 17:17:29

<?php
//Post Title
$ProductTile = 'Cheap {title}';


ผมจะ random คำว่า cheap เป็น buying ตัวอื่น ๆ เช่น where to buy , best buy ประมาณนี้ ต้องเขียนโค้ดเพิ่มว่าไรครับ

:wanwan017: :wanwan017:

$array = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j");
$output = array_rand( $array , 2 );
print_r( $output[0] );

ลองดูนะครับเผื่อช่วยได้ จะ spin title เหรอครับ 555+
[direct=https://thailandherbs.wordpress.com]Pueraria Mirifica[/direct]
[direct=https://thailandreview.wordpress.com]Sardi 190[/direct]
[direct=https://siamreviews.wordpress.com]Sardi 190-Pueraria Mirifica[/direct]
[direct=https://puerariamirificapowder.wordpress.com]Pueraria Mirifica Powder[/direct]
[direct=https://addurlwebsite.wordpress.com]Research on Pueraria Mirifica[/direct]

seowizard

$strarr = Array("cheap", "best buy", "best price");
shuffle($strarr);
echo $strarr[0]." ".$title;

xvlnw.com

อ้างถึงจาก: seowizard ใน 30 สิงหาคม 2012, 17:38:44
$strarr = Array("cheap", "best buy", "best price");
shuffle($strarr);
echo $strarr[0]." ".$title;


แบบนี้แจ่มสุดครับ Confirm
[direct=https://cloudhost.in.th/wordpress-hosting]ツ ⓌⓄⓇⒹⓅⓇⒺⓈⓈ ⒽⓄⓈⓉⒾⓃⒼ [/direct] :wanwan014:  :D
[direct=https://cloudhost.in.th/cloudhosting.html]Cloud Hosting[/direct] [direct=https://cloudhost.in.th/cloudvps.html]Cloud Server[/direct] [direct=https://cloudhost.in.th/vpshosting.html]Cloud VPS Hosting[/direct] [direct=https://cloudhost.in.th/windowsvps.html]Cloud Windows[/direct] Tel: 080-348-0843 LINE: ixvlnw

c0untry-m@n

อ้างถึงจาก: xvlnw.com ใน 30 สิงหาคม 2012, 18:06:11
อ้างถึงจาก: seowizard ใน 30 สิงหาคม 2012, 17:38:44
$strarr = Array("cheap", "best buy", "best price");
shuffle($strarr);
echo $strarr[0]." ".$title;


แบบนี้แจ่มสุดครับ Confirm

คอนเฟิร์มด้วยคนครับ