table has 4
fields, the primary key, "location," "organization," and "charge." Any
suggestions? A million thanks. Here is the code:
";
echo $row[i["location"]."";
echo $row[i]["charge"];
}
}
?>
-
an
html form. Any suggestions?? Deeply appreciated. Thanks.
[EMAIL PROTECTED]
-- Jonathan
7; command to the mysql que. Then, I have a second database which
matches each abbreviation with the proper name. When I try to run any query
on the second database, the only output I recieve is "resource id #3" Any
suggestions?
Jonathan
--
PHP Database Mailing List (htt
t whether the table has been created or
not. I know I could probably do some sort of mysql_list_tables and look
for it or whatever but I was looking for something similar to
If (mysql_affected_rows() == -1)
Because that is very easy.
And ideas as to why the table is not being created.
==
onvenient.
Ignatius
- Original Message -
From: "Jonathan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 10:00 PM
Subject: [PHP-DB] CREATE TABLE QUERY PHP/MySQL
> This is the first time I am trying to create a tabl
One of many possible things.
Dependent on the version of PHP you are using, you might have
register_globals set to off in your php.ini file, which is preferable.
In which case you'll have to use
If($_REQUEST['variable'])
Or
If(isset($_REQUEST['variable']))
Second possible is:
I've never reall
Is there any values to this function? I'm looking over some code
where this is a done a bunch of time and I don't see any value to
it. Maybe I'm naive about the internals but...
-jonathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any documentation about how mysqli returns a result set? i
use fetch_assoc on it and would like to write a result to a text file
in the same format so that it could be opened at a later point and
run through a while phrase.
thanks,
jonathan
--
PHP Database Mailing List (http
I am accessing information in my database. If the format is set to be
html, I echo out the variables just fine. If the format is
set to be xml, I create a DOMDocument.
The problem is that in processing the result set, it calls several
other functions. How do I pass the DOMDocument Object to t
Hi!
I've problem with print long texts. I have DB on MS SQL 7 and I use ODBC
to connect with DB.
I have one row, in which long text field takes about 5100 bytes. PHP
can't print page with this text, but don't give me any error messages
(other texts, < 4096, are printed correctly). Printing this ro
Andreas Karajannis wrote:
> > I change config value uodbc.defaultrl from 4096 to 8192, but it don't
> > give any effect.
>
> Please make shure that PHP really "sees" your change.
> You can verify the value that PHP uses by writing a file with just a call to
> phpinfo(), this prints out a page w
"Sanders, Nicholas" wrote:
> php.ini needs to be in c:\winnt
>
it is there.
Johny.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
drop the
connection when the script ends.
Cheers,
-Jonathan Sharp
js_AT_imprev.com
> -Original Message-
> From: andrie [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 23, 2001 3:38 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: [PHP] connection id
>
>
How about
select count(*) from online
Jon
On May 30, 2004, at 1:23 PM, Kim Steinhaug wrote:
I have theese two queries :
select count(*) as online from online where uid='';
select count(*) as online from online where uid!='';
Each online user has a uid (UserID), so if their logged
inn this field wil
[EMAIL PROTECTED] wrote:
Hi all,
i have a datetime field in a mysql database and it's defined with a default
of '-00-00 00:00:00:'
now, when i add a record to the database, i want to fill that field with >the date and
current time.
can anyone point me ?
Via PHP:
$dateTime = date('Y-m-d H:
Please post the table definition to the mailing list so we can help you
more quickly. Also, is there a table called RuneRunner_1 or are you
meaning to use RuneRunner_1 as an alias?
Odds are, your problem is not PHP related, it's an error in your SQL syntax.
Jon
water_foul wrote:
i fixed those t
There might be some system that requires a 4 digit number and the PK is
being used directly. Also, this same system might need to be exported
to Excel, which trims leading zeros and is generally a pain in the ass.
Peter Westergaard wrote:
I've done exactly this for a really cheap-and-dirty ins
meone from writing to that folder?
Jonathan Haddad
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
substr
On Jul 18, 2004, at 9:48 PM, Cole Ashcraft wrote:
How would you reduce a string to a specified length? Say reduce 600 to
60 or abc to ab? Is there a PHP function for this? Will I have to write
my own code?
Cole
--
This message has been scanned for viruses and
dangerous content by MailScanner
if you have shell access, please do the following
describe users;
select * from users;
also, why are you using LIKE instead of =?
use this instead:
$query = "SELECT * FROM users WHERE email = '".$username."'";
i would also suggest turning off register globals and using
$_POST['username'] and not $
ugging. I do have it set to = on a normal basis.
I am a little unsure what you mean at the end of your reply about register
globals. Are you saying that everywhere I use $username to refer to the
users inputed username I should use $_POST['username'] instead? Or are you
suggesting
can you just use a cron job and mysqlbackup instead? it does what you
want and is already written.
Jon
Mauro Chojrin wrote:
Hi:
I'm developing a db application with php and I have this problem:
I have a script for backup making which is very simple, it just goes
through the entire database cre
use mysql_escape_string.
http://us3.php.net/manual/en/function.mysql-escape-string.php
Jon
Ron Piggott wrote:
I have begun to create a Christian Ministry Directory. It is on the
ministry web site I am building at
http://www.actsministries.org/ministrydirectory/ .
One of the problems I am now havin
On Aug 26, 2004, at 12:27 PM, Gerard Samuel wrote:
> My site/code/database is developed primarily for the english language.
> I've had people from "The Far East" add content to my site using their
> native language, and it is displaying properly in the site.
> But Im a bit concer
Gabe Covert wrote:
I have a database which has a BLOB field storing text... It should probably be
in a text field, but I don't think that's the problem...
The field has HTML control codes, such as , , and . When I echo them
from the database, a la:
echo "" . $row['textfield'] . ""
I get the conte
Is there a way to use define so it replaces the constant even if it's
inside quotes?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've got php5, apache2 and mysql4 installed.
I've got some stardocks products installed and some registry tweaks too.
My php.ini in C:\windows\ is I think correctly configured and I removed the
; before the mysql extension. I configured Apache2 httpd.conf for php5, from
some forum on the net. It
I've got php5, apache2 and mysql4 installed.
I've got some stardocks products installed and some registry tweaks too.
My php.ini in C:\windows\ is I think correctly configured and I removed the
; before the mysql extension. I configured Apache2 httpd.conf for php5, from
some forum on the net. It w
hiya guys, just trying to find the best way of translating natural
language queries to sql queries to put in a website, i will be glad if
you can help or point me towards the right direction
Thanks for your help
Jonathan
--
Jonathan Trepczyk
--
PHP Database Mailing List (http://www.php.net
Yes,
Even Numbers:
SELECT * FROM table WHERE MOD(id,2) = 0;
Odd Numbers:
SELECT * FROM table WHERE MOD(id,2) != 0;
- Jonathan
-Original Message-
From: Jeremy Peterson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 11:59 AM
To: Raymond Lilleodegard; [EMAIL PROTECTED
ult resource in
/home/ufr2/underfoot-www/admin/dupeshows.html on line 51
Can you not reselect in another while while selecting? Does that make any sense to
anyone but me? I shouldent have to open another DB connection?
Anyhow... your I would appreciate any help.
-Jonathan
What does bool(false) mean?
Thats off the vardump
-J
- Original Message -
From: "Jeroen Timmers" <[EMAIL PROTECTED]>
To: "Jonathan Underfoot" <[EMAIL PROTECTED]>
Cc: "[PHP-DB]" <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 8:
Heres a form and the PHP behind it I use:
<---FORM--->
Add Pic
Pic to Upload(Only .jpg and .gif files)
<---PHP FILE--->
http://www.underfoot.cc/";);
?>
I do much more with it (resize and edit images etc etc) but thats the basic layout...
-Jonathan
MOTE_ADDR"];
$host = @gethostbyaddr($HTTP_SERVER_VARS["HTTP_X_FORWARDED_FOR"]);}
else
{$IP = $HTTP_SERVER_VARS["REMOTE_ADDR"];
$host = @gethostbyaddr($HTTP_SERVER_VARS["REMOTE_ADDR"]);}
-Jonathan
- Original Message -
From: "Jeroen Timmers" <[EMAIL
with this.
-Jonathan
PS: I use this utility to run daily backups.
- Original Message -
From: "mike" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 11, 2002 7:50 PM
Subject: [PHP-DB] mySQL dB copy
> Hello all,
>
> I am a relatively new php
that made sense and worked out for you. This is simmilar to
somethign I do where when someone submits a date and activity it is
automatically checked for duplicity and accuracy before posting to the
database (3 scripts.)
-Jonathan
- Original Message -
From: "Alecs" <[EM
ted.) You'd have to track down the
javascript commands on the netscape site, I don't know them offhand. If
theres a PHP way to do it, I'm unsure of it.
Regards,
-Jonathan
- Original Message -
From: "jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
S
s one)
Perhaps the forum has another idea? (Returned copy.)
-Jonathan
- Original Message -
From: "Luke Thomas" <[EMAIL PROTECTED]>
To: "Jonathan Underfoot" <[EMAIL PROTECTED]>
Sent: Sunday, October 14, 2001 5:10 AM
Subject: Re: How To Upload
> Hi
the where
clause?
Thanx
-Jonathan
up... (I might be completely off base here..)
Thanx,
-Jonathan
- Original Message -
From: "Rick Emery" <[EMAIL PROTECTED]>
To: "'Jonathan Underfoot'" <[EMAIL PROTECTED]>; "[PHP-DB]"
<[EMAIL PROTECTED]>
Sent: Tuesday, Febru
Actually, I'm running MS SQL which should allow me to sub-select Usually
I work in MySQL
-J
- Original Message -
From: "Frank Flynn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 11:59 PM
Subje
Does anyone know of a fairly simple, but secure technique for encrypting and
decrypting text?
- Jonathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n 2 - "Distillers, The"
Or a bit of PHP programming every time I list them (seems more difficult.)
Either way, does anyone have the propper PHP function I should use?
Thanks much...
-Jonathan
In my experience PHPMyAdmin DOES NOT change anything. It never changes &
for me, and it dosen't addslashes(), which makes it a complete pain in the
ass to use, but better than changing things without your knowledge I
suppose. Maybe I'm using an old version?
-Jonathan
- Or
t to click only once and to be patient, and
if something goes wrong, here's how to contact us.
- Jonathan
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 02, 2002 10:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Tutorial?
Hi all,
Can anyone
il in
another browser, which is why I suggested my PHP, server-side method, which
cannot be turned off based on a client's browser.
- Jonathan
-Original Message-
From: Richard Black [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 04, 2002 8:47 AM
To: Jonathan Hilgeman; 'Jennifer
order is
processed. On subsequent clicks, the unique ID would not be found in that
database table so the query would fail with a message ("You have clicked
more than once") or something like that, and the person could check the
status of an order identified by that unique ID.
have messed it up, and instead of running dir2's
info.php, it seems to think it is in dir1, and instead includes dir1's
info.php file.
Has anyone run into this and/or know a fix for it?
Thanks!
- Jonathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
However, on a different, FreeBSD platform, this is not the case. A linked
file can call an include and have the desired file be called instead of the
source one. That's where I'm getting confused.
- Jonathan
-Original Message-
From: olinux [mailto:[EMAIL PROTECTED]]
Sent: Fri
temporary debugging file
(whatever you want to call it), so you can determine where the script failed
if you don't get any help from the logfiles).
- Jonathan
-Original Message-
From: alain samoun [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 15, 2002 9:19 AM
To: George Pitcher;
il on the errors you're getting (any
specific messages would be nice).
- Jonathan
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 3:42 PM
To: 'Brad Melendy'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] include() statement hell!
di
hs rather than trying to screw with your php.ini or httpd.conf
file - otherwise you'll have a script that might not work if you ever have
to move your scripts or copy them to a development server or something.
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent
d the table gets emptied:
wget http://www.yourdomain.com/EmptyTable.php
------
- Jonathan
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 11:32 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] MySQL, PHPand cron
Hi all,
Wonderin
This might be your problem:
mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Thanks Jonathan,
Your suggestions were very helpful, especially turning on the error logging.
Here is where I'm at now:
Fil
who has run into this problem before).
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:06 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Thanks Jonathan,
Your suggestions were very helpful, especiall
No problem. I wonder if there's a web-based syntax checker for PHP...
- Jonathan
-Original Message-
From: Brad Melendy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 12:23 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] include() statement hell!
Man, this means I ha
way that I know of.
- Jonathan
-Original Message-
From: mailing list [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 28, 2002 6:39 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] https post via php
Hello,
I am attempting to POST to a https://whatever.url.com server and return
the result from
ut matching up the number
of columns to values, or the order of the fields (the above example could
have age or lastname as the first value without changing the output). Not to
mention this method is a little easier to read and easier to construct.
- Jonathan
-Original Message-
From: Jenni
You can check to see if there were any insert errors by:
print mysql_error();
...after you have run the query. Give us the output and your query and we
can help a bit more.
- Jonathan
-Original Message-
From: Ethan J. Mings [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 6
to:
I've heard that you can leave off the semi-colon, but I just consider it
good coding habit to always end statements with semi-colons.
- Jonathan
-Original Message-
From: Luis R. Sales Glez. [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 9:30 AM
To: Natividad Cast
x27;value',
field2='value';
";
mysql_query($sql) or die(msql_error());
... will work fine. No need for special characters - PHP will recognize
values and strings that are on multiple lines AS LONG AS the value starts
and ends with quotes (and the semicolon at the end).
Just convert it and save the converted version for viewing.
- Jonathan
-Original Message-
From: Kevin Won [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 29, 2002 11:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] help with preg_replace for http://
I'm writing a knowledgebase (basically
to 5 digits). An int(6) could hold 6-digit
numbers up to 999,999, etc...
- Jonathan
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 31, 2002 10:06 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] int or tinyint
Hi all,
Just a simple question (I think)
will post a field called ItemID containing
the ID number (in this case, 1) to buyitem.php. Now you just code
buyitem.php to add the product to the user's "basket". There are several
ways of doing that, but this should be the proper stepping stone.
- Jonathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
like
hiring an ex-thief to help you move - you can never be SURE that
everything's going to be there in the end.
- Jonathan
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 12:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Pop up are y
I was close. :)
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 01, 2002 10:53 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Pop up are you sure...
On Tuesday 02 April 2002 01:30, Jonathan Hilgeman wrote:
> You're so negative, Jason. :)
Thank you. Someone else exists who has the sense of mind to use single
quotes. I hate looking at other people's code that has tons of \"s in it.
- Jonathan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 5:00 PM
To: [EMAIL
To add to that, yes, the column must be numeric and it must also be your
PRIMARY KEY column to be able to have the autoincrement attribute, not just
a regular index.
- J
-Original Message-
From: Glenn Holden [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 02, 2002 6:12 PM
To: [EMAIL PROT
he database, and you wanted to display the value
in the listings, all you would need to do is to add "rating" to your
beginning SELECT statement. At that point, it would instantly be available
in the bottom $ReviewDetails array as $ReviewDetails["rating"].
The multi-dimensional ar
Just look at your basic PHP tutorials like Devshed's PHP 101:
http://www.devshed.com/Server_Side/PHP/PHP101
- Jonathan
-Original Message-
From: Evans, Josh [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 04, 2002 7:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Editing/Updating
I've addressed this problem here:
http://php.sitecreative.com/faq.php
- Jonathan
-Original Message-
From: John Hughes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 09, 2002 12:30 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] How to avoid: Warning: Page has Expired
I have the
r
not, and if there are other people that could get on the server). Then try
running the script again.
- Jonathan
-Original Message-
From: Chris Payne [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 1:52 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Saving DB Resuts to a file
Hi
work
well with scripting?
#2 Does anyone know about fax servers or how to obtain one?
- Jonathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
= 5, and append "Appended
Text" to the end of MyField without a query to get the previous values. For
numeric fields, you can also increment them like this:
UPDATE table SET MyNumericField = MyNumericField + 1;
That would update all rows in table, incrementing every row's MyNumeri
http://php.sitecreative.com/faq.php
-Original Message-
From: Natividad Castro [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 6:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] page expires
Hi to all,
I have form that users fill out and submit. What I'm trying to do is not to
Good afternoon!
Quick performance question - I'm currently preparing the release of a new
website running on a Linux box written in PHP and MySQL with sessions
throughout.
I've read a bit about changing the PHP session handler to use a database vs.
the flat file method.
Does anyone have experie
;";
$brand="Brand2";
$itemnumber="123456";
$itemname="Another Item Name";
$itemqty=9;
array_push($cartArray, array($itemnumber=>"$brand", "$itemqty",
"$itemname"));
print_r($cartArray)."";
echo $cartArray[0][0]."";
Thank you,
Jonathan Duncan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
gt; $cartArray[1]["Quantity"] = $itemqty;
> $cartArray[1]["ItemName"] = $itemname;
>
> Note that $cartArray[] = $val is just a short hand way of doing
> array_push($cartArray, $val);
>
> Cheers,
>
> Owen Prime
> http://www.noggin.com.au
>
>
>
> J
not sure i understand why you would need to use a php script for this? why
not just use a static html tag, if all you're doing is opening the
picture in a new window?
-jon
-Original Message-
From: Brett Lathrope [mailto:brett@;lathrope.com]
Sent: Tuesday, November 12, 2002 1:44 PM
To: [E
yes, you need to insert the date as -mm-dd. you can go around this and
still have the user see a form field with mm/dd/ but you need to break
each part down, and play with the string functions so the final mysql query
is in -mm-dd.
-jon
-Original Message-
From: Paul Ihrig [mai
maybe i'm totally not thinking straight right now, but is there a way in php
to check if 0 results are returned in a mysql query?
for example, i have a definition database, that has a list of letters the
user clicks on (click on the letter, and all the terms for that letter pop
up).. but for some
i'm currently building a traffic analysis application for a website. it is
my first time working on such a project, so i'm not even sure if this would
be the best way to do it all, but here it goes.
what i would like to do is count the number of hits that go to different
sections of the site. i ca
John,
That is good advice. I wasn't aware of indexes/keys slowing down inserts.
Whats the best way to copy a table over to another table though?
-jon
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 5:36 PM
To: 'Jonathan Naron
this is a problem i've been struggling with for a little while. any attempt
to find help online has not produced any useful information. this is
regarding joins, which i'm not an expert in, but hopefully one of you can
help me out.
i have an table 'articles' which has multiple fields, such as auth
5k of data is way too much for varchar, so i would use a field of type TEXT.
i do this as well (storing html data in mysql) and it works great. some say
to use addslashes() although, on my setup (3.23/4.1) it seems to addslashes
automatically - not sure exactly why that is though.
-Original Me
ther complex JOIN but i'm not sure how it
looks exactly.
any help would be appreciated.
thank you very much.
-jon
-Original Message-
From: David Elliott [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 2:18 AM
To: Jonathan Narong on PHP-DB
Subject: Re: regarding multiple
that worked perfectly! thank you so much!
-jon
-Original Message-
From: Rick Widmer [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 6:08 PM
To: Jonathan Narong; David Elliott; Jonathan Narong on PHP-DB
Subject: Re: [PHP-DB] RE: regarding multiple joins
At 05:26 PM 11/22/02
m=$com_num";
$result = mysql_query ($sql_query)
or die ("Invalid query / error");
This is all directly from a form. The variables are all valid. I've tried
making the query something like
"UPDATE commentary SET com_release=test WHERE com_num=8" and even that
dosen'
PHP command I'm unaware of.
Thanx,
-Jonathan
ore, does thje function of the '
and " change in other commands? I could really use a complete description
on this. Perhaps a link to some long overdue resource I should have read
months ago before I designed my current project?
The Happy Columnist,
-Jonathan Underfoot
Underf
To unsubscribe, e-mail: [EMAIL PROTECTED]
- Original Message -
From: "kevin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 10, 2001 6:41 PM
Subject: [PHP-DB] I want to remove my e_mail address from the mail list
> I want to remove my e_mail address( [EMAIL PROTECTED]
I actually created an array of different conditions like:
$ConditionsArray = array("Var1 > 500","Var2 < 1800","ID=43");
and then:
$Conditions = join(" AND ", $ConditionsArray);
This constructs:
$Conditions = "Var1 > 500 AND Var2 <
l load the page fine again.
But this happens every time and I don't want that message to appear at all.
Any suggestions or ideas? It happens on every page that is POSTed to.
Thanks!
Jonathan
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
our tag, put in:
or if you don't have short-open tags on:
This will recreate all the previously-POSTed fields as hidden inputs that
will get posted to the next page as well. Just put that line (print
PassHidden...) before each of your tags, and it should work fine.
-- Jonathan Hilgema
Why not just JOIN the tables using new columns in the sportDB? For instance,
if your user names in the sportDB database and the user names in the mysql
database match up, just do a JOIN ... ON sportdb.table_name.username_field =
mysql.user.User
You don't need two connections.
Jon
1) Check out the new 4.0.5 version of PHP.
2) Some of the functions in the documentation now say "Feature added in
4.0.6" but I don't see that version available yet, since 4.0.5 was just
released. Does that just mean they are enticing us or something?
-Original Message-
From: B. van Ouw
[$db_num] = mysql_tablename($dbs, $db_num);
$db_list .= "$db_names[$db_num]";
if (($db_names[$db_num] != "mysql") && ($db_names[$db_num] != "tempdata"))
{
$tables = mysql_list_dbs($db_names[$db_num]) or die("Couldn't list
databases.");
Any Ideas? Than
try:
$a=array(1,2,3,4,5);
$b=array("a","b","c","d","e");
$c = array();
foreach($a as $a_key => $a_value)
{
$c[$a_value] = $b[$a_key];
}
that should give you what you want.
Jonathan
-Original Message-
From: Shahmat Dahlan [mailto:[
is about 11 megs, but is extremely easy-to-install and configurable
later if you want to fine-tune the settings, etc...
Jonathan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 20, 2001 10:08 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re
1) Do you get any errors back (check your error log if you can)?
2) Maybe your host/machine does not have the correct permissions set on
their /tmp directory to allow you to write the session file.
3) Probably a stupid idea, but just in case, do you have cookies enabled on
your browser?
-Orig
1 - 100 of 253 matches
Mail list logo