[PHP-DB] Passing variables to a PHP script on clicking a hyperlink

2007-08-24 Thread Suamya Srivastava
Hello, How can I pass variables on clicking a hyperlink to a PHP script? I have 5 hyperlinks, all pointing to the same PHP script. However, on clicking each hyperlink a different value of the variable needs to be passed to the PHP script. i.e. I have 5 databases from which I want to obtain

[PHP-DB] Passing variables from HTML to PHP

2004-08-31 Thread Philip Thompson
Hi all. This might be a simple answer, but I'm still not sure what the case is. Okay, so I have a form in my html that has some inputs. These each have a `name` and a `value` attribute to them, of course. I cannot seem to access the name/value pair in my php without using the $_POST

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

2003-09-17 Thread David
Dear all 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 having is updating the values. Here is my

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

[PHP-DB] passing variables through frames

2003-01-30 Thread Matt
Does anyone know how to pass a variable to a different frame? For example, I have a navigation frame, and when you click a link, it opens inside a different frame. Can anyone tell me if there is a way to pass variables from the navigation frame to the main frame? Thanks a lot. Matt -- PHP

[PHP-DB] passing variables

2002-12-09 Thread Edward Peloke
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 reloads the same page, hopefully with the register screen. I know I can simply check to see if a variable is set with if ($variable){} . This does not

RE: [PHP-DB] passing variables

2002-12-09 Thread Edward Peloke
] passing variables I think you want: if (isset($variable)){} Ryan -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 8:33 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] passing variables Hello all, I have a login/register screen for my php

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
action=? Echo $_SERVER['PHP_SELF'] ?) You would look for register If(isset($_REQUEST['register'])) { //whatever } hope one of them works. -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 9:33 AM To: [EMAIL PROTECTED] Subject: [PHP-DB

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

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

2002-07-08 Thread Matthew K. Gold
Hi Everybody, Please forgive the basic nature of this question--I have looked at the manual, but I found that much of it went over my head. I'm trying to create a second level of a website that displays course listings. The first level lists a bunch of courses. I'd like users to be able to

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
, July 08, 2002 3:40 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] passing variables from one page to another Hi Everybody, Please forgive the basic nature of this question--I have looked at the manual, but I found that much of it went over my head. I'm trying to create a second level of a website

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
Subject: [PHP-DB] Passing variables to/from Flash I'm trying to send variables to a flash movie... In fact the designer of the flash part of the site told me that ActionScript had a built in function getData that had one of its arguments the url from where the data should be pu

[PHP-DB] Passing variables to/from Flash

2001-05-15 Thread Atanas Vassilev
I'm trying to send variables to a flash movie... In fact the designer of the flash part of the site told me that ActionScript had a built in function getData that had one of its arguments the url from where the data should be pulled out - if he points his function to a *.php page in what form

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