On 6/25/2013 2:32 AM, OJFR wrote:
Yeah, Jim, please explain what u mean by "Per the manual, associative arrays
using string indices should always use ' ' around them. They work (as
mentioned in the manual) but are wrong". As long as I remember I could use
associative arrays in that way (ex. $_S
The original post is here:
http://news.php.net/php.db/48751
On 6/25/2013 1:02 PM, Michael Oki wrote:
I'm sorry I've not been following the last three responses. In a nutshell,
what "EXACTLY" does the poster of this issue want?
On 25 June 2013 11:06, Toby Hart Dyke wrote:
What Jim means is
On 6/25/2013 6:06 AM, Toby Hart Dyke wrote:
What Jim means is here in the manual:
http://www.php.net/manual/en/language.types.array.php#language.types.array.donts
In a nutshell:
Always use quotes around a string literal array index. For example,
/$foo['bar']/ is correct, while /$foo[bar]/ is
I'm sorry I've not been following the last three responses. In a nutshell,
what "EXACTLY" does the poster of this issue want?
On 25 June 2013 11:06, Toby Hart Dyke wrote:
>
> What Jim means is here in the manual:
>
> http://www.php.net/manual/en/**language.types.array.php#**
> language.types.ar
What Jim means is here in the manual:
http://www.php.net/manual/en/language.types.array.php#language.types.array.donts
In a nutshell:
Always use quotes around a string literal array index. For example,
/$foo['bar']/ is correct, while /$foo[bar]/ is not.
The reason is that without the quotes
Yeah, Jim, please explain what u mean by "Per the manual, associative arrays
using string indices should always use ' ' around them. They work (as
mentioned in the manual) but are wrong". As long as I remember I could use
associative arrays in that way (ex. $_SESSION['Cust_Num']). There's another
On 23 June 2013 21:37, Ethan Rosenberg, PhD wrote:
> On 6/23/2013 2:31 PM, Ethan Rosenberg, PhD wrote:
>
>> Dear List -
>>
>> There is an error in my query, and I cannot find it.
>>
>> This fails:
>>
>> $_SESSION['Cust_Num'] = $_REQUEST['cnum'];
>> $_SESSION['CustNum'] = $_REQUEST['cnum'];
>>
>>
On 13 June 2011 15:28, C0mf0rtably Numb <08.kus...@gmail.com> wrote:
> My php and apache are working fine together. I was doing good with php and
> apache until I decided to work with mysql. I will have a look at all the
> links you provided and see if gives me a solution. Thanks.
>
> On Mon, Jun 1
On 13 June 2011 14:12, C0mf0rtably Numb <08.kus...@gmail.com> wrote:
> Any help?
>
> On Mon, Jun 13, 2011 at 5:38 PM, C0mf0rtably Numb <08.kus...@gmail.com>wrote:
>
>> Hello everyone,
>>
>> I am in the process of learning php and I was trying to connect to a mysql
>> database on my own computer(loc
Neil Smith [MVP, Digital media] wrote:
When you create your DB connection $db, follow the connection line
directly after with this :
$db->setAttribute(PDO::ATTR_ERRMODE , PDO::ERRMODE_EXCEPTION);
The default is I believe PDO::ERRMODE_SILENT which is confusing to most
people the first time.
The MSSQL extension does not rely on MySQL in any way. The only required
DLL is ntwdblib.dll.
It would help if you could post any error messages or some sample code
that shows your problem.
The 'correct' installation is to copy ntwdblib.dll to windows\system32 on
the system that runs the PHP scri
27;s not
recommended.
-Original Message-
From: viraj [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 20, 2005 12:14 AM
To: Dan
Cc: Michael Louie Loria; php-db@lists.php.net
Subject: Re: [PHP-DB] Re: Problem with mysql_connect(...)
this is a dll issue; if you are running php5 on windows
this is a dll issue; if you are running php5 on windows!
read this..
http://www.experts-exchange.com/Web/Web_Languages/PHP/PHP_Installation/Q_21077014.html
~viraj.
On 9/19/05, Dan <[EMAIL PROTECTED]> wrote:
> If this is a windows computer, you might want to try adding C:\PHP (or
> whatever di
If this is a windows computer, you might want to try adding C:\PHP (or
whatever directory your PHP resides) into the path. I read somewhere that
this needs to be done for PHP5 and MySQL. Not sure if it was true but
seemed to clear up the problems I was having getting the 2 to talk to either
other
That was indeed the problem and of course I should have seen it myself!
Thanks very much, Jochem.
Jeffrey
Jochem Maas wrote:
Steve McGill wrote:
"Jeffrey Baumgartner" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
I've made a little programme that deletes expired records from databas
Steve McGill wrote:
"Jeffrey Baumgartner" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
I've made a little programme that deletes expired records from database
tables. The troublesome bit looks like this...
$query = "SELECT ic FROM ic_ic WHERE date <= CURDATE()";
$resu
I may be incorrect, but I do not think that by "redefining" the
variable $pic is destroying its old contents. If you are familiar with
how programming works, you realize that the "stuff" on the right side
of the "=" sign is evaluated first, and then assigned to the left side
of the "=" sign. Be
Kim,
Won't redefining the variable destroy the MySQL Resource, resulting in a
resource invalid error, like he has?
$pic = mysql_query($sql,$connection); //Defines variable
$pic //Redefining variable, dumps old contents = //calling on an invalid MySQL Resource, because it doesn't exist mysql_fetch
From: "Jeremy Shovan" <[EMAIL PROTECTED]>
> All I did was rewrite it exactly the same as it was and the
> parse error disappeared. I have never seen anything quite
> like this before.
Seen this before. It's either the editor or a copy and paste operation
adding weird "invisible" characters. Major
Marten,
Look at the output of a phpinfo() when you have the putenv()'s - you can
see that there are a couple of different environments here.
Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software http://www.openlinksw.com
Universal Data Access & Virtuoso Universal Server
Those who are new to PHP, mySQL, or both, come to this list looking for
help. Some posters are tentative about posting questions for fear of
looking ignorant, or even worse. Responses, such as Mr Ferger's below, do
not help this situation.
If you have a suggestion for a poster, please make it w
Daniel,
What driver are you using?
I'll check your code against another one for comparison's sake, and do some
property queries.
Actually, if you want to query the driver for it's features yourself, you
can download a trial of ODBCScan from our site.
Best regards,
Andrew Hill
Director of Techno
So what is actually the problem with running sp in mssql?
Mike
-Original Message-
From: Carpe Diem Support [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 3:32 PM
To: Hugh Bothwell; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Re: problem running stored MsSQL
23 matches
Mail list logo