[PHP-WIN] Re: [phpXperts] Re: [PHP-WIN] Need help with mysql error

2013-06-20 Thread Shiplu
You can use reserved keywords as column names too. Just use ` to enclose the name. Like `add`

[PHP-WIN] Re: [phpXperts] Re: [PHP-WIN] Need help with mysql error

2013-06-20 Thread shiplu
On Jun 7, 2013 9:28 PM, "Gu®u" wrote: > > > > Hi All, > > Yes 'add' is a reserved word & that was my mistake. I was looking it from PHP side all the time. I didn't thought about MYSQL stuff. I have changed it to 'os_add' and now its working. Thanks guys. You guys rock :) > You can use reserved ke

Re: [PHP-WIN] Need help with mysql error

2013-06-07 Thread Gu®u
Hi All, Yes 'add' is a reserved word & that was my mistake. I was looking it from PHP side all the time. I didn't thought about MYSQL stuff. I have changed it to 'os_add' and now its working. Thanks guys. You guys rock :) On Fri, Jun 7, 2013 at 8:47 PM, Arno Kuhl wrote: > -Original Messa

RE: [PHP-WIN] Need help with mysql error

2013-06-07 Thread Arno Kuhl
-Original Message- From: GuRu [mailto:nagendra802...@gmail.com] Sent: 07 June 2013 12:22 PM To: php-windows@lists.php.net; php mysql; phpexpe...@yahoogroups.com Subject: [PHP-WIN] Need help with mysql error Hi All, I am working a a project in which there is a table with some variables. I

Re: [PHP-WIN] Need help with mysql error

2013-06-07 Thread Jacob Kruger
What's the sort of final result version of $sql look like? I am assuming that you're using something like sprintf function to build it up based on original string, and values, etc.? As in, I myself would generally have used something like $sql = sprintf("insert into %s...", $tableName); etc. -

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Jacob Kruger
Some browsers will moan/complain about the webpage rendering an email address, but that's the simplest way to do it. Aside from that, here's a link to the w3schools.com page on PHP mail sending: http://www.w3schools.com/PHP/php_mail.asp Stay well Jacob Kruger Blind Biker Skype: BlindZA '...

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Tac Tacelosky
Use PHPMailer, it is MUCH, MUCH, MUCH better than the native mail() function built into PHP. If you have a google account, you can set it up to use that as your mail server, saving you all sorts of headaches involved with sending mail from Windows, especially from a home machine with a dynamic IP

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Richard Quadling
2011/4/4 Guru™ : > Hi, > > Here is the PHP script I am using to send email to myself. > > > > $party_name = $HTTP_POST_VARS['party_name']; > $contact_no = $HTTP_POST_VARS['contact_no']; > $email = 'nagendra802...@gmail.com'; > > > mail($email,$party_name,$contact_no); > > ?> > > > > 2011/4/4 Richa

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Guru™
Hi, Here is the PHP script I am using to send email to myself. 2011/4/4 Richard Quadling > 2011/4/4 Guru™ : > > Hi Richard, > > I am using simple PHP mail function but, I am unable to send an email to > > myself. What I want is when the user click on submit button I should get > an > > emai

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Richard Quadling
2011/4/4 Guru™ : > Hi Richard, > I am using simple PHP mail function but, I am unable to send an email to > myself. What I want is when the user click on submit button I should get an > email with the form data. > > > > 2011/4/4 Richard Quadling >> >> 2011/4/4 Guru™ : >> > Hi All, >> > >> > I have

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Guru™
Hi Richard, I am using simple PHP mail function but, I am unable to send an email to myself. What I want is when the user click on submit button I should get an email with the form data. 2011/4/4 Richard Quadling > 2011/4/4 Guru™ : > > Hi All, > > > > I have this HTML form > > > > > > > >

Re: [PHP-WIN] Need Help with PHP Mails

2011-04-04 Thread Richard Quadling
2011/4/4 Guru™ : > Hi All, > > I have this HTML form > > > > > > >   >     >       cellpadding="0" cellspacing="0" bordercolor="#00"> >         >           align="right">Your Name >           type="text" size="50" /> >  

Re: Fwd: Re: [PHP-WIN] Need help getting syntax correct on 2 related problems.

2010-12-19 Thread Bill Mudry
4) (4) Date: Sat, 18 Dec 2010 05:01:08 GMT From: Niel Archer To: php-windows@lists.php.net Reply-To: php-windows@lists.php.net X-Mailer: Becky! ver. 2.48.02 [en] Subject: Re: [PHP-WIN] Need help getting syntax correct on 2 related problems. > I have worked up an SQL script that needs expan

Re: [PHP-WIN] Need help getting syntax correct on 2 related problems.

2010-12-17 Thread Niel Archer
> I have worked up an SQL script that needs expansion into two > different scripts to take care of two different needs. They can be > worked from one table, the 'species' file while the second will > probably need the species file to have a join to the sci_genus file. > > First, perhaps I should p

Re: [PHP-WIN] Need Help with database output

2010-08-28 Thread Phansys Corp
Hi Nagendra! 0) { echo 'Col1Col2Col3'; do { echo '', $row_rs_query['Col1'], '', $row_rs_query['Col2'], '', $row_rs_query['Col3'], ''; } while($row_rs_query = mysql_fetch_assoc($rs_query)); echo ''; } mysql_free_result($rs_query); ?> 2010/8/28 nagendra prasad > Hi All, > > I have a

Re: [PHP-WIN] Need help with HTML form errors

2010-07-05 Thread nagendra prasad
So, What if I define the same global variable twice, will this solve the issue?

Re: [PHP-WIN] Need help with HTML form errors

2010-07-04 Thread nagendra prasad
Hi Everyone, Sorry, I haven't mentioned in my earlier mail that the variables $filter and $filterfield are global variables which I already defined. Best, Guru.

[PHP-WIN] RE: [PHP-DB] Re: [PHP-WIN] Need Help in setting up a server

2010-06-28 Thread Systems
installation directly from any machine. -Original Message- From: Phansys Corp [mailto:phan...@gmail.com] Sent: Sunday, June 27, 2010 12:47 PM To: nagendra prasad Cc: phpexpe...@yahoogroups.com; PHP DB; php mysql; php-windows@lists.php.net Subject: [PHP-DB] Re: [PHP-WIN] Need Help in

Re: [PHP-WIN] Need Help in setting up a server

2010-06-27 Thread Phansys Corp
Hi nagendra prasad. If all the PC's are on the same network, the only thing you should do is turn on the wamp server and check the httpd.conf file policies on "Allow from". Best regards. 2010/6/27 nagendra prasad > Hi All, > > I need help in setting up a home server. I know the subject line look

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-15 Thread Niel Archer
> > > (got work to do during business hours) on the differences between > > > UPDATE and INSERT. > > > >INSERT creates a new entry, update changes an existing ones. So you > >cannot use INSERT to corect your data. > > Then it must work on a created field that has not been populated yet? > It doe

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-15 Thread James Crow
Bill Mudry wrote: The following SQL query UPDATE species2 AS s LEFT JOIN sci_genera AS sg ON (sg.genus_name = LEFT(s.species_name, LOCATE(' ', s.species_name) - 1)) SET s.generalID = sg.generalID; alters the contents of species2 to become ID species_name 1 Quercus rubra 2 Dalbergia

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Bill Mudry
The following SQL query UPDATE species2 AS s LEFT JOIN sci_genera AS sg ON (sg.genus_name = LEFT(s.species_name, LOCATE(' ', s.species_name) - 1)) SET s.generalID = sg.generalID; alters the contents of species2 to become ID species_name 1 Quercus rubra 2 Dalbergia nigra Assuming I

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Bill Mudry
At 02:37 PM 4/14/2009, you wrote: > (got work to do during business hours) on the differences between > UPDATE and INSERT. INSERT creates a new entry, update changes an existing ones. So you cannot use INSERT to corect your data. Then it must work on a created field that has not been populated

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Niel Archer
> At 10:40 AM 4/14/2009, you wrote: > > > In the botanical tree of woods, I got the original code for working > > > ok a few days ago but there are so > > > many errors in the Species MySQL file that there is a lot of cleanup > > > in the data needed before the > > > whole tree will work well. > >

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Bill Mudry
At 10:40 AM 4/14/2009, you wrote: > In the botanical tree of woods, I got the original code for working > ok a few days ago but there are so > many errors in the Species MySQL file that there is a lot of cleanup > in the data needed before the > whole tree will work well. > > In particular, there

Re: [PHP-WIN] Need help updating a whole column in one table from another table

2009-04-14 Thread Niel Archer
> In the botanical tree of woods, I got the original code for working > ok a few days ago but there are so > many errors in the Species MySQL file that there is a lot of cleanup > in the data needed before the > whole tree will work well. > > In particular, there are two files of interest that w

Re: [PHP-WIN] need help! plz

2008-03-24 Thread Jarrett Meyer
You can't call the header after you've sent output to the client (i.e. the 'echo' statement). Redirect first, then check the mail state, stored as a session variable or something similar. Hooman Fatoorehchi wrote: dear all, I want to make a form-to-email page and I want to diplay a messageb

Re: [PHP-WIN] need help! plz

2008-03-24 Thread John Mertic
You could just do the header line in js as well, which would work. So change to: mail( "m <[EMAIL PROTECTED]>[EMAIL PROTECTED]", "Feedbacks",$message, "From: $email" ); echo "echo "alert('Your message was sent successfully!'); document.location.href = 'htt

Re: [PHP-WIN] Need help

2007-05-07 Thread DL Neil
Gustav Wiberg wrote: > Hi there! > > Anyone experienced trouble connecting to a MSSQL - Server but not every time? > (About every third time the connection succeeds, fourth time, fitfh time and > so on ...) > > (IIS + PHP + Win2003 Server) > > > Best regards > /Gustav Wiberg Intermittent DNS

Re: [PHP-WIN] Need help with PHP -> Mail -> SMTP -> Windows Exchange

2004-07-31 Thread Justin Patrin
On Sat, 31 Jul 2004 10:37:53 -0400, Andrew English <[EMAIL PROTECTED]> wrote: > I am trying to get my web page ready for uploading when I ran into a snag. > The person who supplied me with the php code for the contact page gave me > the send mail code. I am wondering if anyone can help me out with

RE: [PHP-WIN] Need help using "php.exe"

2004-04-29 Thread Svensson, B.A.T. (HKG)
> Like every shell application, the PHP binary accepts a number of > arguments but your PHP script can also receive arguments. The number of > arguments which can be passed to your script is not limited by PHP (the > shell has a certain size limit in the number of characters which can be > passed;

RE: [PHP-WIN] Need help using "php.exe"

2004-04-29 Thread Gryffyn, Trevor
http://www.php.net/manual/en/features.commandline.php Check out this page about using PHP via command line. You pass variables in via the $argv variable. Here's a snippet: Like every shell application, the PHP binary accepts a number of arguments but your PHP script can also receive a

Re: [PHP-WIN] Need help with session problem

2003-11-28 Thread Eric COLINET
Hi, I run into the same problem, it is not apache related but Internet explorer related. In fact cookies are not stored in relative but in absolute time and for that they expire once setted. For me an upgrade on the client ie was sufficient or at least setting the date to the correct value ;)

Re: [PHP-WIN] need help

2003-09-02 Thread Miha Nedok
You can use Javascript or look at header(). And check the archives it was discussed before. -Mike On Tue, 2 Sep 2003, zicux wrote: > Date: Tue, 2 Sep 2003 23:36:00 +0300 > From: zicux <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] need help > > Hello, > > How can I make my pa

Re: [PHP-WIN] need help with sessions

2003-07-18 Thread Luis Ferro
o: Donatas Cc: [EMAIL PROTECTED] You can use HTML: -Mike On Thu, 10 Jul 2003, Donatas wrote: Date: Thu, 10 Jul 2003 19:25:46 +0200 From: Donatas <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] need help with sessions Thanks Luis, I had this idea in mind, but still.

RE: [PHP-WIN] need help with sessions

2003-07-12 Thread Donatas
EMAIL PROTECTED] > Subject: RE: [PHP-WIN] need help with sessions > > Thanks Luis, > > I had this idea in mind, but still... maybe someone knows a way how to > achieve same effect without using JavaScript? Not that I don't like it but > that there should be some way. > >

RE: [PHP-WIN] need help with sessions

2003-07-12 Thread Miha Nedok
You can use HTML: -Mike On Thu, 10 Jul 2003, Donatas wrote: > Date: Thu, 10 Jul 2003 19:25:46 +0200 > From: Donatas <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] need help with sessions > > Thanks Luis, > > I had this idea in mind, but

RE: [PHP-WIN] need help with sessions

2003-07-10 Thread Donatas
Thanks Luis, I had this idea in mind, but still... maybe someone knows a way how to achieve same effect without using JavaScript? Not that I don't like it but that there should be some way. PS. Your english is just as great as mine :D -Original Message- From: Luis Ferro [mailto:[EMAIL

Re: [PHP-WIN] need help with sessions

2003-07-10 Thread Luis Ferro
One of the things that can be happening is that the server is sending the "location:" before the session data in the header... and when the browser gets it, simply forgots the session data. I'm not sure of in which version of PHP there was a problem like the one i'm describing, but i remember v

RE: [PHP-WIN] Need Help with Classes

2003-02-12 Thread Matt Hillebrand
I'm not sure what you're expecting to see. You don't have any code that produces output, nor do you invoke the myFunc() method. Matt |-Original Message- |From: Paul Dymecki [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, February 12, 2003 8:23 PM |To: [EMAIL PROTECTED] |Subject: [PHP-WIN] N

RE: [PHP-WIN] Need help with Echo

2002-10-10 Thread Rich Gray
Bonjour Keith Use mysql_fetch_array($result) not mysql_fetch_row($result) - this will return an associative as well as a standard array. Ciao Rich -Original Message- From: Keith Calvert [mailto:[EMAIL PROTECTED]] Sent: 07 July 2002 07:56 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Need hel

RE: [PHP-WIN] Need help with Echo

2002-10-10 Thread Davy Obdam
Hi Kieth, I would use this : $result = mysql_query("select * from proprietaires") or die( mysql_error() ); while ($row = mysql_fetch_row($result)) { echo ".$row['Id']."; echo "\n"; echo $row[2]; echo "\n"; } I hope this works, Best regards, Davy Obdam, mailto:[EMAIL PROTECTED] You wrote

Re: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Hugh Bothwell
"B.A.T. Svensson" <[EMAIL PROTECTED]> wrote in message 001301c1fb4e$95c4d450$[EMAIL PROTECTED]">news:001301c1fb4e$95c4d450$[EMAIL PROTECTED]... > > What you need to do is Zip him first and then insert him in the > > automatic cup holder (it looks like a CD-Rom tray) you will then find > > him on

RE: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Svensson, B.A.T. (HKG)
> What you need to do is Zip him first and then insert him in the > automatic cup holder (it looks like a CD-Rom tray) you will then find > him on your C drive. You may then include him as an attachment. I haven't been trying out the Zip utility yet. What I did before was to use this free Zap ut

RE: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread Asendorf, John
Hi Anders, There are a couple of possibilities. First, in the php.ini file you must make sure you've turned on the extention for what you're trying to do. Uncomment the line, ;php_poultry.dll Then you'll have access to the compression and upload schemas for poultry. Although this extension is

Re: [PHP-WIN] Need help with compressed uplaod problem...

2002-05-14 Thread R.S. Herhuth
Anders, What you need to do is Zip him first and then insert him in the automatic cup holder (it looks like a CD-Rom tray) you will then find him on your C drive. You may then include him as an attachment. Hope this helps, RSH "Svensson, B.A.T. (HKG)" wrote: > > Hi all! > > I tried this ques

RE: [PHP-WIN] Need help with functions

2002-04-30 Thread Scott Hurring
I'm not sure if i properly understand what you need, but *if* i understand; you need to pass the ENTIRE form to a function. On the HTML form, name all form fields somethign like: "form[name]" "form[email]" Then, whatever function needs the ENTIRE form, just pass it the $form array. If you wa

[PHP-WIN] Re:[PHP-WIN] need help with configuration

2002-01-31 Thread Michel Laine
First of all i have some questions you must answer so we know how to help you: Which operating system do you use? Which version of PHP are you using? Do you use any special preconfigured installer kit or just the plain PHP from PHP.net? Which webserver do you use? To be able to run PHP you need a

Re: [PHP-WIN] Need help with variables - SOLVED!

2001-06-27 Thread Michel Laine
This is the code snippet from my original message: > > // Do it! > for ($i = 0; $i <= 34; $i++) { > > // Need help with this part > $j = $i + 1; > $var = ${"DAY".$j}; > $val = $day[$i]; > > // Set PHPLIB Template variable > $t->set_var( $var => $val ); > > } > > // D

Re: [PHP-WIN] Need help with variables

2001-06-26 Thread Michel Laine
Ruslan Ohitin wrote: > Hello Michel, > > You mixing php variables and Template variables. They are from > different "namespaces". set_var() takes associative array with string > keys - Template var names. Edit one line of your code: > > ML> $var = ${"DAY".$j}; > $var = "DAY" . $j; // $var is

Re: [PHP-WIN] Need help with variables

2001-06-26 Thread Ruslan Ohitin
Hello Michel, You mixing php variables and Template variables. They are from different "namespaces". set_var() takes associative array with string keys - Template var names. Edit one line of your code: ML> $var = ${"DAY".$j}; $var = "DAY" . $j; // $var is a string "DAYn" -- Best regards,

Re: [PHP-WIN] Need help with Cookies

2001-06-22 Thread Neuro Mancer
2 de Mayo de 2001 02:37 p.m. To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Need help with Cookies Can't say I know what the problem is, but here are two test files, that work on my Windows 2000, IIS 5, SQL 7 machine. Let me know if you have a problem with them and maybe we can find the problem.

RE: [PHP-WIN] Need Help!!

2001-05-23 Thread Michael Rudel
Hi Brian, ... why don't you change the fieldtype in the mssql-db ??? I think that would be the easiest way. Greetinx, Mike Michael Rudel - Web-Development, Systemadministration - ___ Suchtreffer AG Bleicherstraße 20 D-78467 Konstan

RE: [PHP-WIN] Need help with Cookies

2001-05-22 Thread Ivan Milanez Castellanos
ECTED]] Sent: Martes, 22 de Mayo de 2001 02:37 p.m. To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Need help with Cookies Can't say I know what the problem is, but here are two test files, that work on my Windows 2000, IIS 5, SQL 7 machine. Let me know if you have a problem with them and ma

Re: [PHP-WIN] Need help with Cookies

2001-05-22 Thread Brian Little
Can't say I know what the problem is, but here are two test files, that work on my Windows 2000, IIS 5, SQL 7 machine. Let me know if you have a problem with them and maybe we can find the problem. Brian "Iván Milanez Castellanos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... >

Re: [PHP-WIN] need help displaying random records

2001-04-30 Thread Chris Adams
On 30 Apr 2001 17:27:44 -0700, r.gelstharp <[EMAIL PROTECTED]> wrote: > As a university degree student my final year project is a comparison on ASP > v PHP. I have to make two identical sites in both languages, but am at the > moment having trouble duplicating a function on my ASP pages in PHP. >

Re: [PHP-WIN] Need help bad, select element of form using time

2001-03-19 Thread Tom Mathews
Don't know what your problem is? You can get the current time using the time() function - loads of formatting options to output it as you require. To get 15 minute intervals, just put the SELECT for your form element in a while loop. If your problem is which locale you are in, then that's another

Re: [PHP-WIN] Need help bad, select element of form using time

2001-03-18 Thread Alain Samoun
It's not too clear what you want to do, can you post a snippet of your code where you have problems? Alain On Sun, Mar 18, 2001 at 12:46:00PM -0500, Zachary Harris wrote: > I have a project that a I am working on and have come across a major > snafu. It is my first time using PHP for a project a

Re: [PHP-WIN] Need help with bugs in my classes

2001-01-09 Thread alain samoun
I don't see $pdf as global var in your class??? Alain IThelp wrote: > > The following is a sample php file that is using the class section, class > box, that are in the file Print.inc > > I get numerous undefined variables errors I put one example of it in my > code. > > Here is the testing.p