x27;PHP General'
Subject: RE: [PHP] Problem updating[Scanned]
Actually it didn't need the globals,
But I did need to pass the variables into the function!
Update_subscriber_account($var1, $var2 etc)
I feel a right plonker now!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://ww
5159
> -Original Message-
> From: Tom Rogers [mailto:[EMAIL PROTECTED]
> Sent: 6. maaliskuuta 2003 16:28
> To: Steve Jackson
> Cc: PHP General
> Subject: Re: [PHP] Problem updating
>
>
> Hi,
>
> Friday, March 7, 2003, 12:27:27 AM, you wrote:
> SJ> Been
Hi,
Friday, March 7, 2003, 12:27:27 AM, you wrote:
SJ> Been on this a couple of hours... anyone see what I'm doing wrong?
SJ> I get a result of 1 when I echo $result but it doesn't want to update at
SJ> all.
SJ> The action of this form index.php?action=update-account is just a switch
SJ> case
SJ>
Is this HTML in a print or echo statement? If not, then the variables will not
display. You can
View Source to verify this.
- Original Message -
From: "Steve Jackson" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Thursday, March 06, 2003 8:27 AM
Subject: [PHP] Problem u
if ($post == "post") {
postBlog ($post,$input,$title);
}elseif ($post == "edit"){
updateBlog ($input,$edit_post); // < BINGO!
}
Just looking at the code you posted to your site, there's only one thing
obvious to me: You want to use $edit_blog in t
5 matches
Mail list logo