Em Andamento

PHP4/MySQL - Fix this script WILL TAKE 2 SECONDS

Fix this script. It should work as is, something is missing though the problem could be in [url removed, login to view] (of attachement) function AddFriend($who,$with,$act=0,$order) { $who=(int)$who; $with=(int)$with; $already=1; $r=query("SELECT count(*) as c FROM `table` WHERE `who`='$who' AND `with`='$with'"); $rows=mysql_fetch_array($r); if($rows['c']==0) { $s=query("SELECT count(*) as c FROM `table` WHERE `who`='$with' AND `with`='$who' AND `act`='0'"); $rowss=mysql_fetch_array($s); } if($rowss['c']==0) { return query("INSERT INTO `table` (`who`,`with`,`act`,`order`) VALUES ('$who','$with','$act','$order')"); } else { return $already; } }

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows? (depending on the nature? of the deliverables):

a)? For web sites or? other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software? installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP4/MySQL4

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: mysql gpl, hire act, gpl mysql, fix mysql query, fix a script, rows insert, mysql else insert, fix query, mysql select platform, order query platform, php4 script, php mysql select exist, insert mysql table, missing table, mysql4, mysql exist table, mysql table exist, mysql select missing table, mysql exist, script mysql query php, work order mysql, mysql fix function, mysql php insert script, will considered, mysql server side

Acerca do Empregador:
( 162 comentários ) Berlin, Germany

ID do Projeto: #2967579

Premiar a:

lmmaximvw

See private message.

$1 USD em 1 dia
(96 Avaliações)
4.8

3 freelancers are bidding on average $3 for this job

nalonso

See private message.

$3.4 USD em 1 dia
(1 Comentário)
0.0
SatishGatti

See private message.

$3.4 USD em 1 dia
(0 Comentários)
0.0