Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jason Wong
On Wednesday 17 September 2003 22:34, David wrote: I am putting together some pages where I will be able to update mysql database using php pages. I am having a problem with updating. I put a record into textboxes and when I press submit it passes the values to the next page. The problem I am

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread David
Dear Jason Here is my original problem below as I am treated as spam. When it reaches the next page, when the update query is run, it does not update the database. Regards David Anagram Systems http://www.anagram-sys.co.uk/ http://www.web-planets.com/davec/techsitedb/ Dear all I am putting

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jason Wong
On Wednesday 17 September 2003 23:42, David wrote: Here is my original problem below as I am treated as spam. When it reaches the next page, when the update query is run, it does not update the database. *sigh* Could you please describe *exactly* what happens. Eg does your error messages

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread David
Dear Jason I need a secure way of updating mysql on the website, phpadmin is not secure enough So I have created these pages in order: A page to choose the databases Next a page to choose the table Next a list of the records in the table Next to edit the page using textboxes and textareas I pass

Re: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jason Wong
On Thursday 18 September 2003 01:03, David wrote: I need a secure way of updating mysql on the website, phpadmin is not secure enough Why is phpadmin not secure enough? Or to put it another way, what are you doing differently that makes it more secure than php admin? So I have created

RE: [PHP-DB] Passing variables between html forms and updating sql table

2003-09-17 Thread Jennifer Goodie
I need a secure way of updating mysql on the website, phpadmin is not secure enough [snip] $MySQLLink = mysql_pconnect (davecp4, root, ) or die(Could not attach to database. Please try later or contact [EMAIL PROTECTED]); Please tell me you just took the password out of that for

RE: [PHP-DB] passing variables

2002-12-09 Thread Edward Peloke
id=pword/td /tr /table INPUT type=image src=images/bidsubmit.gif border=0 /form /center ? } ? ? require(template_2.inc); ? -Original Message- From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 10:09 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB

RE: [PHP-DB] passing variables

2002-12-09 Thread Ryan Jameson (USA)
it will be in either get or post. Ryan -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:03 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables That's just it, for some reason the variable isn't being set. Here is the code: When

RE: [PHP-DB] passing variables

2002-12-09 Thread Jonathan
One of many possible things. Dependent on the version of PHP you are using, you might have register_globals set to off in your php.ini file, which is preferable. In which case you'll have to use If($_REQUEST['variable']) Or If(isset($_REQUEST['variable'])) Second possible is: I've never

RE: [PHP-DB] passing variables

2002-12-09 Thread Ryan Jameson (USA)
:40 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables One of many possible things. Dependent on the version of PHP you are using, you might have register_globals set to off in your php.ini file, which is preferable. In which case you'll have to use If($_REQUEST['variable

Re: [PHP-DB] passing variables

2002-12-09 Thread Jason Wong
On Tuesday 10 December 2002 00:03, Edward Peloke wrote: That's just it, for some reason the variable isn't being set. Here is the code: When the page loads, the form loads under if (!$login_clients and !$register_clients){ When I click the minus.gif image, I want the page to reload with

RE: [PHP-DB] passing variables

2002-12-09 Thread Hutchins, Richard
: Monday, December 09, 2002 10:44 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables I missed the part where he was using an image. Without a value property, I don't see how it could pass anything at all A note on my recent post, to emulate register_globals do

RE: [PHP-DB] passing variables

2002-12-09 Thread Edward Peloke
Thanks for all the help everyone -Original Message- From: Hutchins, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 11:14 AM To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: RE: [PHP-DB] passing variables Eddie, whenever I start having problems with variables, I

Re: [PHP-DB] passing variables

2002-12-09 Thread Adam Williams
www.php.net/isset if !isset($var) { echo var is not set to anything; } else { echo var is set to $var; } On Mon, 9 Dec 2002, Edward Peloke wrote: Hello all, I have a login/register screen for my php/mysql db. When the page opens, the user sees the log in screen but I have a button and

RE: [PHP-DB] passing variables

2002-12-09 Thread Mark
: Monday, December 09, 2002 10:51 AM To: Ryan Jameson (USA); [EMAIL PROTECTED] Subject: RE: [PHP-DB] passing variables --- Ryan Jameson (USA) [EMAIL PROTECTED] wrote: I missed the part where he was using an image. Without a value property, I don't see how it could pass anything at all

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Martin Clifford
If that is your exact code, then you need to have an ending quote after the query is written. Like this: $query = Select * from course, disc, instit, prof where course.CourseID = $CourseID and course.DiscID = disc.DiscID and course.InstitID = instit.InstitID and course.ProfID = prof.ProfID;

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
: Re: [PHP-DB] passing variables from one page to another If that is your exact code, then you need to have an ending quote after the query is written. Like this: $query = Select * from course, disc, instit, prof where course.CourseID = $CourseID and course.DiscID = disc.DiscID

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Daniel Brunner
, Matt - Original Message - From: Martin Clifford [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 08, 2002 3:47 PM Subject: Re: [PHP-DB] passing variables from one page to another If that is your exact code, then you need to have an ending quote after

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
: Monday, July 08, 2002 4:04 PM Subject: Re: [PHP-DB] passing variables from one page to another Hello!! How are you fetching the rows??? mysql_fetch_rows?? or mysql_fetch_object??? Dan On Monday, July 8, 2002, at 02:52 PM, [EMAIL PROTECTED] wrote: You're right--I did leave out that end

RE: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Hutchins, Richard
Matthew, have you tried running your query from the command line in MySQL? If you can do that successfully, that'll prove that the query is functioning properly and the problem can be tracked elsewhere. -Original Message- From: Matthew K. Gold [mailto:[EMAIL PROTECTED]] Sent: Monday,

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
, I'm very new at this, so the answer could be very basic. thanks, Matt - Original Message - From: Hutchins, Richard [EMAIL PROTECTED] To: 'Matthew K. Gold' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 08, 2002 4:35 PM Subject: RE: [PHP-DB] passing variables from one page

RE: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Rich Hutchins
what's being parsed by the browser. -Original Message- From: Matthew K. Gold [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 5:07 PM To: Hutchins, Richard; [EMAIL PROTECTED] Subject: Re: [PHP-DB] passing variables from one page to another It works from the command line if I leave out

Re: [PHP-DB] passing variables from one page to another

2002-07-08 Thread Matthew K. Gold
into the browser: courseinfo.php?CourseID=12 Could that be the source of the problem? thanks, Matt - Original Message - From: Rich Hutchins [EMAIL PROTECTED] To: Matthew K. Gold [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, July 08, 2002 5:39 PM Subject: RE: [PHP-DB] passing variables

Re: [PHP-DB] Passing variables to/from Flash

2001-05-16 Thread Atanas Vassilev
Yeah, it really worked, only the char I had to put it at the beginning of the string too and not only before the second and every consecutive name-value pair. So the right string I had to output was: var1=value1var2=value2var3=value3 Thank you for your help! Atanas Vassilev [EMAIL PROTECTED]

RE: [PHP-DB] Passing variables to/from Flash

2001-05-15 Thread [EMAIL PROTECTED]
afaik it's something like: var1=value1var2=value2var3=value3... -Original Message- From: Atanas Vassilev [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 15. Mai 2001 12:31 To: [EMAIL PROTECTED] Subject: [PHP-DB] Passing variables to/from Flash I'm trying to send variables to a