Boa noite, Sou estudante de sitemas para web. Estou iniciando em php. Preciso conectar com o banco e dados (postgresql) e nem sei como começar. Tenho um servidor apache 2.2-11 configurado com php 5.2.9-1 e tenho um pgadmim 8.3. Não sei bem como usar as três ferramentas em conjunto. Tenho este formulário html: E preciso agora inserir nele os comando corretos para que ele conecte o banco de dados, o qual já criei com uma tabela chamada AUTOMOVEIS + as colunas ( marca, cor,ano,preço,tipo demotor,modelo,itens opcionais). Peço a gentileza de alguém que com experência gostaria de com prazer me ajudar. Desde já agradeço. <html> <body font color="blue" size=''5" >CADASTRO DE AUTOMÓVEIS</size></font> <form name="CONCESSIONARIA DE VEICULOS"> <table border="3" width="300" bordecolor="gren"> <tr> <td width="15%"> Marca </td width="85%"> <td> <input type="text" name="marca" id="marca" size="20" maxlength="50" /> </td> </tr> <tr> <td width="15%"> Cor </td width="85%"> <td> <input type="text" name="cor" id="cor" size="10" maxlength="40" /> </td> </tr> <tr> <td width="15%"> Ano </td width="85%"> <td> <input type="text" name="ano" id="ano" size="10" maxlength="10"/> </td> </tr> <tr> <td width="15%"> preço </td width="85%"> <td> <input type="text" name="preço" id="preço" size="10" maxlength="10"/> </td> </tr> <tr> <td width="15%"> Tipo de Motor </td width="85%"> <td> <input type="text" name="tipo de motor" id "tipo de motor" size="10" maxlength="10"/> </td> </tr> <tr> <td width="15%"> Modelo </td width="85%"> <td> <input type="text" name="modelo" id "modelo" size="10" maxlength="10"/> </td> </tr> <tr> <td width="20%"> Itens Opcionais </td width="85%"> <td> <input type="text" name="itens opcionais" id="itens opcionais" size="20" maxlength="40"/> </td> </tr> </table> <input type="button" value="Enviar" onclick="window.confirm('Deseja enviar estas informações?')"> <input type="reset" value="Limpar"> </head> </html>