> I did, the problem is the client is on a box with mySql 3.23.x or 4.0.x, he
> is deciding to upgrade to a dedicated box but then the host he is looking at
> says they will charge him if they are to upgrade to mysql 4.1 (hence i cant
> even use sub-selects)
> (Sorry I didnt mention the MySql versi
> > This isn't about redundancy, it's about enhancing the experience for
> > customers physically located thousands of miles away from the server
> > they are trying to access. So, bring the content closer to them and
> > drop their wait times massively. It's easy for those of us sat on the
> > end
On 4/29/05, jlfx mailgroups <[EMAIL PROTECTED]> wrote:
>
> I remember in Perl I used to extract vars from a single fetchrow by adding
> each var name to the beginning (like this). Only this ain'ta workin :)...
> Anyone know the right syntax to do this?
>
> ($var1, $var2, $var3)= mysql_fetch_array
An easy way to fix that problem would be to, instead of checking every
time if one of the others also is not empty would be to do something
like this (havn't tested this code, so no guarantees there's no
typos).
$sqlCondition = "";
if($_POST["state"] != "" || $_POST["types"] != "" || $_POST["
A few notes that may help you.
first.on strstri would use strpos instead for a simple checkso
> if(strstr($default, $values[$i]['id'])) {
> $field .= ' CHECKED';
> }
would become
> if(strpos($default, $values[$i]['id']) !== false) {
>
ris
On Tue, 07 Dec 2004 16:21:15 -0500, Mike <[EMAIL PROTECTED]> wrote:
>
>
> Chris,
>
> Good idea, but $default is the value with pipe delimiters.
>
> on 12/7/04 4:11 PM, Christopher Fulton at [EMAIL PROTECTED]
> wrote:
>
>
>
> > A few
one more note...you may look at the manual under
http://us3.php.net/features.commandline
-Chris
On Tue, 14 Dec 2004 16:04:15 -0800, Christopher Fulton
<[EMAIL PROTECTED]> wrote:
> Not sure if this is what you want, but i know that you can call php
> from a command l
Not sure if this is what you want, but i know that you can call php
from a command line by using.
php code_name.php
that will print out the http headers, so to supress the headers you can do
php -q code_name.php
Hope this helps,
Chris
On Tue, 14 Dec 2004 21:38:18 +, Bruno Santos <
Honestly, I think it does depend a lot on the language you are using.
>From my experience, most people who work in PHP tend to write more new
code than those who use COBOL.
[snip]
There are *so* many legacy COBOL applications though that, yeah, I think
a COBOL programmer will very rarely get to wr
Yes and no...
Here's what the manual has to say about this...Basically, you can't do
it using ini_set, but you can do it using an htaccess file.
http://us2.php.net/manual/en/ini.sect.data-handling.php#ini.register-globals
register_globals boolean
Whether or not to register the EGPCS (Enviro
Try this instead...
echo date('F',strtotime("+1 month"));
read through the user comments at...
http://us2.php.net/manual/en/function.strtotime.php
there are some things pertaining to your situtation
-Chris
On Wed, 22 Dec 2004 15:38:38 -0800, PHP <[EMAIL PROTECTED]> wrote:
>
> echo date('F'
It may help to know what your form looks like. Does your form have
the hidden MAX_FILE_SIZE variable before the file field? Also, what
version of PHP are you running?
Anyways, just some suggestions.
-Chris
On Tue, 28 Dec 2004 15:18:16 -0500, Al <[EMAIL PROTECTED]> wrote:
> I keyed "$_FILE[user
Not sure if this is the best way to do it or not, but you can do this
and it should (untested code) work.
class Car {
function drive() {
return $this->getClassName();
}
function getClassName() {
return "Car";
}
}
class Porshe {
This should work for you then(maybe...i don't have php5 on my
system, so it may not, but i think it would.
http://us4.php.net/manual/en/function.get-class.php
class Car {
function drive() {
return get_class($this);
}
}
class Porshe {
}
$foo = new Porshe();
ech
Just an fyi...this would be VERY easy to get online. PHP keeps an
archive of all the posts. Here's the link
http://marc.theaimsgroup.com/?l=php-general
In fact, you may even find other posts similar to yours by searching
(that could answer your question?)
-Chris
On Tue, 18 Jan 2005 09:30
things.
Try a few out, and decide what works best for you.
Happy Searching,
Chris
---
Christopher Fulton
http://www.fultonfam.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
> //user connection section--begin
> $username="root";
> $password="";
> $database="nazardane";
[/snip]
If this is actually your login, I would suggest changing it right away
[snip]
> while ($c=0;$chttp://us2.php.net/tut.php
--
Christo
On 7/5/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> hi everyone,
>
> I have a function which recursively loops an assoc array in
> order to build an HTML string containing hidden elements
> that repesent the key/values passed in the array ... I know this can
> be done without recursion but I'm ha
18 matches
Mail list logo