Đang Thực Hiện

Convert PHP code block to Coldfusion

Hi,

I am using a jquery auto-complete and need to convert this PHP code block to Coldfusion so it works in my application:

$suggestions = "";

$data = "";

$query = "SELECT id, name FROM clients WHERE name LIKE '%".$_REQUEST['query']."%' ";

$cliente = mysql_query($query);

while($linha = mysql_fetch_array($cliente)) {

$suggestions .= "'".nl2br($linha['name'])."', ";

$data .= "'".nl2br($linha['id'])."', ";

}

echo "{ query:'".$_REQUEST['query']."',suggestions:[".substr($suggestions,0,-2)."],data:[".substr($data,0,-2)."] }";

The auto-complete is here:

[url removed, login to view]

I will supply my SQL query (which I need a little help with too) once this task is assigned.

I need this task done now - well in the next couple hours - so don't bid if you're going to bed!

Thanks,

jo

Kỹ năng: Nhiệt hạch lạnh, PHP, SQL

Xem thêm: convert php coldfusion code, convert php code coldfusion, php autocomplete, convert coldfusion code php, convert php coldfusion, sql code, data convert, block, autocomplete suggestions php, projects php sql, autocomplete suggestions, data coldfusion, fusion help, autocomplete select, php projects sql, php coldfusion, jquery autocomplete suggestions, little sql, jquery autocomplete using, jquery using autocomplete, php jquery autocomplete, little code, convert cold fusion, convert sql code, convert help

Về Bên Thuê:
( 78 nhận xét ) Kuranda, Australia

Mã Dự Án: #1057875

Đã trao cho:

donquist

Hello, I saw your request come through, already converted it and is ready.

$40 USD trong 0 ngày
(1 Đánh Giá)
1.2

2 freelancer đang chào giá trung bình $45 cho công việc này

MakeYouBelieve

Hi Sir, I'm expert in ColdFusion/PHP/SQL/Jquery. Ready to start right now. Thanks.

$50 USD trong 0 ngày
(32 Đánh Giá)
4.5