goto specific record after using insert form


i doing insert form add company mysql database.  on form, user enters company information.  when submit, want go form page can add logo.  when use insert form wizard ask want go when done.  line created

 

$insertgoto = "addlogo.php";

 

i have tried  $insertgoto = "addlogo.php?id"  . "=" . $_post['id'] . ""; ,  $insertgoto = "addlogo.php?id"  . "=" . $_get['id'] . "";  $insertgoto = "addlogo.php?id="  . "=" . $_post[''id'] . ""; and  $insertgoto = "addlogo.php?id<?php echo $rs_rowsrecordset['id']"";

 

the addlogo id record update page looking @ url id.  when url goes http://www.mysite.com/addpage.php?id=&

 

when put in number of id want.

 

the id autoincrement database.

 

so, know how can pass id addlogo page? thanks.

i'm not if lastinsertid() pure pdo thing or php function, (maybe david powers can there?), if not pure pdo function retrieves id number database you.

the other way save customers name session , insert query.

 

pz



More discussions in Develop server-side applications in Dreamweaver


adobe

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???