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, 200
Been on this a couple of hours... anyone see what I'm doing wrong?
I get a result of 1 when I echo $result but it doesn't want to update at
all.
The action of this form index.php?action=update-account is just a switch
case
Which asks you to use the function update_subscriber_account() below...
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
Hello all,
I've got a bit of a code problem that's been baffling
me for a while now.
I'm working on a basic weblog system for personal use,
using MySQL. I've got the "new post" and "delete a
post" aspects working fine, but for some reason, I
can't get the "update a post" part happening.
What
7 matches
Mail list logo