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

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. > > First of all my sincere regards to

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

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

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

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

2001-12-04 Thread Brian V Bonini
$model => $link) { > > $modelString .= " CLASS=\"menu\">$model"; > > } > > } > > print($makeString . "\n"); > > print($modelString . "\n"); > > > > (I don't get what you're try

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

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
You need to put the info in an array for all record to be available, like this: while ($row = mysql_fetch_array($result)) { $uid[] = $row['uid']; $address[] = $row['address']; $city[] = $row['city']; $state[] = $row['state']; $zip_code[] = $row['zip_code']