Cancelado

Please help Debug the PHP Update statement

Hi!

Please see SQL Update statement below. Its not working!

The problem is with the DocumentTitle which is a variable

passed from a form field. Document Title has spaces in it. Could that be the problem?

Please Help!!!

<?php

include "[url removed, login to view]";

$DocumentTitle = trim($DocumentTitle);

echo $DocumentTitle;

$conn=mysql_connect($server,$username,$password) or die("Error connecting the database!");

$db=mysql_select_db($database,$conn) or die("Error choosing the database!");

$sql="update resources SET resource_desc=$DocumentTitle WHERE resource_id = $resource_id and state_id = 'TX'";

$result=mysql_query($sql,$conn) or die("Invalid query1");

mysql_close($conn);

?>

## 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

PHP / MySQL

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: the hire source, statement problem, statement of a problem, program problem statement, problem statement, password please, it problem statement, help php, connecting to a mysql database, components of a problem statement, a problem statement, web die, php debug, update code sql, document php source, sql statement help, mysql update field, please help, update field sql field field, mysql variable help, php sql update, update server error, mysql_connect, update sql code, php mysql_query debug

Acerca do Empregador:
( 580 comentários ) Atlanta, United States

ID do Projeto: #2972061

20 freelancers estão ofertando em média $13 para este trabalho

bahe

See private message.

$25.5 USD em 1 dia
(147 Comentários)
6.5
hrumos

See private message.

$8.5 USD em 1 dia
(130 Comentários)
6.4
racvrs

See private message.

$12.75 USD em 1 dia
(236 Comentários)
6.0
SKJoy2001

See private message.

$12.75 USD em 1 dia
(81 Comentários)
5.9
techmartsol

See private message.

$6.8 USD em 1 dia
(40 Comentários)
6.0
carlspringvw

See private message.

$8.5 USD em 1 dia
(35 Comentários)
5.2
VisionInc786

See private message.

$8.5 USD em 1 dia
(27 Comentários)
5.2
lmmaximvw

See private message.

$8.5 USD em 1 dia
(96 Comentários)
4.8
sumon4work

See private message.

$5.53 USD em 1 dia
(42 Comentários)
4.7
vw2184081vw

See private message.

$12.75 USD em 1 dia
(45 Comentários)
4.7
cristiromaniuc

See private message.

$5.95 USD em 1 dia
(44 Comentários)
4.4
donnykurnia

See private message.

$3.4 USD em 1 dia
(13 Comentários)
3.9
lighty

See private message.

$17 USD em 1 dia
(6 Comentários)
1.9
fernandobrito

See private message.

$8.5 USD em 1 dia
(2 Comentários)
1.6
scriptlancevw

See private message.

$42.5 USD em 1 dia
(5 Comentários)
1.3
mhalagiera

See private message.

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

See private message.

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

See private message.

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

See private message.

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

See private message.

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