[PHP] help needed with form and mysql design.

2003-02-02 Thread anders thoresson
Hi, I'm having trouble designing a good html-form/MySQL combination for an access rights system. I'm having three tables in MySQL: members (with member information for my site), albums (with information for separate albums with digital photos on my site) and accessrights (which should

Re: [PHP] help needed with form and mysql design.

2003-02-02 Thread Jason Wong
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

[PHP] help needed building query string based on which form fields that are filled.

2003-02-01 Thread anders thoresson
Hi,   I've got a html form where not all fields need to be filled by the users. How can I build a MySQL query based on which fields the user have filled?   My guess is that I can do something like this:   if(!empty($f_name)) { some_commands_to_add_$f_name_to_querystring } if(!empty($l_name))

[PHP] Help Needed

2003-01-31 Thread Pushpinder Singh Garcha
Hello All: I am using PHP and MySQL in my application. I need to be able to allow ONLY authorized users access to some pages in the site. For this I am creating a session variable ''$valid_user, after the user has successfully authenticated himself with the Database. The pages that need to be

Re: [PHP] Help Needed

2003-01-31 Thread Kevin Stone
and either included() or fopened() into the PHP script that has authenticated the user. -Kevin - Original Message - From: Pushpinder Singh Garcha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 31, 2003 3:09 PM Subject: [PHP] Help Needed Hello All: I am using PHP and MySQL

Fw: [PHP] help needed with session variables

2003-01-28 Thread Sascha Braun
PROTECTED] To: Pushpinder Singh Garcha [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 27, 2003 11:02 PM Subject: Re: [PHP] help needed with session variables Are you sure $first_name and $last_name have a value? Double check... ---John Holmes... - Original Message - From

Re: [PHP] help needed with session variables

2003-01-28 Thread Maxim Maletsky
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;

Re: [PHP] help needed with session variables

2003-01-28 Thread 1LT John W. Holmes
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

[PHP] help needed with session variables

2003-01-27 Thread Pushpinder Singh Garcha
hello, I am making use of sessions in my PHp/MySQL Database application. When the user is successfully authenticated against the database, a session is created in following manner: session_register(valid_user,firstname,lastname); $valid_user = $login; $firstname = $first_name;

Re: [PHP] help needed with session variables

2003-01-27 Thread 1LT John W. Holmes
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

[PHP] Help Needed

2003-01-03 Thread Pushpinder Singh Garcha
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 also have a login system in place. I need to create a way for the user to edit the information that he/she entered. Can you suggest a way I can

Re: [PHP] Help Needed

2003-01-03 Thread Michael J. Pawlowsky
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

Re: [PHP] Help needed on CMS Project

2002-12-18 Thread 1LT John W. Holmes
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 re

[PHP] Help needed on CMS Project

2002-12-17 Thread Mike Bowers
Title: Message 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 quit on me. I'm looking for coders with basic

Re: [PHP] Help needed on CMS Project

2002-12-17 Thread Tariq Murtaza
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

[PHP] Help needed

2002-12-10 Thread SpiderWebb
I dont know if this is possible in PHP (Newbie) im working on a project where each product has 3 diffierent prices depending on the amount sold so say for example 1- 100 price A 101-299 price B and above 300 Price C. What I need to be able to do is increment an mysql database field each time an

[PHP] help needed with crypt()

2002-12-03 Thread chandrakantreddy
Hi The script is not working. function authenticate($user,$pass) { $result = -1; $data = file(shadow); /* permission every one read */ foreach($date as $line ) { $arr = explode(:,$line); if($arr[0] == $user) { /* user

Re: [PHP] help needed with crypt()

2002-12-03 Thread Tom Rogers
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

Re: [PHP] help needed with crypt()

2002-12-03 Thread chandrakantreddy
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 =

Re[2]: [PHP] help needed with crypt()

2002-12-03 Thread Tom Rogers
Hi, Wednesday, December 4, 2002, 1:27:49 AM, you wrote: cyc Hi cycI made some changes to this script but still it is cyc not working Try using the whole password as the salt like this if(crypt(trim($pass),$arr[1]) == $arr[1]) Or are you still only getting -1 returned ? -- regards, Tom

[PHP] Help needed with the php.ini file

2002-11-21 Thread Pushpinder Singh Garcha
Hi all 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 Many Thanks. --Pushpinder Pushpinder Singh Garcha _ Web Architect T. Falcon Napier and

Re: [PHP] Help needed with the php.ini file

2002-11-21 Thread Ray Hunter
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

Re: [PHP] Help needed with the php.ini file

2002-11-21 Thread 1LT John W. Holmes
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

[PHP] help needed with forms

2002-11-21 Thread Pushpinder Singh Garcha
Hello I am using php based forms, which collect information from the client and send it in the form a email message to the admin. I need to start using validation i.e. check whether some field/s has been correctly entered in the from. My application consists of 2 php pages 1). info.php

RE: [PHP] help needed with forms

2002-11-21 Thread Daniel Masson
Soporte Técnico - Licenciamiento de Software -Mensaje original- De: Pushpinder Singh Garcha [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 21 de noviembre de 2002 16:28 Para: [EMAIL PROTECTED] Asunto: [PHP] help needed with forms Hello I am using php based forms, which collect

RE: [PHP] help needed with forms

2002-11-21 Thread Van Andel, Robert
PROTECTED] Subject: [PHP] help needed with forms Hello I am using php based forms, which collect information from the client and send it in the form a email message to the admin. I need to start using validation i.e. check whether some field/s has been correctly entered in the from. My application

Re: [PHP] help needed with forms

2002-11-21 Thread @ Edwin
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

[PHP] Help needed with attachments

2002-11-13 Thread Pushpinder Sngh Garcha
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 -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Help needed with attachments

2002-11-13 Thread Marek Kilimajer
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 --

Re: [PHP] Help Needed for Project

2002-11-07 Thread Justin French
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,

[PHP] Help Needed with PhpMailer

2002-11-06 Thread Pushpinder Sngh Garcha
Hi , I am using PhpMailer in my mail application. I keep getting this error when I run the application Message was not sent Mailer Error: SMTP Error: Could not authenticate Here is the code that I am using : ?php require(class.phpmailer.php); //require(class.smtp.php); $mail = new

Re: [PHP] Help Needed with PhpMailer

2002-11-06 Thread Evan Nemerson
-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

[PHP] Help Needed for Project

2002-11-06 Thread Karl James
Is There anyone that I can chat with in reatlime About the project I need help with for my fantasy football League. Karl

[PHP] help needed with phpmailer

2002-10-31 Thread Pushpinder Singh Garcha
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 mailing program...so I have tried to use this solution called phpmailer() from http://sourceforge.net/projects/phpmailer I am not

Re: [PHP] help needed with phpmailer

2002-10-31 Thread Jonathan Sharp
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

[PHP] Help Needed

2002-10-15 Thread Pushpinder Singh Garcha
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 addressI know that this is possible using MS FrontPage but

Re: [PHP] Help Needed

2002-10-15 Thread 1LT John W. Holmes
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

Re: [PHP] Help Needed

2002-10-15 Thread Jennifer Swofford
--- 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

Re: [PHP] Help Needed

2002-10-15 Thread Chris Boget
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

RE: [PHP] Help Needed

2002-10-15 Thread Carl Brandenburg
, 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

[PHP] PHP help needed

2002-09-11 Thread Michael Plasse
Hello, I need a PHP programmer to assist me with updates to childrens website. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP help needed

2002-09-11 Thread nicos
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

[PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jean-Marc Godart
Hello everyone, I am a new PHP user, from Belgium. I am trying to manage a MySQL database with PHP, and I kindly request your help to solve a little (probably very stupid) problem I have been dealing with for a while already ... I have a MySQL database (called sessions) with a auto-increment

Re: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jason Wong
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

Re: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jean-Marc Godart
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

Re: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Jason Wong
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

RE: [PHP] Help needed about queries with MySQL, thanks.

2002-08-18 Thread Craig Vincent
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 !!!) :

RE: [PHP] Help needed with hexdec();

2002-07-07 Thread Jonathan Rosenberg
if ($a hexdec()) would become if ($a -1) See if this makes a difference. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Saturday, July 06, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Help needed with hexdec(); Hi Guys

[PHP] Help needed with hexdec();

2002-07-06 Thread frank
Hi Guys, I have a problem wich I hope has been solved by someone :-) Here's the deal, I have to convert a perl script to PHP trying to do so I get negative values from hexdec(), If I use (int)hexdec() the numbers aren't negative anymore, but they do not add up to what they should. Here's

[PHP] help needed with headers

2002-04-26 Thread Vins
I would like to create a text file that doesn't save to disk but askes me to save the file. like when i click on a zip file from a website, ie asks me to save the file to somewhere. how do i create the file and then tell my browser to ask the user to save the file somewhere ??? -- PHP

[PHP] Help needed with speading up a function.

2002-03-06 Thread William Bailey
Hello again. I have the following function that generates a prime number of x bits. It seems to work but i am just trying to see if i can make it any faster as generateing 1024 bit prime can take a while. so i thoought i would ask here to see if anybody has any ideas or suggestions.

RE: [PHP] Help needed with Sessions

2002-02-26 Thread Johnson, Kirk
:[EMAIL PROTECTED]] Sent: Monday, February 25, 2002 10:06 PM To: PHP List Subject: [PHP] Help needed with Sessions Hi all, I am trying to get sessions to work to use to pass some data around, but the values do not seem to be coming through - I've probably got something basic wrong PHP

RE: [PHP] Help needed with Sessions

2002-02-26 Thread William Lovaton
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

[PHP] Help needed with Sessions

2002-02-25 Thread WG4- Cook, Janet
Hi all, I am trying to get sessions to work to use to pass some data around, but the values do not seem to be coming through - I've probably got something basic wrong PHP version is 4.0.4pl1 sources are validate.php ?php include(header.inc); ? HTML HEAD TITLEToday's Date/TITLE /HEAD BODY

[PHP] Help needed - need to access a value from DB into all pages

2002-02-21 Thread WG4- Cook, Janet
Hi there, I am struggling with a concept and can't seem to find a way to do it so hoping you all can help. We want to use PHP with MySql Db. For security reasons on the DB, it is to be accessed only through this front end i.e. via the internal web Each user will have a number of levels of

RE: [PHP] Help needed - need to access a value from DB into all pages

2002-02-21 Thread Martin Towell
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

[PHP] php help needed, is there a bright spark out there!

2002-02-06 Thread hamish
Hello All, I have been asked to do a project that seems to be baffling me. It's not really the php which is the hard part, but the mathematical problem behind the project that is causing me to have a headache! Imagine an ecommerce site where a user can pick 5 products (it must be 5) from

Re: [PHP] php help needed, is there a bright spark out there!

2002-02-06 Thread DL Neil
Hello hamish, [msg converted from HTML to simple-text format] I have been asked to do a project that seems to be baffling me. It's not really the php which is the hard part, but the mathematical problem behind the project that is causing me to have a headache! ... =This reminds me of the

[PHP] using eregi - what regular expression rules does it use ? works in linux ( grep ) but not PHP - help needed

2002-01-16 Thread Neil
There not much documentation in the online manual about eregi. Apart from the usage I need to know more about what regx it uses, in the linux shell , using grep i got it right for my needs .. I want to find and reject content with email address .. [desiredating@opie desiredating]$ echo [EMAIL

[PHP] Re: using eregi - what regular expression rules does it use ? worksin linux ( grep ) but not PHP - help needed

2002-01-16 Thread Philip Hallstrom
from the manual: These functions all take a regular expression string as their first argument. PHP uses the POSIX extended regular expressions as defined by POSIX 1003.2. For a full description of POSIX regular expressions see the regex man pages included in the regex directory in the PHP

[PHP] Help needed: Failed opening '' for inclusion

2001-11-25 Thread David De Graff
Hi, To test a new php installation I accessed a page called index.php that contains only ?php phpinfo(); ? but that produces this error: Warning: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/include/php:/usr/local/bin/ph p') in Unknown on line 0 This seems

Re: [PHP] Help needed: Failed opening '' for inclusion

2001-11-25 Thread B. van Ouwerkerk
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

[PHP] Help needed developing Logic!

2001-11-24 Thread Thomas Edison Jr.
Hi, I've made a PHP Chatroom and i need help developing the logic behind the Private Chat feature. I'll first explain briefly how my chat works. It's a very very simple Chat using just DB and nothing else. User enters.. his name,date goes into Chat. QueryString passes his name to main area

[PHP] help needed for multimania.com

2001-10-27 Thread Kamran H. Hassan
Hi, Thanks for the info. about free web hosting www.multimania.com , i will be greateful if any one help in the steps of config. mysql and php on this web hosting, the problem is that site is in non-english language (i think its in french which i dont understand). if any one let me know briefly

Re: [PHP] help needed for multimania.com

2001-10-27 Thread Andrew Brampton
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

[PHP] help needed

2001-08-24 Thread steven
PLEASE REPLY DIRECTLY TO THIS EMAIL ADDRESS, I AM NOT SUBSCRIBED TO THE LIST hi there I am trying to insert this code into my pages to dynamically add backwards and forwards links to my pages but the code keeps giving me errors. below is the code, if someone could please tell me what I am doing

RE: [PHP] help needed

2001-08-24 Thread Boaz Yahav
:39 AM To: [EMAIL PROTECTED] Subject: [PHP] help needed PLEASE REPLY DIRECTLY TO THIS EMAIL ADDRESS, I AM NOT SUBSCRIBED TO THE LIST hi there I am trying to insert this code into my pages to dynamically add backwards and forwards links to my pages but the code keeps giving me errors. below

Re: [PHP] help needed

2001-08-24 Thread Sheridan Saint-Michel
PROTECTED] To: Sent: Friday, August 24, 2001 4:38 AM Subject: [PHP] help needed PLEASE REPLY DIRECTLY TO THIS EMAIL ADDRESS, I AM NOT SUBSCRIBED TO THE LIST hi there I am trying to insert this code into my pages to dynamically add backwards and forwards links to my pages but the code keeps giving

[PHP] Help needed

2001-08-24 Thread Javi - NeoDigit
I'm using copy() and the final owner is nobody, I'm opening a socket connection with fsockopen() so I have a validate user. I want the validated user to be the owner of the new file That`s de code: - open the socket - validate user - change dir chmod so we can write - write the file (with nobody

Re: [PHP] Help needed with multiple select form element and PHP !

2001-05-02 Thread elias
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++) {

[PHP] Help Needed in a short project with LDAP(NDS), Mirapoint and PHP as the main application server - OT (sorry)

2001-04-20 Thread Romulo Roberto Pereira
Hello, Vox2Vox needs 2 developers for a short project. They don't need to work on site. The company is in Miami/FL and the developers can be anywhere. Please send Curriculum Vitae with your answer... Contact me directly. Pre-requisites: - Availability: NOW - 3 years experience minimum

[PHP] Help Needed Please

2001-04-03 Thread Peter Houchin
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 as it will display them all how ever when i go

Re: [PHP] Help Needed Please

2001-04-03 Thread David Robley
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

RE: [PHP] Help Needed Please

2001-04-03 Thread Peter Houchin
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

Re: [PHP] Help Needed Please

2001-04-03 Thread David Robley
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"

RE: [PHP] Help needed - search problem

2001-03-15 Thread Boget, Chris
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;

[PHP] Help needed tsrm_error

2001-02-01 Thread Tony Brown
Hello all, I have an issue that I can not seem to resolve. Scenario: Solaris 2.7 Netscape Enterprise Server 4.1 PHP 4.0.4 Oracle 8i Configured as: --enable-debug --enable-pic --enable-inline-optimization --with-regex=system --with-gettext=/usr/bin --enable-safe-mode --enable-sysvmem

Re: [PHP] Cobalt Raq/PHP Help Needed

2001-01-18 Thread Kevin Cawthorne
ubject: [PHP] Cobalt Raq/PHP Help Needed Hi all, this list to date has been extremely helpful and I thought you might be able to help with my latest problem. I have a Cobalt Raq and need to host many different domain names but have them all point to one directory. e.g. web site is called www.

<    1   2