On Fri, March 23, 2007 10:07 am, Dan Shirah wrote:
> The reason I have to use it as I posted is because I am using
> Microsoft SQL
> server instead of MySQL. And I haven't found a php function for MSSQL
> that
> works the same as mysql_insert_id()
I guarantee that there is a way to do it in MSSQL
On Fri, March 23, 2007 9:45 am, Dan Shirah wrote:
> Okay, I feel like the correct answer to this is about 2mm back in my
> grey
> matter.
>
> 1. I have a query that pulls the last row number when a newly inserted
> record is added:
>
> $maximum="SELECT MAX(payment_id) FROM payment_request";
> $ma
On Friday 23 March 2007 15:45, Dan Shirah wrote:
> Okay, I feel like the correct answer to this is about 2mm back in my grey
> matter.
>
> 1. I have a query that pulls the last row number when a newly inserted
> record is added:
>
> $maximum="SELECT MAX(payment_id) FROM payment_request";
> $max_r
: "Dan Shirah" <[EMAIL PROTECTED]>
To: "Satyam" <[EMAIL PROTECTED]>
Cc: "php-general"
Sent: Friday, March 23, 2007 7:48 PM
Subject: Re: [PHP] POST a variable
Sorry, I was more tailoring my question to the syntax of my query. It
wasn't disp
TED]>
Cc: "php-general"
Sent: Friday, March 23, 2007 7:48 PM
Subject: Re: [PHP] POST a variable
Sorry, I was more tailoring my question to the syntax of my query. It
wasn't displaying anything for my echo.
I've changed it to this now:
$get_max = "SELECT scope_id
iginal Message -
*From:* Dan Shirah <[EMAIL PROTECTED]>
*To:* Satyam <[EMAIL PROTECTED]>
*Sent:* Friday, March 23, 2007 7:14 PM
*Subject:* Re: [PHP] POST a variable
Satyam, I'm trying to retrieve the id using the identity method, but I do
not get anything returned. Do you see
<[EMAIL PROTECTED]>
Cc: "php-general"
Sent: Friday, March 23, 2007 4:07 PM
Subject: Re: [PHP] POST a variable
The reason I have to use it as I posted is because I am using Microsoft SQL
server instead of MySQL. And I haven't found a php function for MSSQL that
works the sam
2007. 03. 23, péntek keltezéssel 11.07-kor Dan Shirah ezt írta:
> The reason I have to use it as I posted is because I am using
> Microsoft SQL server instead of MySQL. And I haven't found a php
> function for MSSQL that works the same as mysql_insert_id()
you wrote something earlier as far as I
> -Original Message-
> From: Németh Zoltán [mailto:[EMAIL PROTECTED]
> 2007. 03. 23, péntek keltezéssel 10.45-kor Dan Shirah ezt írta:
> > Okay, I feel like the correct answer to this is about 2mm back
> in my grey
> > matter.
> >
> > 1. I have a query that pulls the last row number when
The reason I have to use it as I posted is because I am using Microsoft SQL
server instead of MySQL. And I haven't found a php function for MSSQL that
works the same as mysql_insert_id()
So, to come out with a comparable function with pretty reliable results, I
follow this process:
1. User ente
2007. 03. 23, péntek keltezéssel 10.45-kor Dan Shirah ezt írta:
> Okay, I feel like the correct answer to this is about 2mm back in my grey
> matter.
>
> 1. I have a query that pulls the last row number when a newly inserted
> record is added:
>
> $maximum="SELECT MAX(payment_id) FROM payment_req
11 matches
Mail list logo