You can use reserved keywords as column names too. Just use ` to enclose
the name. Like `add`
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
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
-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
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. -
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
'...
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
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
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
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
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
> >
> >
> >
> >
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" />
>
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
> 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
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
So, What if I define the same global variable twice, will this solve the
issue?
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.
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
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
> > > (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
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
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
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
> 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.
> >
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
> 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
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
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
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
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
> 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;
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
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 ;)
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
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.
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.
>
>
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
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
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
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
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
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
"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
> 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
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
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
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
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
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
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
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,
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.
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
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
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]...
>
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.
>
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
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
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
59 matches
Mail list logo