[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

php code $CaseIdDetail->id->setDbValue($conn->Insert_ID());

Posted on 2007-10-08
1
Medium Priority
?
256 Views
Last Modified: 2008-01-09
$CaseIdDetail->id->setDbValue($conn->Insert_ID());

the code above I understand correct or not please suggest

$conn->Insert_ID()

$conn is wqual to the value of function Insert_ID

then id is equal to  output of function setDbValue()
0
Comment
Question by:teera
1 Comment
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 2000 total points
ID: 20038628
yes, the function setDbValue will effectively assign the return value of the insert_id() function to the id field.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses
Course of the Month20 days, 12 hours left to enroll

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question