Đã hoàn thành

Convert PHP code block to Coldfusion


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!



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

Xem nhiều hơn: convert php coldfusion code, convert php code coldfusion, convert php code coldfusion code, php autocomplete, id to code, convert coldfusion to php, convert coldfusion code php, convert php coldfusion, Sql code, php code, data convert, convert php, 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

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

ID dự án: #1057875

Được trao cho:


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

$40 USD trong 0 ngày
(1 Nhận xét)

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


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

$50 USD trong 0 ngày
(32 Nhận xét)