Hello all,
This may be a pretty naive question.
Do we have to use the key word
session_register("variablename");
in every single page, in which we plan to use the "variablename"?. Or is it
possible that we register the variablename once, and in the subsequent pages
continue to access it using $v
Hello all,
Thanks for the suggestions. But my .php file does not have any include
statement any where in the page. Is there any thing which I have to check
out? The site contains 6 .php files, and it is only in this file the error
comes.
I have tested this in my local build (Apache server), and
Hello all,
Thanks for the suggestions. But my .php file does not have any include
statement any where in the page. Is there any thing which I have to check
out? The site contains 6 .php files, and it is only in this file the error
comes.
Thanks once again,
Sachin.
--
PHP General Mailing List
> Failed opening '/var/www/html/BOOKS/newbooks.php' for inclusion
> (include_path='.:/php/includes:/usr/share/php') in Unknown on line 0
>
> I am getting the following error, when the file newbooks.php is invoked.
> The first lines in this entire file starts with the 4 lines of comments. What c
Hello,
There is a form tag which is like
This will have the same effect as clicking on a HTML submit button.
Hope this helps,
Sachin.
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 12, 2002 11:36 AM
To: 'Martin Thoma'; [EMAIL PROTECTED]
Subject: R
You are creating a table which already exists. The easy way to get out of
this, is either create a table with a different name or drop the existing
table and re-create it.
Cheers,
Sachin.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002
It would be better to use POST operation like
mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 10, 2002 12:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] hiding submitted variable values in location bar of
browser !
> Hi everyone,
> Is there any way to hide my form submitted variables (like
> pa
Hello,
I want to add a set of values to the session variable $BOOKS. This is the
code which I used.
if($BOOKS=="")
{
#this seems to be the first book which the user has selected
$BOOKS = $bookid; #this param comes from the URL
}
els
For the link to work correctly, only the first parameter should be seperated
by a ?, the remaining ones should be seperated by &.
For eg:
http://localhost.com/sample.php?firstparam=1&secondparam=XYZ
Hope this helps,
Sachin
-Original Message-
From: Peter Goggin [mailto:[EMAIL PROTECTED]]
Hello all,
I am trying to execute the Query
SELECT MAX(RECORDNO) AS MAXREC FROM BOOKS;
I am trying to access the value like this
while($row = mysql_fetch_array($sql_result))
{
$bookID = $row['MAXREC'];
}
This query fails. Am I doing any thing wrong here.
Thanks,
Sachin.
--
PHP Gene
10 matches
Mail list logo