ar better than ASP.NET in the near future. In
fact I KNOW it will because 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 wit
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 ($this
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
l
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 is
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
c&forumid=33
> -Original Message-
> From: 1LT John W. Holmes [mailto:[EMAIL PROTE
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:
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.
> -
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
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, please
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
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
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'
> Subject: RE: [PHP] Predefined Variables In Class
d this then that would 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, J
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:
someFunction() . $PHP_SELF;
return $path;
}
}
?>
I just threw this together to give you an example of how I might b
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 bet
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
wit
or every query.
> just run the mysql_query again 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] (@
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 multipl
y, December 31, 2002 1: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
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 of
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 array.
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 can
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:[EMAI
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
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:4
ge with the GET variables of
cat_id and subcat_id (which is equal to zero at this point). The problem is
that I cannot redirect with a header() function because content is already
sent to the browser at the beginning of the script (the list of categories).
Is there any other way that I can red
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 PM
> To: PHP List
> Subject: [PHP
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
>
ssing them back 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
ks 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 fir
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] Sim
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: P
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
) has a way to match spaces 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
of displaying
one form after another in on a single php page, I'm open to any ideas.
Thanks,
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
need to be to start 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
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
x27;t be mean. Mean people suck. One day these
newbies will be in your position 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
lts($query);
.
.
.
}
}
?>
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lts($query);
.
.
.
}
}
?>
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rection on this. Thanks.
- Nilaab
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
g 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