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.
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,
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
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
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
> -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.
>
>
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
[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
We have two tables
Table1:
-
ID |Name
1 |name1
2 |name2
3 |name3
4 |name4
Table2:
---
PL | PC
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
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
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.
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
[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
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
[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
[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
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
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
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
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
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
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
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"
>
> 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
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
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(
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
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:
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!
30 matches
Mail list logo