Ir para conteúdo
Fórum Script Brasil

Bruno Rocha

Membros
  • Total de itens

    2
  • Registro em

  • Última visita

Tudo que Bruno Rocha postou

  1. Bruno Rocha

    Sintaxe errada?

    Olá pessoal, Gostaria de saber se esse código tem algum erro de sintaxe? mysql_query("UPDATE $property_table SET propertyoption = " . $sql->quote ( $cgi->getValue ( "propertyoption" ) ) . ", propertytype = " . $sql->quote ( $cgi->getValue ( "propertytype" ) ) . ", propertyprice = " . $sql->quote ( $cgi->getValue ( "propertyprice" ) ) . ", propertybedrooms = " . $sql->quote ( $cgi->getValue ( "propertybedrooms" ) ) . ", propertybathrooms = " . $sql->quote ( $cgi->getValue ( "propertybathrooms" ) ) . ", propertyyearbuilt = " . $sql->quote ( $cgi->getValue ( "propertyyearbuilt" ) ) . ", propertylivingarea = " . $sql->quote ( $cgi->getValue ( "propertylivingarea" ) ) . ", propertyplotsize = " . $sql->quote ( $cgi->getValue ( "propertyplotsize" ) ) . ", propertyaddress = " . $sql->quote ( $cgi->getValue ( "propertyaddress" ) ) . ", propertylocation = " . $sql->quote ( $cgi->getValue ( "propertylocation" ) ) . ", propertypostcode = " . $sql->quote ( $cgi->getValue ( "propertypostcode" ) ) . ", shortdescription = " . $sql->quote ( $cgi->getValue ( "shortdescription" ) ) . ", longdescription = " . $sql->quote ( $cgi->getValue ( "longdescription" ) ) . ", propertystatus = " . $sql->quote ( $cgi->getValue ( "propertystatus" ) ) . ", propertyshow = " . $sql->quote ( $cgi->getValue ( "propertyshow" ) ) . ", featuredproperty = " . $sql->quote ( $cgi->getValue ( "featuredproperty" ) ) . ", virtualtour = " . $sql->quote ( $cgi->getValue ( "virtualtour" ) ) . ", propertyowner = " . $sql->quote ( $cgi->getValue ( "propertyowner" ) ) . " WHERE id = '$_POST[id]'") or die ("$DatabaseError2"); Preciso muuuuuuuuuuuuuito de ajuda. Grande abraço!
  2. Bom dia pessoal! Sou novo no fórum., E gostaria de saber como faço uma tela de edição de registros. Tenho uma tabela, e gostaria que os registros dessa determinada tabela fôssem exibidos numa tela para EDIÇÃO (atualização e exclusão) destes registros. Agradeço a todos Bruno
×
×
  • Criar Novo...