Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: nabilf
  • Order by date
  1. nabilf

    Mimic POST method from script. [urgent]

    Hello Sleidia, I have the same problem that you r talking about so please can u tell me if you solved your problem. I read the link you provided but it worked in sedning the data to a script instead of redirecting the browser to the script and displaying a normal page. I hope that you can help...
  2. nabilf

    creating new records in mulitple tables

    To get the last inserted id of a table <?php $result = mysql_query(&quot;select last_insert_id() as lastid&quot;); $lastid = mysql_result($result,0); ?> this script should be run directly after inserting the new row in the first table, cause it retrieves the last autoincremented id of the...
  3. nabilf

    {: - ¦

    Marhaba
  4. nabilf

    getting the last inserted record

    did u try to use the following statement after inserting the new customer. $result = mysql_query(&quot;select last_insert_id() as lastid&quot;); $lastid = mysql_result($result,0) this will return the last id inserted by the connection that you are using.
  5. nabilf

    How can i automtaic load another .php page?

    you can use the header() function to do this if ($bol==1){ header(&quot;location:yes.php&quot;); } be careful that u use this before outputing anything to the browser, because this function is used in the header section.
  6. nabilf

    quotes probs

    try this echo &quot;<input type=hidden name=productId value=\&quot;{$product[&quot;productId &quot;]}\&quot;>&quot;;
  7. nabilf

    Using Query

    you can take the result into a script where u test the $action variable and depending on this, u redirect to the appropriate page redirect.php <?php switch ($action){ case someaction: header(&quot;location:http://www.yourdomain.com/someaction.php &quot;); break; case anotheraction...

Part and Inventory Search

Back
Top