Hello,
I made a mistake and stored date information to DB as varchar values
(dd.mm.yyy). When I read the DB is it still possible to sort the data by
date with SQL query (ORDER BY date ASC)? Or is it nessessary to have the
date information to be stored as a date in the DB? Will it work or is the
On Thu, May 5, 2005 2:08 am, Angelo Zanetti said:
[sorry for the double-post...]
> the other server. Its running Apache 1 and the server that works is
> running Apache 2.
Are you sure it's not the broken server running Apache 2?...
And possibly PHP 5?
And MySQL 4.1?
Which means you need mysqli
On Wed, May 4, 2005 3:29 pm, Fred Rathke said:
> how can a function get a pointer to an array? This does not work. I use
> PHP4.
Technically, in PHP, they are references, not pointers.
There are no pointers in PHP.
The difference is too subtle for me to understand it, but there is
apparently som
On Thu, May 5, 2005 5:20 am, Martín Marqués said:
> I'm trying to build some communication aside of the server thin client
> stuff,
> with a socket daemon and a socket client.
>
> The daemon is the same that everybody can find in the PHP docs (example
> 1).
> The client simply opens a connection to
On Thu, May 5, 2005 3:37 am, Angelo Zanetti said:
> this is quite weird but apparently on the one server if you user $user
> as a variable name thats what causes the problem.
> I simply renamed my variable to something else and it worked, I find it
> strange that it worked on 1 server and not the o
You could just use relative links, or use a full path link, without the
http://www.mydomain.com part.
Or, you could change application.php to use data from $_SERVER to figure
out what URL you should be using.
and pick through that data.
Somewhere in there you will find what you need to set up
hi
On 5/6/05, Zareef Ahmed <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Look for phpcollab.
along with this also look for dotproject!
>
> zareef ahmed
>
> On 5/4/05, Neal Carmine <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > There are a lot of open source project management packages. .Project,
> > netof
Hi,
On 5/6/05, Oscar Andersson <[EMAIL PROTECTED]> wrote:
> If i do like this.
>
if u do like above u might have to use $_GET['action']
> How does the webbrowser send this? With post or get or ..?
> Shall i get the action with $_POST or $_GET?
> ex.
> @$action = $_POST['action'];
> if(!$ac
On 5/5/05, Cima <[EMAIL PROTECTED]> wrote:
> i've uploaded some files into my postgresql db, via a php script, and now
> id like to give a user the posibility to download these files via a php
> script. what would be the best way to do this bearing in mind that the files
> are 'integrated' into th
On 5/5/05, Oscar Andersson <[EMAIL PROTECTED]> wrote:
> If i do like this.
>
>
> How does the webbrowser send this? With post or get or ..?
get
> Shall i get the action with $_POST or $_GET?
$_GET or $_REQUEST
> ex.
> @$action = $_POST['action'];
> if(!$action)
> @$action = $_GET['act
On 5/5/05, Cima <[EMAIL PROTECTED]> wrote:
> i have the following code that works except when the file i'm trying to
> upload excedes the upload_max _filesize and post_max_size defined in the
> php.ini file.
> what happens when the file is smaller than the max sizes mentioned
> previously, the if (
You could have tried it in the time it took you to post...
It's GET.
On Thu, May 5, 2005 7:28 pm, Oscar Andersson said:
> If i do like this.
>
>
> How does the webbrowser send this? With post or get or ..?
> Shall i get the action with $_POST or $_GET?
> ex.
> @$action = $_POST['action'];
>
Hi,
Look for phpcollab.
zareef ahmed
On 5/4/05, Neal Carmine <[EMAIL PROTECTED]> wrote:
> Hi,
>
> There are a lot of open source project management packages. .Project,
> netoffice and others. Does anyone have a recommendation on the best overall
> project management software for tracking bi
> How I can get the width and height of a swf file with php?
http://www.php.net/ming
--
[EMAIL PROTECTED]
PHP rocks!
"Knowledge is Power. Power Corrupts. Go to school, become evil"
Disclaimer: Any disclaimer attached to this message may be ignored.
However, I must say that the ENTIRE content
If i do like this.
How does the webbrowser send this? With post or get or ..?
Shall i get the action with $_POST or $_GET?
ex.
@$action = $_POST['action'];
if(!$action)
@$action = $_GET['action'];
processRequest($action);
If i do like this
How do i get the action in my php pag
i have the following code that works except when the file i'm trying to
upload excedes the upload_max _filesize and post_max_size defined in the
php.ini file.
what happens when the file is smaller than the max sizes mentioned
previously, the if (isset .) part of the code is executed yet when th
Two-factor authentication (authenticating user with something they know AND
something they possess) is becoming more and more popular due to increasing
security requirements and the prevalence of spyware software. However, in open
source projects, solutions such as RSA securID, smartcards, etc.
i have the following code that works except when the file i'm trying to
upload excedes the upload_max _filesize and post_max_size defined in the
php.ini file.
what happens when the file is smaller than the max sizes mentioned
previously, the if (isset .) part of the code is executed yet when th
hi all,
i've uploaded some files into my postgresql db, via a php script, and now
id like to give a user the posibility to download these files via a php
script. what would be the best way to do this bearing in mind that the files
are 'integrated' into the db and are referenced by an oid. the tab
In that case you're probably best to have a single source for the
session data, and simply pass the SessionID as a $_GET variable in the
URL.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James wrote:
"To enable InterBase support configure PHP --with-interbase[=DIR], where
DIR is the InterBase base install directory, which defaults to
/usr/interbase."
I've tried to add:
--with-interbase=/Library/Frameworks/Firebird.framework/Resources
to my php.ini and it didn't work.
That does no
James wrote:
I've attempted to access a firebird database living on an osx/apache/php
machine.
How do I enable those functions? I've looked at the php documentation
(http://uk2.php.net/manual/en/ref.ibase.php )
"To enable InterBase support configure PHP --with-interbase[=DIR], where
DIR is th
Khorosh Irani wrote:
Hello
How I can get the width and height of a swf file with php?
Thanks
http://www.php.net/getimagesize
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh, you just clued me in... I wonder if [EMAIL PROTECTED] might be
able to shed some like on this. I'm using TBS as my template engine for
this site. And yes, it does use nl2br in the "meth_Html_Conv" function.
I'll probably need to add the "htmlconv=no" option to all of the
"textarea" fields.
A hidden INPUT would be better...
...
"Bala Chandar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
hi
On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how a submit button can be used to send set a variable
> so
> there is only a button --no textfield.
use valu
I've been looking and reading for a while now. What I've discovered is
that you really should learn the concepts rather than how php
implements the concepts. PHP4 lacks the capability to do (at least do
well) a lot of object stuff (i.e. multiple inheritance), PHP5 has far
better support for obj
Anasta wrote:
> What am i doing wrong here, the output is always 'empty'
>
> $result = mysql_query("SELECT username FROM users
> WHERE seatnum='seat1'") or die(mysql_error());
>
> if (seatnum == seat1) {
> echo username;
> } else {
> echo 'empty';
> }
> ?>
That doesn't even look like PHP cod
What am i doing wrong here, the output is always 'empty'
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?>
Just guessing since I'm not sure what you're trying to do, but...
$result = mysql_query("SELECT username FROM users WHERE seatnum='seat1'")
or die(mysql_error());
David Christensen wrote:
I am? That news to me??? I just did a 'grep nl2br form.php' and I
don't any output with nl2br. I'm not sure this is what's going on.
I did see that function in the "Strings" section of the manual, but it
didn't do anything for me.
Well, php isn't making it up, it has to
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
if (seatnum == seat1) {
echo username;
} else {
echo 'empty';
}
?>
mysql_query() returns a resource, not the results themselves.
read: http://us3.php.net/manual/en/function.mysql-query.php especially
the 2nd example to see
* Anasta <[EMAIL PROTECTED]>:
> What am i doing wrong here, the output is always 'empty'
>
> $result = mysql_query("SELECT username FROM users
> WHERE seatnum='seat1'") or die(mysql_error());
>
> if (seatnum == seat1) {
What are you comparing? is seatnum a constant? is seat1 a constant? or
is
Mark Rees wrote:
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal
On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> What am i doing wrong here, the output is always 'empty'
>
> $result = mysql_query("SELECT username FROM users
> WHERE seatnum='seat1'") or die(mysql_error());
>
> if (seatnum == seat1) {
you must use
if (seatnum == "seat1") {
> echo userna
Bala Chandar wrote:
Hey
On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
well your statement doesnt make any sense
bala chandar wrote:
hi,
how to join in php development???
i want to develop some functions that is built in to the php. how to
contribute or join in its development/?
Fix
Gerold Kathan wrote:
...
Installing PHP CLI binary:/usr/local/php5/bin/
Installing PHP CLI man page: /usr/local/php5/man/man1/
Installing PEAR environment: /usr/local/php5/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
=> it sea
Khorosh Irani wrote:
hello
Can anyone tell me the url of a good toturial about object and php that contain:
polymorphism,Delegation,...?
Thanks
Google for "Gang of Four Programming"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: news [mailto:[EMAIL PROTECTED] On Behalf Of
>
>class Base {
>
> static function f() {
> self::g();
> }
>
> static function g() {
> print("Base\n");
> }
>}
>
>class Derived extends Base {
> static function g() {
>
Anasta wrote:
What am i doing wrong here, the output is always 'empty'
if (seatnum == seat1) {
I think maybe you mean this:
if ($seatnum == 'seat1') {
Heck from the code above you won't even have a $seatnum variable, you'll
have a $result variable with some MySQL information in it. Read this:
Hi
On 5/5/05, Aaron Gould <[EMAIL PROTECTED]> wrote:
> Eustace wrote:
> > I am relatively new to PHP and could use some help. I have a form, which is
> > basically in an email format, from, subject, and message. How do I then send
> > this to an email? I know a bit about the mail function, somebo
hi
On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> Can anyone tell me how a submit button can be used to send set a variable so
> there is only a button --no textfield.
use value="" in the button html component
--
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http:
On Thursday 05 May 2005 17:46, Anasta wrote:
> Can anyone tell me how a submit button can be used to send set a variable
> so there is only a button --no textfield.
Use hidden input fields.
--
Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)
PGP ID: 7AE45436
PGP Public Key: http://bu.or
Hello
How I can get the width and height of a swf file with php?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I think you need to serialize your objects.
http://us3.php.net/manual/en/language.oop.serialization.php
Jason
On 5/5/05, Stuart Nielson <[EMAIL PROTECTED]> wrote:
> Sorry to everyone about the stupid READ notification on the posting. I
> completely forgot that it was enabled. This one s
hello
Can anyone tell me the url of a good toturial about object and php that contain:
polymorphism,Delegation,...?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am? That news to me??? I just did a 'grep nl2br form.php' and I
don't any output with nl2br. I'm not sure this is what's going on.
I did see that function in the "Strings" section of the manual, but it
didn't do anything for me.
Thanks for your help,
Dave
On Thu, 2005-05-05 at 16:11 +0200
Stuart Nielson wrote:
Sorry to everyone about the stupid READ notification on the posting. I
completely forgot that it was enabled. This one shouldn't have that
problem.
I am using PHP version 4.3.4.
I'm creating an authorization module that uses a users object, that
includes the username, userty
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
See the example here:
http://us2.php.net/manual/en/func
What am i doing wrong here, the output is always 'empty'
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sorry to everyone about the stupid READ notification on the posting. I
completely forgot that it was enabled. This one shouldn't have that
problem.
I am using PHP version 4.3.4.
I'm creating an authorization module that uses a users object, that
includes the username, usertype, etc. I want to
Eustace wrote:
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
Everything you need to know shou
class Base {
static function f() {
self::g();
}
static function g() {
print("Base\n");
}
}
class Derived extends Base {
static function g() {
print("Derived\n");
}
}
Derived::f();
I want that to print
I've attempted to access a firebird database living on an
osx/apache/php machine.
When I'm running the following script,
ini_set("magic_quotes_sybase", "On");
$host =
'localhost:/Library/Frameworks/Firebird.framework/Resources/examples/employee.fdb';
$username = "sysdba";
$password =
David Christensen wrote:
Actually, I forgot to also mention that the browser is changing the
control-M (^M) from the query when it sets the default value for the
textarea to "". I guess that is the HTML representation of the
^M.
you are using nl2br() on the input, that funcion adds '' before
all
Can anyone tell me how a submit button can be used to send set a variable so
there is only a button --no textfield.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Eustace wrote:
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
I'll show you how we do it here
best is to get hold of the guys at www.php.net
bala chandar wrote:
>Hey
>
>On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
>
>
>>well your statement doesnt make any sense
>>
>>bala chandar wrote:
>>
>>
>>
>>>hi,
>>>
>>>how to join in php development???
>>>
>>>
>
>i want to de
I am relatively new to PHP and could use some help. I have a form, which is
basically in an email format, from, subject, and message. How do I then send
this to an email? I know a bit about the mail function, somebody show me the
ropes please!
Eustace
Hey
On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> well your statement doesnt make any sense
>
> bala chandar wrote:
>
> >hi,
> >
> >how to join in php development???
i want to develop some functions that is built in to the php. how to
contribute or join in its development/?
> >
>
hey
On 5/5/05, Oscar Andersson <[EMAIL PROTECTED]> wrote:
> I have made a instal of the latest mySQL and PHP 5 on my computer.
> I have made the following changes to my php.ini file
>
> extension=php_mysql.dll
> extension_dir = "c:\php\"
>
> and i have put the php_mysql. and libmysql.dll in c:\p
Prathaban look carefully, we are here to give acurate info and you are
giving mistaken information. The "$id" thing is wrong, you'll actually
create a parse error X|
...
Prathaban Mookiah wrote:
It should be "$id".
Note that missing "
Prathap
-- Original Message ---
From: "Ross"
On 5/5/05, Mathieu Dumoulin <[EMAIL PROTECTED]> wrote:
> We have here at work a simple .htaccess that redirects all requests to
> an index page which works fine so far. I'll show you the code of the
> .htaccess you can use it if you can't to, it works perfectly fine.
>
> AddType application/x-http
Joe, not sure you "str_replace" will work. I think I need a way to
represent the ^M with an ASCII code. The ^M character is a single
character. If you type ^M that is 2 characters, caret + M. They are
not equal ASCII-wise.
Dave
On Thu, 2005-05-05 at 03:11 -0400, Joe Wollard wrote:
> David,
>
Shaun wrote:
Hi,
I have a file called application.php and this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG->wwwroot = http://www.mydomain.com;
$CFG->dirroot = "/usr/home/myaccount/public_html";
$CFG->admindir = "$CFG->wwwroot/admin";
$CFG
Sorry for double posting, these took an hour to appear in my newsreader and
I thought there was a problem with the first one I sent
"Shaun" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I have a file called application.php and in this file I define all of the
> directori
These aren't text files, there form fields from a browser and fields
from query. I don't think dos2unix will be of much help with this.
Dave
On Thu, 2005-05-05 at 09:07 +0300, Petar Nedyalkov wrote:
> On Thursday 05 May 2005 06:13, David Christensen wrote:
> > I know I'm missing something, but
well your statement doesnt make any sense
bala chandar wrote:
>hi,
>
>how to join in php development???
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Actually, I forgot to also mention that the browser is changing the
control-M (^M) from the query when it sets the default value for the
textarea to "". I guess that is the HTML representation of the
^M.
I'm currently using:
$_POST[$field] = str_replace("\r\n", "\n", $_POST[$field]);
Ross wrote:
Am trying to do an update of a record...
Is this the correct syntax..
$query= "UPDATE $table_name SET fname='$fname', sname='$sname' WHERE id=
$id";
R.
Technically this is right as long as your variables are giving out the
real intented values.
For extra knowledge, your $query sho
I'm trying to build some communication aside of the server thin client stuff,
with a socket daemon and a socket client.
The daemon is the same that everybody can find in the PHP docs (example 1).
The client simply opens a connection to the daemon and writes data using the
socket Object from PEA
It should be "$id".
Note that missing "
Prathap
-- Original Message ---
From: "Ross" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 12:09:18 +0100
Subject: [PHP] is this the correct syntax
> Am trying to do an update of a record...
>
> Is this the cor
I have made a instal of the latest mySQL and PHP 5 on my computer.
I have made the following changes to my php.ini file
extension=php_mysql.dll
extension_dir = "c:\php\"
and i have put the php_mysql. and libmysql.dll in c:\php\ and in c:\windows
to
Now i try this in my php-file
$con = mysql_con
Hi,
I have a file called application.php and this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG->wwwroot = http://www.mydomain.com;
$CFG->dirroot = "/usr/home/myaccount/public_html";
$CFG->admindir = "$CFG->wwwroot/admin";
$CFG->claimsdi
Hi,
I have a file called application.php and in this file I define all of the
directories in my site:
class object {};
$CFG = new object;
$CFG->wwwroot = http://www.mydomain.com;
$CFG->dirroot = "/usr/home/myaccount/public_html";
$CFG->admindir = "$CFG->wwwroot/admin";
$CFG->claim
On Thu, May 05, 2005 at 10:11:14AM +0530, bala chandar wrote:
> hi,
>
> On 5/5/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > This is probably easy, but how does
> > one access a database, mysql or oracle or postgresql,
> > and
> > present the data in a tabular format?
> >
> > --
> > Member - Libe
ditto everyone who said use it if you don't care about errors, but
don't use it in places where you expect errors.
Also don't use it in places where it can be avoided with minimal cost.
For example if you have an optional field, and people usually fill it
in, and rarely leave it empty, then you c
hi,
how to join in php development???
--
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
We have here at work a simple .htaccess that redirects all requests to
an index page which works fine so far. I'll show you the code of the
.htaccess you can use it if you can't to, it works perfectly fine.
AddType application/x-httpd-php .html
RewriteEngine on
RewriteBase /
RewriteRule ^$ - [QS
-Original Message-
From: Ross [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 10:16
To: php-general@lists.php.net
Subject: [PHP] insert not working
$query = "INSERT INTO sheet1 (title, fname, sname, job_title,
organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_in
Next time you double post(I'm assuming by accident), could you reply
to one, of the posts declaring it void, and point people to the other,
so that you don't have two people answering the same question in two
different threads.
On 5/5/05, Ryan Faricy <[EMAIL PROTECTED]> wrote:
>
> "Jon M." <[EMAI
Hi,
On 5/5/05, Ross <[EMAIL PROTECTED]> wrote:
> $query = "INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
> street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
> ('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
> '$postcode', '$c
Otherwise you can 'declare' them by assigning them a null/zero/empty value.
$my_number = 0;
$my_string = ""
$my_array = array();
The main reason for 'declaring' variables in PHP, is so that you can
use them in functions without raising an E_NOTICE.
On 5/5/05, Ryan Faricy <[EMAIL PROTECTED]> wro
hi,
On 5/5/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I have a problem where I use a multi dimensional array on one server and
> now have moved it to another server and it just doesnt work:
>
> $result2 = $userdb->listUsers($clubID);
> $i=0;
>
> while (
Just a type error
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Am trying to do an update of a record...
Is this the correct syntax..
$query= "UPDATE $table_name SET fname='$fname', sname='$sname' WHERE id=
$id";
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Did you check for proper permissions in the user and db tables in the user
database?
Prathap
-- Original Message ---
From: "Ross" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 10:15:52 +0100
Subject: [PHP] insert not working
> $query = "INSERT INTO she
Thanks, Chris. You have been right. It worked already. I still remove
all my typing errors in the original version. For this list I wrote a
new version of it. Should have tried it first.
Sorry.
Greatings
*I should not work after midnight*
Liebe Grüße
Fred Rathke
[EMAIL PROTECTED]
http://communic
Ross wrote:
$query = "INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
'$postcode', '$city', '$telephone', '$mobile', '$fax', '$
Maybe the query should be
select user_balance FROM users WHERE user_id="$uname";
Prathap
-- Original Message ---
From: "Anasta" <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Thu, 5 May 2005 16:10:35 +0800
Subject: [PHP] select statement
> Why doesnt this work, it shows
this is quite weird but apparently on the one server if you user $user
as a variable name thats what causes the problem.
I simply renamed my variable to something else and it worked, I find it
strange that it worked on 1 server and not the other, is it possible
that the different apache versions ar
OK, thanks everyone.
(BTW -I actually meant to say 'var $varName;' in PHP and 'var varName;' in
JavaScript -doh!)
Anyway, my question has been thoroughly answered, and I completely
understand now.
I did try the "var $varName;" outside a class, just to see what happened,
and found out it
On Wednesday 04 May 2005 22:30, Dan Rossi wrote:
> On 05/05/2005, at 1:47 AM, Kristen G. Thorson wrote:
> > Dan,
> >
> > I have done this before, but it was only a proof-of concept excercise
> > for me, so my procedure may not work for you. My test was against an
> > Amazon web service and generat
OK, thanks everyone.
My question has been thoroughly answered, and I completely understand now.
I did try the "var $varName;" outside a class, just to see what happened,
and found out it does indeed throw a parse error, so I'll just use a comment
as suggested. I wonder why "Beginning PHP 5
On 5/5/05, Anasta <[EMAIL PROTECTED]> wrote:
> Why doesnt this work, it shows the username but not the balance of the users
> money.here is the mysql table:
>
> CREATE TABLE `users` (
> `user_id` int(11) NOT NULL auto_increment,
> `username` varchar(15) NOT NULL default '',
> `password` varc
$query = "INSERT INTO sheet1 (title, fname, sname, job_title, organisation,
street, postcode, city, telephone, mobile, fax, email, web, add_info) VALUES
('$title', '$fname', '$sname', '$job_title', '$organisation', '$street',
'$postcode', '$city', '$telephone', '$mobile', '$fax', '$email', '$we
"Nsk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> which config files are responsible for loading mysqli in apache/php5 ?
php.ini
;; Old MySQL support
extension=mysql.so
;; New MySQL support.
extension=mysqli.so
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hi guys,
I have a problem where I use a multi dimensional array on one server and
now have moved it to another server and it just doesnt work:
$result2 = $userdb->listUsers($clubID);
$i=0;
while ( $row2 = mysql_fetch_array($result2) )
{
//echo $row2['f
"Jon M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I just found a place here:
>
> http://us2.php.net/manual/en/language.oop.php
>
> That has this example:
>
> /* This is how it should be done. */
> class Cart {
> var $todays_date;
> var $name;
> var $owner;
> var $items
"Jon M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>I know it's not necessary, but I still want to know how.
>
>
> I know in JavaScript, that you declare vars like so:
>
> var = variableName;
>
> So I'm assuming that in PHP you do it like this:
>
> var = $variableName;
>
> But t
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: 05 May 2005 00:29
To: php-general@lists.php.net
Subject: [PHP] Tracking what has been changed
Here's the scenario...
I am building a site in which users will be able to create and then
later edit personal information. Wh
hi - i am running into troubles:
i have a linux (Redhat ES3) system running php4.3.11
* trying to build apache2/php5.0.4 (= run php4 OR php5)
= PREFIX : /usr/local/php5
i can do it as long i compile php5 with option "--without-pear" if i try to
build with pear it compiles fine but when doing "m
1 - 100 of 108 matches
Mail list logo