Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
Thanks Jay. How would that work into something like: printf("Total Budget: $%s\n", mysql_result($result,0,"budget")); or printf("%s%s%s%s%s%s%s\n", $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); Thanks, Dave Jay Blanchard wrote: > [snip] > I'm not sure th

[PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
I'm not sure this is possible, but here's what I'd like to do: I know that in order for a set of records from MySQL to display in numerical order on a web page, you need to make the column type "Integer," but here's my situation: I'm creating a database of contracts that my organization has. N

[PHP] Multi-Word Searches

2002-07-02 Thread Dave Rosenberg
I'm putting together a PHP/MySQL search and have run into a minor problem. I have a text field to fill in a keyword on one page and that brings up another PHP page ".com/showkey.php?id=division&search=Bob%20Cobb". Within that new page, you can sort the results by ID, and to do this I mad

Re: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Dave Rosenberg
Thanks y'all! Everything's workin great now. Jon Haworth wrote: >>>With javascript onSubmit, but that ain't php, so with >>>if($form1==$form2){sendthembackwitherrors()} >>> >>Thanks Chris, but I have about 10 different fields and want to make sure >>none of those are the same. >> > > You coul

Re: [PHP] Preventing Identical Form Fields

2002-02-07 Thread Dave Rosenberg
> 303 447 2496 x 107 > www.netinfra.com > > "We'll take care of it." > > "Net Infrastructure has definitely helped our company, even though we're > not in the US, Net Infrastructure has been a key part in the success of > our business." Juan Carlos Saravi

[PHP] Preventing Identical Form Fields

2002-02-07 Thread Dave Rosenberg
Pretty simple question, I think: I'm creating a PHP form and want to prevent users from entering the same response in more than one form field. How can I have the script check for identical fields on POST? Thanks Dave -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi