Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Nick Khamis
Correct. Extensions, such as those found in the PECL repository, are added in that manner. Things compiled into the core, such as what you're doing with MySQLi, are automatically loaded regardless, because they're statically-built into the PHP binary itself.

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Nick Khamis
I was just going to try recompilign with mysql instead of mysqli... I hope this fixes it. In terms of mysql being compiled into the core, does this mean I do not have to add extension=mysqli.so extension_dir=/usr/local/php/ include/php/ext/ Thanks in Advance,

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Daniel Brown
On Thu, Oct 13, 2011 at 14:33, Nick Khamis wrote: > I was just going to try recompilign with mysql instead of mysqli... I hope > this fixes it. > In terms of mysql being compiled into the core, does this mean I do not have > to add > > extension=mysqli.so > extension_dir=/usr/local/php/include/php

Re: [PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Daniel Brown
On Thu, Oct 13, 2011 at 14:19, Nick Khamis wrote: > I have been stuck on this, and have no idea what is causing it. I have > compiled PHP with mysqli support: Right which will use mysqli_connect(), et al. If you didn't compile it with straight MySQL support, then the mysql_*() functions

[PHP] Stuck on undefined function mysql_connect()

2011-10-13 Thread Nick Khamis
I have been stuck on this, and have no idea what is causing it. I have compiled PHP with mysqli support: ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/usr/local/php --with-mcrypt=/usr/local/bin/mcrypt --with-mysqli --with-gettext=./ext/gettext

RE: [PHP] Stuck in implementing PHP with HTML

2010-10-14 Thread Tommy Pham
> -Original Message- > From: vivek [mailto:er.jadiyavi...@gmail.com] > Sent: Thursday, October 14, 2010 2:26 AM > To: php-general@lists.php.net > Subject: [PHP] Stuck in implementing PHP with HTML > > Hi All, > > Hi i am a newbie in PHP environment. > >

[PHP] Stuck in implementing PHP with HTML

2010-10-14 Thread vivek
Hi All, Hi i am a newbie in PHP environment. First of all my sincere regards to all behind developing this fabulous language & of-course to every one who are sharing their knowledge & views making others comfortable with the same. Coming to the point i am trying to create a contact form applying

RE: [PHP] stuck with simple query..... Plz have a look

2004-04-07 Thread Jay Blanchard
[snip] We have two tables [/snip] Please do not cross-post, send only to the list where needed. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stuck with simple query..... Plz have a look

2004-04-07 Thread Tariq Murtaza
We have two tables Table1: - ID |Name 1 |name1 2 |name2 3 |name3 4 |name4 Table2: --- PL | PC

Re: [PHP] Stuck!

2003-04-03 Thread Chris Hewitt
Andrew wrote: Having spent hours on my members registration and login pages I am getting so close to cracking it, but have now hit a brick wall. I am getting a warning message which I think could stem from somewhere else in my code but I have no idea where. There is a little too much code to put h

[PHP] Stuck!

2003-04-03 Thread Andrew
Having spent hours on my members registration and login pages I am getting so close to cracking it, but have now hit a brick wall. I am getting a warning message which I think could stem from somewhere else in my code but I have no idea where. There is a little too much code to put here so is the

[PHP] Stuck at PHP4 installation( with Apache2 )

2002-10-03 Thread kramer
hi, I've Apache 2 running fine in my Windows 2000 machine. I installed PHP 4.2.3( from the zip-file method ). I copied php4apache.dll and php4apache2.dll to /WINNT/system32 and /WINNT as well( to be safe ). In my httpd.conf, either of the following startments are causing the Apache to not start.

Re: [PHP] stuck n00b

2002-10-01 Thread Chris Nielsen
I was sure I'd tried it, but $_POST works now. Thanks guys. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 000501c2697d$ded95a10$8102a8c0@000347D72515">news:000501c2697d$ded95a10$8102a8c0@000347D72515... > [snip] > My form is actually using method="post". And I did use $_POST. Can't > reme

RE: [PHP] stuck n00b

2002-10-01 Thread Jay Blanchard
[snip] My form is actually using method="post". And I did use $_POST. Can't remember if I tried $_GET, but if I'm using post would that even work? I'll give it a try later and let you know. [/snip] My bad! I looked at two e-mails from different folks and saw a "GET" in one, and a "POST" in anothe

Re: [PHP] stuck n00b

2002-10-01 Thread Chris Nielsen
My form is actually using method="post". And I did use $_POST. Can't remember if I tried $_GET, but if I'm using post would that even work? I'll give it a try later and let you know. "Jay Blanchard" <[EMAIL PROTECTED]> wrote in message 000101c2697c$4ad74bc0$8102a8c0@000347D72515">news:000101c2697

RE: [PHP] stuck n00b

2002-10-01 Thread Jay Blanchard
[snip] You mentioned everything but $_GET{'userName'] :^] [/snip] Ooops, typo! $_GET['userName'] HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] stuck n00b

2002-10-01 Thread Jay Blanchard
[snip] Submits to addUser.php: Returns this error in my browser: Notice: Undefined index: userName in E:\Inetpub\wwwroot\Test\addUser.php on line 11 Is there a setting in my php.ini file I need to change? register_globals is off, as that seems to be the preferred method now. But that's my iss

[PHP] stuck n00b

2002-10-01 Thread Chris Nielsen
I have a simple form: Enter Username: Submits to addUser.php: Returns this error in my browser: Notice: Undefined index: userName in E:\Inetpub\wwwroot\Test\addUser.php on line 11 Is there a setting in my php.ini file I need to change? register_globals is off, as that seems to be

[PHP] Stuck using mail() in script with variable

2002-05-05 Thread Cheyenne Vermeulen
Hi all! I'm pretty green on this and i'm trying to create a form that sends a authorization mail using a few variable using the ()mail script. I have all settings correct, added the smtp right, even tested it with the following scripts wich worked fine "" and this one When using the co

RE: [PHP] Stuck on array, need a little help.

2001-12-04 Thread Brian V Bonini
c: [EMAIL PROTECTED] > Subject: Fwd: [PHP] Stuck on array, need a little help. > > > Hmm. Mail didn't go through, trying again... > > Begin forwarded message: > > > > > On Tuesday, December 4, 2001, at 09:16 AM, Brian V Bonini wrote: > > > >> I

Re: [PHP] Stuck on array, need a little help.

2001-12-04 Thread Steve Cayford
x27;Huez BuenosAries Tourmalet > Moots VaMoots > as it should... > > But, I need it to produce: > Trek LeMond Moots > Trek 5200 Zurich Chambery Alpe d'Huez BuenosAries Tourmalet VaMoots > > And I need to get the value of $sub_val in the nested "whi

RE: [PHP] Stuck on array, need a little help.

2001-12-04 Thread Brian V Bonini
rich Chambery Alpe d'Huez BuenosAries Tourmalet Moots VaMoots as it should... But, I need it to produce: Trek LeMond Moots Trek 5200 Zurich Chambery Alpe d'Huez BuenosAries Tourmalet VaMoots And I need to get the value of $sub_val in the nested "while" loop to where $val is in th

RE: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Jim Musil
gt; -Original Message- >> From: Jim Musil [mailto:[EMAIL PROTECTED]] >> Sent: Friday, November 30, 2001 4:54 PM >> To: [EMAIL PROTECTED] >> Cc: [EMAIL PROTECTED] >> Subject: Re: [PHP] Stuck on array, need a little help. >> >> >> Your

Re: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Hank Marquardt
Well, it's saying that because $key is an array;) For example, "Mountain" is a $sub_cat: > "Mountain" => array( > "Trek" => array( > "Fuel 100" => "mountain.php?brand=tfuel90", > "Fuel 90" => "mountain.php?brand=schhg" >

RE: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Brian V Bonini
> Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Stuck on array, need a little help. > > > Your script is working like you are asking it to ... > > > Change ... > > while (list($val, $key)=each($bikes[$sub_cat])) { > > To ... > > while (list($k

Re: [PHP] Stuck on array, need a little help.

2001-11-30 Thread Jim Musil
Your script is working like you are asking it to ... Change ... while (list($val, $key)=each($bikes[$sub_cat])) { To ... while (list($key, $val)=each($bikes[$sub_cat])) { and it should work like you WANT it to ... >I'm stuck. $key returns "Array" how can I get at each >level of th

[PHP] Stuck on array, need a little help.

2001-11-30 Thread Brian V Bonini
I'm stuck. $key returns "Array" how can I get at each level of this array? if ($cat == 'bikes' && $sub_cat != 'Road') { while (list($val, $key)=each($bikes[$sub_cat])) { echo "\n"; echo "$val\n"; $bikes = array( "Road" => array( "Trek" => array(

Re: [PHP] stuck

2001-08-17 Thread Rob Hardowa
I'm not 100% sure what you want to accomplish here, or why it is stuck on the last row, but I've made some observations. On Friday 17 August 2001 09:05 am, you wrote: session_start(); > session_register("address"); > session_register("city"); > session_register("state"); > session_register("zip

RE: [PHP] stuck

2001-08-17 Thread Jan De Luyck
to get it out again, you need to use a for loop for ($i = 0; $i < count($uid); $i++) { echo $uid[$i]; ... } Hope this helps, Jan De Luyck > -Original Message- > From: Jeremy Morano [mailto:[EMAIL PROTECTED]] > Sent: Friday, August 17, 2001 6:05 PM > To:

[PHP] stuck

2001-08-17 Thread Jeremy Morano
Hi, Can someone please tell me what is wrong with this page. The problem is that my option block is always stuck on the last record in the table. No matter what option I choose, the information, address, city, state...etc, that is passed is always the one of the last record in the table...Help!