kodeejs Posted December 9, 2006 Report Share Posted December 9, 2006 Sveiki! Es gribeju pajauta, ka es isti varu izmantot to datubazi, man paprieksh vinai japiekonektejas un tikai tad es varu vinju lietot, es domaju piemeram. input forma un talak nododamos datus lai vins saglaba datubaze, a pirms tam vajag kaut ka vinai ari pieslegties http://paste.php.lv/4833 ==>connect database Nu itka es tagad zinu ka piekonekteties a ka vinu isti izmantot, izveidoju tabulu un tur man tagad jalie ieksha in mainigie vai kas tads, ka to dariit? Tur janorada php koda lai vins glaba kada datubaze vai tabulaa? Varat ludzu palidzet, esmu iesacejs PHP un datubazes... Link to comment Share on other sites More sharing options...
rider_lv Posted December 9, 2006 Report Share Posted December 9, 2006 Datubāzē var ierkakstīt sekojoši <?php mysql_query("INSERT INTO tabula (vards, uzvards, niks)VALUES ('Jānis','Lapiņš','Janka')"); ?> Link to comment Share on other sites More sharing options...
andrisp Posted December 10, 2006 Report Share Posted December 10, 2006 http://www.google.lv/search?hl=lv&q=php+tutorial+mysql Link to comment Share on other sites More sharing options...
Recommended Posts