I remember that there's 2 php.ini in Fedora, one is for SAPI like apache or
other CGIServer, and another is for CLI.
Can you confirm that you edited a right config file?
On Mon, Jun 6, 2011 at 4:55 AM, Camilo Sperberg unrea...@gmail.com wrote:
On 05-06-2011, at 10:31, Adam Tong
And here is the output of phpinfo():
-
In the same phpinfo() output, what is the path/location of the php.ini
file you are using?
Loaded Configuration File D:\PHP\INI\php-cgi-fcgi.ini
for example.
--
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling :
On 05-06-2011, at 10:31, Adam Tong adam.to...@gmail.com wrote:
Hi,
I can't set correctly the error display and reporting properties. I
don't know what i'm doing wrong.
Here is the section that i modified in php.ini:
-
display_errors = On
; Default Value: On
; Development
You shouldn't have a default value in an auto increment field. You can set
AUTO_INCREMENT to 0 and start with 1, but as auto increment is a unique field
and its automagically incremented, you should not set a default value on it...
--
Sent from my Android phone with K-9 Mail. Please excuse my
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically incremented, you should not set a
default value on it...
This is fine and dandy
On 3/2/2011 9:48 AM, Ashley Sheridan wrote:
Jim Lucas li...@cmsws.com wrote:
On 3/2/2011 4:25 AM, Alex wrote:
You shouldn't have a default value in an auto increment field. You
can
set AUTO_INCREMENT to 0 and start with 1, but as auto increment is a
unique field and its automagically
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 03/02/2011 07:56 AM, Ashim Kapoor wrote:
Dear all,
I am trying to make a website with php and I found the following code in a
book and I am trying to import it. The following are the beginning of the
file i am trying to import with the
If the download speed is constant (linear) then you can just use.
(10245458756 / 6t)/1000 = kb/second
or
(10245458756 / 6t)/6 = kb/minute
The general form would be.
(size_of_file / download_speed * time) / convert_to_units
Where t (or time) is the amount of seconds that the download
Brown [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 24, 2007 9:01 AM
To: Bosky, Dave
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help needed with Curl
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows
2003.
Everything
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
I downloaded a copy of PHP Version 5.2.3 and installed it on Windows
2003.
Everything seems to work fine except for Curl.
--
PHP Version 5.2.3
cURL support enabled
cURL Information libcurl/7.16.0 OpenSSL/0.9.8e zlib/1.2.3
--
It keeps
On 7/24/07, Bosky, Dave [EMAIL PROTECTED] wrote:
Yes. The script is the same on both machines.
I can pull up a web browser and connect to the ssl url that I'm trying
to connect using php/curl.
The only DLLs I need to add are libeay.dll, ssleay32.dll, right?
I'm running Windows 2003 Server with
On 4/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
1. I have WAMP5.0 running my my IBM T43 laptop.
2. I have created a php application.
3. I would like to know how to create
On Mon, April 23, 2007 7:36 am, [EMAIL PROTECTED] wrote:
Could you please help me to write an installation script to install a
php based application in Windows.
1. I have WAMP5.0 running my my IBM T43 laptop.
2. I have created a php application.
3. I would like to know how to create an
On Mon, April 23, 2007 5:36 am, [EMAIL PROTECTED] wrote:
Hi There,
Could you please help me to write an installation script to install a
php based application in Windows.
NSIS, nullsoft installer is a nice installer to use for Windows applications.
http://nsis.sourceforge.net/Main_Page
--
On 5/25/06, Ross [EMAIL PROTECTED] wrote:
http://scottishsocialnetworks.org/editor.php
http://scottishsocialnetworks.org/editor.phps
the pager in this page works except try and choose aberdeen from the area
dropdown. You should get 18 answers which is fine except when page 2 is
pressed at the
Hello,
Trying to read a binary file in MySQL database, i have the
following error :
Warning: fopen(./) [function.fopen]: failed to open stream:
Permission denied in d:\...\download.php on line 57
This is line 57 $file_handle = fopen(./ . $file_name, r);
and my function
Ndagi Mutiri wrote:
Hello,
I can't be of any help here but couldn't help noticing
that th OP (Ndagi) is dealing with dutch language DB entities and
comments/output in french and code (vars etc) in english
bet that can be a PITA :-)
Trying to read a binary file in MySQL database, i
David
but it does not seem to be working.
Might be helpful for folks if you describe the nature of the fault
i.e. what you get back when you run this - at this stage there are a
multitude of possibilities...
raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi Raz
Good Point. It displays 'No data found' when it should display 'Data
found'
Thanks
David
-Original Message-
From: Raz [mailto:[EMAIL PROTECTED]
Sent: 26 August 2005 12:06
To: David Skyers
Cc: php-general@lists.php.net
Subject: Re: [PHP] Help Needed
David
but it does not seem
Leading back in the code, that would suggest that $nrows is not
greater than zero - could be a problem with $nrows then, and anything
associated with that, i.e. $stmt, whether there is content in the db
where REC_VALUE = 'uczmdsk1' etc. etc.
Work back down the chain and see if you can find
does the actual SQL statement bring back any info if you do it through
the oracle interface, perhaps the problem isnt php but the SQL statement.
HTH
Angelo
Raz wrote:
Leading back in the code, that would suggest that $nrows is not
greater than zero - could be a problem with $nrows then, and
]
Sent: 26 August 2005 13:14
To: Raz
Cc: David Skyers; php-general@lists.php.net
Subject: Re: [PHP] Help Needed
does the actual SQL statement bring back any info if you do it through
the oracle interface, perhaps the problem isnt php but the SQL
statement. HTH
Angelo
Raz wrote:
Leading back
David,
If I change the code to ($nrows = 1) then it displays 'Data found',
however if I have a REC_VALUE = 'does not exist' it still displays 'Data
found'
That would suggest that something is being returned - do you have
command line access or some other way to look at what is being
On 7/26/05, suma parakala [EMAIL PROTECTED] wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table in
different rows.
my problem is when check box is clicked i need to change the color of the
row .agai when the check box is unclicked it should hold the old color.
suma parakala wrote:
Hi
I am retrieving data from postgresql and displaying it in form of table
in different rows.
my problem is when check box is clicked i need to change the color of
the row .agai when the check box is unclicked it should hold the old color.
Can any one please help me
Hi Marek Kilimajer,
Thank You Marek it worked for me also.
-Harish Rao K
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 27, 2005 9:19 PM
To: Harish Rao K
Cc: php-general@lists.php.net
Subject: Re: [PHP] help needed on imagettftext()
Harish
Harish Rao K wrote:
Hello,
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Below is the configure command
Harish Rao K wrote:
While working with some CAPTCHA stuff I get the following error:
Fatal error: Call to undefined function imagettftext().
I have compiled with GD support and all the supporting libraries
(Freetype, TTF, jpeg, X11R6 etc).
What am I missing?
Check the log files from in the
Well my page doesnt have any of the spoken about elements on it yet, because I am not
clear as to go about it.
The fields I speak of are things that need to be added extra to my page.
Here is my pages code so far...
?php
require('includes/application_top.php');
Hmmm...I'm not sure I'm following you. You just want to know how to
deal with multiple drop down lists? Or do you want to be able to check
and make sure all the mandatory selections have been chosen?
-dg
http://www.rexruff.com
On Nov 2, 2004, at 4:58 AM, Garth Hapgood - Strickland wrote:
As you can see from my code, I do want to check if all mandatory fields are
selected or filled in. As well as the issue of the communicationtyes.
SO far I do not have fields or anything for the user to use, to select the
different CommunicationTypes he wants. I am not sure how to go about this
Seeing the page might help.
On Nov 1, 2004, at 2:52 AM, Garth Hapgood - Strickland wrote:
I have written a registration page in php and have a number of edit
boxes
and drop-down lists. The lists are pulling data out of their respective
tables, whereas the edit boxes are just for saving data.
Now
On Fri, 29 Oct 2004 15:22:29 +0530, suma parakala
[EMAIL PROTECTED] wrote:
I developed a html form in which I have text box and combo box. Now my
problem is I have to pass the values of this page to another page. How can i
pass the values/variables to next page using href
Kindly help me
Hi
I developed a html form in which I have text box and combo
box. Now my
problem is I have to pass the values of this page to another
page. How can i
pass the values/variables to next page using href
Kindly help me
Thanks
Suma
As you've posted to a PHP list I will assume your
Extracting name and addresses from postgres as a comma separated values
CSV file should be doable with postgress utilities or scripts. Assuming
you have access to a word processor like Microsoft Word, that has a Mail
Merge capability, where your letter can be merged and printed with names
and
Ah yes! Thanks, I see the problem; I have to switch the 8-byte chunks in
byte-order! (Why is Directconnect doing this...)
Thanks for your help. Greetings, Carl.
Thijs Lensselink [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
check:
check: http://www.cs.technion.ac.il/~biham/Reports/Tiger/testresults.html
The results you posted seem to be right.
Carl S. in 't Veld wrote on vrijdag 4 juni 2004 0:52:
I am trying to generate tiger tree hashes the same way as
directconnect does, but I am failing.
I checked the output from
hi,
here is how you do it
?
$strJavaScriptValue=Hello;
?
script language=JavaScript
alert('? echo $strJavaScriptValue?');
/script
this will alert Hello!. i think you get the point.
Haseeb
- Original Message -
From: Nirmala P [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
Please post more of your code. It is difficult for us to help you without
seeing your code.
Clint
-Original Message-
From: Andy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 8:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help needed
Hi all
Can someone help?
I am new to PHP and
Realize that when you see error line... it doesn't mean that the error is
definately on that line. PHP is only *so* smart. You'll find that making
mistakes on line X will result in errors being reported on line X+1 or
further down in your code.
Don't take the errors at face value all the time -
Hi Clint
OK hope this is not too much and there are likely to be more errors in it.
Thank you
Andy
?php
session_start();
session_register('auth');
session_register('logname');
include(simba.inc);
switch (@$do)
{
case login:
$connection = mysql_connect($host, $user,$password)
or die
At 16:17 1-4-03, you wrote:
Hi all
Can someone help?
I am new to PHP and need some help, i have tried to build a members only
section to my website but i am finding it very hard.
I get this error when i go to the login page:
Parse error: parse error in
I would suppose that you have an unbalanced {} somewhere.
Restructure your code (yes, even more!) so it is easier to see such a mistake.
Some coders prefer this:
if () {
code
}
but i prefer
if ()
{
code
}
so i see immediately what {braces} belong together.
At 16:27 01.04.2003, Andy spoke out and said:
[snip]
Hi Clint
OK hope this is not too much and there are likely to be more errors in it.
Thank you
Andy
[snip]
At the line
if ($num == 1) // login name was found
Same error clint. I think the error is between
case new: foreach($HTTP_POST_VARS as $key = $value)
and
/* check to see if login name already exists */
I copied the code from PHP for Dummies (while trying to learn it) and
changed the code between the above to add in the extra
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
which one should i delete?
}
if (!ereg(^[0-9)(xX -]{7,20}$,$phone))
{
unset($do);
$message_new = $phone is not a valid phone number.
At 17:17 1-4-03, you wrote:
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
there are two, and there is nothing inbetween, so technicaly it does not
matter to the PHP interpreter.
--
PHP General Mailing List
Maybe the error is here -
$emess =$emess1.$emess2.$emess3.$emess4.$emess5.$emess6.emess7;
Shouldnt it be $emess7 ???
Jochem
Andy wrote:
Same error clint. I think the error is between
case new: foreach($HTTP_POST_VARS as $key = $value)
and
/* check to see if login name already
At 17:17 01.04.2003, Andy spoke out and said:
[snip]
Thank you Ernest
I am a little confused with the closing curly bracket after
$message_new = $phone is not a valid phone number etc
which one should i delete?
}
if (!ereg(^[0-9)(xX
Garcha,
Kindly check your file paths. When you export it, it may not point
to what really is the real path online.
May I ask what are you trying to achieve?
-Original Message-
From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 1:45 PM
To: [EMAIL
Thanks for the prompt reply Michael
I am trying to protect files on the site, my script checks for a valid
session ID and fopens() a File. This file is located in a different Dir
from the php script. When the file is a simple html file , I can easily
fopen() the file (Even though it contains
]
Sent: Monday, March 10, 2003 2:13 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Help Needed
Thanks for the prompt reply Michael
I am trying to protect files on the site, my script checks for a valid
session ID and fopens() a File. This file is located in a different Dir
from
You might try changing ? to ?php and ? to php?
something about short tags
hugh
- Original Message -
From: Karl James [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 10, 2003 10:14 PM
Subject: [PHP] help needed with code!!
Can anyone give me some pointers on why im note
Hi!
...and then Fat Lizard said...
%
% Hi,
% I'm trying to use move_uploaded_file, but so far with no success, no matter
% what I try.
Do you have register_globals turned on?
Did you really use input name='userfile' in your form code?
Are you sure that $userfile has a value? What is it?
[snip]
How should I display the page ... the page has a lot of html code and
trying to write echoblah blah blah . ;
will not be a an option. Please suggest a way out .
Use includes:
http://www.php.net/include
And write HTML as HTML:
h3Greetings/h3
pHello b?php echo $username
On Sunday 02 February 2003 22:57, anders thoresson wrote:
I'm having trouble designing a good html-form/MySQL combination for an
access rights system.
[snip]
You may want to have a look at this:
http://phpgacl.sourceforge.net
It seems to provide a very comprehensive system for setting
Pervasive login methods such as the one you've devised are the best way to
have a password protected region on your website. However it will only work
on pages that are parsed by PHP. In order to protect plain text or HTML
files they will have to be stored outside of your public directory and
pass it one value at the time:
session_register(valid_user);
session_register(firstname);
session_register(lastname);
Another recommended method is to use superglobal variable $_SESSION. You
can then simply do:
$_SESSION['valid_user'] = $login;
$_SESSION['firstname'] = $first_name;
Isnt it better to do it in this way?
Better than what?
session_start();
session_register('USER');
$USER['valid'] = true;
$USER['firstname'] = $first_name;
$USER['lastname'] = $last_name;
Then I really know what I am doing!
It's personal preference... whatever you understand.
I'd
Are you sure $first_name and $last_name have a value? Double check...
---John Holmes...
- Original Message -
From: Pushpinder Singh Garcha [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, January 27, 2003 4:44 PM
Subject: [PHP] help needed with session variables
hello,
I am
Look at UPDATE at http://www.mysql.com/
*** REPLY SEPARATOR ***
On 03/01/2003 at 6:37 PM Pushpinder Singh Garcha wrote:
hello all
I am using php and mysql in my web application. I am making use of
forms to accept data from the user and add it to the mysql database. I
Don't post in HTML and are you paying?
---John Holmes...
- Original Message -
From: Mike Bowers [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, December 17, 2002 7:15 PM
Subject: [PHP] Help needed on CMS Project
I'm working on a CMS project. It's based on PHP-Nule but I am
Why dont you try Post-Nuke :)
Good Luck
Tariq
Mike Bowers wrote:
I'm working on a CMS project. It's based on PHP-Nule but I am re-writing
it to make the DB less used and to clean the code up a bit.
Unfortunately I do not have time alone to do all I want and the last
devs and coders I had
Hi,
Wednesday, December 4, 2002, 12:45:15 AM, you wrote:
cyc Hi
cyc The script is not working.
cycfunction authenticate($user,$pass) {
cyc $result = -1;
cyc $data = file(shadow); /* permission every
cyc one read */
cyc foreach($date as $line ) {
cyc
Hi
I made some changes to this script but still it is
not working
cycfunction authenticate($user,$pass) {
cyc $result = -1;
cyc $data = file(shadow); /* permission
every
cyc one read */
cyc foreach($data as $line ) {
cyc $arr =
You need to supply more info here for help.
1. like how is php installed: compile, rpm
2. where is php trying to look for you php.ini file ( phpinfo() path)
3. tell us what you have done to try and find the php.ini file.
Then we can really help out...
or just run and search for the file php.ini
I am trying make changes with the register_global variable in the
php.ini file, but I am unable to locate it.
I am running Mac OS JaguarPlease help me out
Create a page with ? phpinfo(); ? only on it and call it up through your
browser. The first block on the page will tell you where
My advice is USE JAVASCRIPT
Cordialmente
Daniel Massón = Ingeniero de desarollo
[EMAIL PROTECTED]
www.imagine.com.co
Tels: (57)(1) 2182064 - 6163218
Bogotá - Colombia
- Soluciones web para internet e intranet
- Asesoría y
Sounds like JavaScript would be the answer here. You can use a javascript
function to validate the form before it is even submitted.
Robbert van Andel
-Original Message-
From: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 1:28 PM
To: [EMAIL
Hello,
Van Andel, Robert [EMAIL PROTECTED] wrote:
Sounds like JavaScript would be the answer here. You can use a javascript
function to validate the form before it is even submitted.
Yes, perhaps. But people can turn off JavaScript so you might want to use
JavaScript AND PHP to validate your
Simple answer: No
Pushpinder Sngh Garcha wrote:
Hi
I am using MIME to send mail (http://www.phpclasses.org/mimemessage)
I need to be able to send attachments that are present on the local
machine.
Is there a way to send attachements without uploading then to the
server ??
Thanks
-pS
--
Karl, This list usually works best if:
a) you do some looking around at google, the manual, and other PHP/script
resources before asking questions
b) you have a specific problem that we can help with (eg why is this
function not working?, not who can build me a complete blah blah?)
Cheers,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you sure your SMTP requires authentication? If so, have you checked the
username and password you supplied?
On Wednesday 06 November 2002 11:19 am, Pushpinder Sngh Garcha wrote:
Hi ,
I am using PhpMailer in my mail application.
I keep
SEE: http://phpmailer.sourceforge.net/extending.html
(click Home Page then examples)
-js
Pushpinder Singh Garcha wrote:
Hi All
I am new in the php development world. I have made a simple mail
application using the phph mail() function.
I needed to use an attachment facility ith the
I am trying to create an online survey using PHP ...I am using MySQL as
the database and MAC OS Jaguar. I do not need the results to be added to
the database. I need to be able to send the results of the survey to an
email addressI know that this is possible using MS FrontPage but
with
--- Pushpinder Singh Garcha [EMAIL PROTECTED] wrote:
Hi
I am trying to create an online survey using PHP
...I am using MySQL as
the database and MAC OS Jaguar. I do not need the
results to be added to
the database. I need to be able to send the results
of the survey to an
email
The easiest way to do this would be to have your survey be a basic HTML
page. Then use a single PHP processing page. You could just write the value
of $_POST to a variable and send that in your email.
$string = implode(\n,$_POST);
mail($to,$subject,$string);
Correct me if I'm mistaken but
, October 15, 2002 11:49 AM
To: 1LT John W. Holmes; Pushpinder Singh Garcha;
[EMAIL PROTECTED]
Subject: Re: [PHP] Help Needed
The easiest way to do this would be to have your survey be a basic HTML
page. Then use a single PHP processing page. You could just write the
value
of $_POST to a variable
Hi,
is it a free assistance or a non-free one?
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
Michael Plasse [EMAIL PROTECTED] a écrit dans le message de news:
[EMAIL PROTECTED]
Hello,
I need a PHP programmer to assist me with updates to
On Sunday 18 August 2002 17:45, Jean-Marc Godart wrote:
I have a MySQL database (called sessions) with a auto-increment INT field
called sessionID. I try to check if there is already a record in this
database with a given sessionID, which is called $sessionID in PHP. I use
this query, which
PROTECTED]
Sent: Sunday, August 18, 2002 11:53 AM
Subject: Re: [PHP] Help needed about queries with MySQL, thanks.
On Sunday 18 August 2002 17:45, Jean-Marc Godart wrote:
I have a MySQL database (called sessions) with a auto-increment INT
field
called sessionID. I try to check
On Sunday 18 August 2002 17:59, Jean-Marc Godart wrote:
Thanks for your suggestion ... Yes, I tried to print $sessionID (using
echo()) and I get the right value (the one I am looking for) ... Though the
query does not work. Any other idea ??? Thanks again !
Please post your code so we can
I have a MySQL database (called sessions) with a auto-increment
INT field called sessionID. I try to check if there is already
a record in this database with a given sessionID, which is called
$sessionID in PHP. I use this query, which must be wrong (but I
cannot find out why !!!) :
I spent many frustrating days debugging a similar problem. I
don't understand exactly what is going on, but it seems that the
problems revolve around PHP's treatment of an integer as signed
or unsigned.
Through experimentation I determined that the way you specify an
integer constant (decimal
Start here: http://www.php.net/manual/en/ref.session.php
You will need to call session_start() to initiate the session. You will also
need to register the variables you want in the session with
session_register().
Good luck!
Kirk
-Original Message-
From: WG4- Cook, Janet
You can look at this articles too:
http://www.phpbuilder.com/columns/mattias2312.php3
http://www.phpbuilder.com/columns/mattias2105.php3
William.
El mar, 26-02-2002 a las 10:27, Johnson, Kirk escribió:
Start here: http://www.php.net/manual/en/ref.session.php
You will need to call
I can think of three ways you could do this.
1. as a cookie
2. using sessions
3. put it in every link
Martin
-Original Message-
From: WG4- Cook, Janet [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 22, 2002 10:59 AM
To: PHP db list; PHP List
Subject: [PHP] Help needed - need to
To test a new php installation I accessed a page called index.php that
contains only ?php phpinfo(); ?
Perhaps you want to:
?phpinfo();?
Not sure if anything else should produce errors..
Bye,
B.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
http://babelfish.altavista.com
That URL may help you translate the page...
Andrew
- Original Message -
From: Kamran H. Hassan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, October 27, 2001 7:22 PM
Subject: [PHP] help needed for multimania.com
Hi,
Thanks for the info. about
checkout http://www.weberdev.com
there are several scripts ready made for this.
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 24, 2001
It looks to me like you are trying to use a result your DB
query isn't set to generate.
You have
$sql= select id from travel where id '$id' and visible = 'checked' order
by id desc;
then
if ($row[article] != ) {
Your select only returned id, so the above if should always fail.
try
$sql=
try this,
form name=f1
select name=selectall[]
optionline1/option
option selectedline2/option
optionline3/option
/select
input type=text name=txt1
/form
script language=JavaScript
!--
selectobjname = selectall[];
selectobj = null;
for (i=0; i f1.elements.length; i++)
{
On Wed, 4 Apr 2001 09:27, Peter Houchin wrote:
Hiya i've got a script that basically draws values from a db and will
display them, as i have multiple records in there and want to display
them all i'm using a
while ( ($myrow = mysql_fetch_array($result) ) )
statement this is all good as far
snip
$rs = "UPDATE main SET system='$system',";
$rs .= "part='$part',";
$rs .= "monthly='$monthly'";
$rs .= "WHERE id='$id'";
$result = mysql_query($rs,$db);
?
form name="update" method="get" action="../../ben.php"
?
$foo = "SELECT * FROM main";
$result
On Wed, 4 Apr 2001 11:23, Peter Houchin wrote:
snip
$rs = "UPDATE main SET system='$system',";
$rs .= "part='$part',";
$rs .= "monthly='$monthly'";
$rs .= "WHERE id='$id'";
$result = mysql_query($rs,$db);
?
form name="update" method="get"
If the keywords inputted from user are: "word2, word1", it
will reture News1 twice:
That's because you are selecting all the records that match
each single key word individually.
I want to search this table based on the Keywords. the code is:
$split = explode(" ",$keywords);
$Num = 0;
96 matches
Mail list logo