it's so public and out-in-the-open. Anyone can
improve on these packages at any time. So, there's my two cents worth...
Thanks,
Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ok, here goes...
I have an multi-dimensional array extracted from the database ($units) that
is listed at the bottom of this e-mail. What I want to do is take this
multi-dimensional array $units and maybe merge or extract it to a different
array called $options. I want to group similar units into
Hello everyone,
I want to start learning about e-commerce, shopping carts, SSL encryption
methods, etc. I have built a catalog system for my clients and I want to
built a fully integrated store on top of it.
I need a merchant provider that can allow me to integrate the credit card
proccessing
Hey guys,
I want to know how I can add different border styles around an image.
Here's what I do to create an image:
function output_new_img () {
$new = $this-calc_new_size ($this-max_w, $this-max_h);
$new_w = $new[0];
$new_h = $new[1];
$src_img = ImageCreateFromJPEG
I really really like the idea of using XML/XSLT for creating future CMS
Apps. XML is simply a good way to manage and share content between different
companies, etc. Those that are not too familiar with XML, should try and
read a little bit on the advantages of it. It is the next generation markup
Why don't you two gather up a few more developers, decide on what is needed
and what the goals are, then assign parts to build for the new CMS. Once
finished, you can maybe present it to PHP.net and see if they will allow it
to be developed and documented in the future by other developers. A CMS
You can also try the following site. It is loaded with freelance developers
who are sitting there waiting for requests like yours.
http://webhostingtalk.com/forumdisplay.php?s=deff1e6ceaa5f13e400bfefc1702a2f
cforumid=33
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL
Yes Chris,
When you add the item to the database, make sure to leave out the single
quotes inside the brackets of the associative array. For example:
Instead Of:
$item['itemID']
Do This:
$item[itemID]
Example Query:
$query = SELECT * FROM items WHERE '$item[itemID]';
Hope that helps.
Oops, I forgot the double quotes at the end of the example query from the
last email.
This is how it should be:
Example Query:
$query = SELECT * FROM items WHERE '$item[itemID]';
-Original Message-
From: @ Nilaab [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 01, 2003 1:00 PM
Hello everyone,
I want to be able to use objects to create my future pages. My goal is to
use methods of classes to make the original front-line script easier to
read, while all the processing is done with a simple call to the different
classes from a single class. Please read futher, as I'll get
Hello Everyone,
I am a little confused. Why do predefined variables like $PHP_SELF or
$DOCUMENT_ROOT not process within a class, in the methods secifically. For
example:
?php
class someClass {
function someFunction () {
$root = $DOCUMENT_ROOT;
return $root;
}
function
be great.
Read:
http://www.php.net/variables.scope
Also note that $_SERVER is an autoglobal.
Regards,
Philip
-Original Message-
From: @ Nilaab [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 26, 2003 1:46 PM
To: Php-General
Subject: [PHP] Predefined Variables In Classes
Hello
, or the value of whatever page included this class file
and called the methods of the class. How would I do that? Because right now
it returns a blank string.
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 26, 2003 3:37 PM
To: '@ Nilaab'; 'Php-General
Nevermind John, it worked! I had $_SERVER['PHP_SELF'] spelled as
$SERVER['PHP_SELF']. I appreciate your help! :P
-Original Message-
From: @ Nilaab [mailto:[EMAIL PROTECTED]]
Sent: Sunday, January 26, 2003 4:01 PM
To: Php-General
Subject: RE: [PHP] Predefined Variables In Classes
Hello Lee :)
Well, there is one way that I know of that some people might overlook. What
you can do is use CSS positioning and set the Uploading Now message
(Whether it's text, an image, a flash file, etc.) BEHIND the result page by
setting the z-index value of the Uploading Now message to a
Beogradjanin,
In addition to Philip's links, don't forget that PHP works great with the
MySQL database. If you plan to use MySQL, then go to the following for great
tutorials:
http://www.mysql.com
Remember, PHP can be as creative as you want to be. If you need any help
with anything else,
Nicholas,
I think I know where you found this code. I have the same code, except I
modified it a little to work for me. You may need to change it for your
needs. When I first used it, it didn't work. I had to modify it to make it
work. My code is usually kind of sloppy, but maybe you would get
Hello Everyone,
I've attempted this many times, but have failed to understand it each time.
I want to make it easier for myself to deal with passing variables through a
form. So I thought, why not use a single array variable to do that. If I do
such a thing, what steps do I need to take to ensure
If these two classes are in separate files then you will need to include one
of the classes in with the other class using the include() or require()
functions. Have you also used the extends keyword to extend the main class?
When you use inheritance properties, you can use the $this- mechanism
Jason, thanks, but see if you can you read the initial question and try to
answer that one for me. You are a great help with resources when I need
them. Your help is always appreciated. The origial clip is as follows
(concentrate on the ending question):
Hello Everyone,
I want to DELETE
and again and again on the open connection.
Still Stephen's quote is true, you can't run more than one query
by one call to mysql_query.
Thomas
On Tue, 31 Dec 2002 16:30:38 -0600 [EMAIL PROTECTED] (@ Nilaab) wrote:
I was hoping for better news. Thanks for the suggestion, but it
will put
Hello Everyone,
I want to DELETE multiple items of multiple TABLES in a MySQL database. My
version of MySQL is 3.23, which means this version doesn't support the
DELETE functionality on multiple tables. The following is my PHP code, where
$item_id is a multi-dimensional array containing the ids
:10 PM
To: @ Nilaab
Cc: PHP List
Subject: Re: [PHP] How To Delete Multiple Items Of Multiple Tables Using
PHP and MySQL
From experience, I don't think you can run more then one SQL statement at
once in a single time. Try assigning each variable with delete, then query
them all seperately. I
Hello Everyone,
I have a multi-dimensional array called $cat_data, and I need to access
certain elements in the array using the next() and prev() functions. I did
consider using loops like for, foreach, and while...but for this particular
application, I don't want to loop through the entire
Hello Everyone,
I have an multi-dimensional array called $cat_data, which is info extracted
from a MySQL DB. I want to retrieve the very last item of that array. How
would I do that? I know the first item can be retrieved by simply asking for
$cat_data[0][0], which contains an id number. But I
Hello Everyone,
I'm using a test server on Windows XP. I have the following function (which
I got from the comment notes on php.net) that works wonders when deleting
directories that are not empty on a Windows system. But, I'm a bit confused.
I searched for the delete() function on php.net and it
Thanks Jason,
That makes much more sense now. I forgot about recursive functions, as I
don't use them often. I should look into it further. It seems to be very
helpful in some cases. Thanks again for your help.
- Nilaab
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED
at the beginning of the script (the list of categories).
Is there any other way that I can redirect and send the variables of cat_id
and subcat_id to the page in the second situation mentioned earlier?
Register Globals is on.
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Great Jason, thanks a lot. I was just looking for some direction and I think
you just helped me find it. Thanks for taking the time to look at my
problem.:)
- Nilaab
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 11:46 PM
then $file_name equals
filename2.php and you can use that information however you need it. Hope
that didn't confuse you. If you need further help, please let me know. Good
luck...
- Nilaab
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 3:04
and forth until the end of the application when I actually
need to do something with them.
- Nilaab
-Original Message-
From: Chris Boget [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 10:24 AM
To: @ Edwin; Shane McBride
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Multiple
Oh, ok. That makes a lot more sense. Thanks for the info John :)
- Nilaab
-Original Message-
From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 26, 2002 4:00 PM
To: @ Nilaab; [EMAIL PROTECTED]
Subject: Re: [PHP] Multiple page form
Is there an actual
by specifying [[:space:]], but I
didn't get that solution to work either. How do I match $text to return
true?
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The variable $initialize contains int(1), so it does set itself within the
last if statement. I'm just not sure why it's not unsetting all the sessions
when the page loads.
- Nilaab
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 2:36 AM
Thanks so much!!! It works. I didn't know I could also place extra
characters inside the brackets to specify what I want. :)
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 7:19 AM
To: @ Nilaab
Cc: Php-General
Subject: Re
Thanks again Ernest! This will be extremely helpful to me in the near
future.
- Nilaab
-Original Message-
From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 3:23 PM
To: @ Nilaab
Cc: Php-General
Subject: RE: [PHP] Simple RegExp Problem...
At 21
to both of you for your help. :)
- Nilaab
-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 9:31 AM
To: PHP List; @ Nilaab
Subject: RE: [PHP] How do I initialize a page to do something ONCE
Your first post stated..
The only problem
learning
about how to deal with files. Here is the direct link, just in case:
http://www.php.net/manual/en/ref.filesystem.php. This site might also help
you: http://www.devshed.com. Have fun...
- Nilaab
-Original Message-
From: Martin Johansson [mailto:[EMAIL PROTECTED]]
Sent: Thursday
.
Thanks,
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
How do I unregister a single array item from an array? For example:
session_start()
session_register(item);
$item['name'] = Some Name;
$item['img'] = some_image_name.jpg;
$item['desc'] = Some Description;
$item['price'] = 400;
// Now I want to get rid of the desc array item.
// I tried:
and they might help you out with a
difficult problem.
Anyway, my two cents worth. And again, please don't turn this into a
debate...
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
.
.
.
}
}
?
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
.
.
.
}
}
?
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on this. Thanks.
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for some direction.
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
45 matches
Mail list logo