on 7/8/01 5:53 AM, Adam at [EMAIL PROTECTED] wrote:
thanks so much for the help, that'll be a great reference for any other
similar types of output i need.
some things i had to fix for others viewing this thread:
while ($numrows) had to be changed to while ($numrows = 1) or the while
' (in the
same folder as $imageloc. The pasths are OK. Could this be a safe mode
problem?
$chmodresult returns 1 or true, but the file is still protected when I go
look at it...
Susan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
on 7/8/01 10:04 AM, Keyser Soze at [EMAIL PROTECTED] wrote:
I need to create a report to send it to printer based on datas from my
database.firstly I tried pdf, but it's too hard to manage and it generate
big sized archives.
Any suggestions
What kind of report?
a report of what
http://www.futurebird.com/mapbuild3
I fixed it so now people who don't have css, or IE 5 (or a mac for that
matter) can use it... thanks for all the feedback.
Susan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
on 7/7/01 2:43 AM, Joe Smith at [EMAIL PROTECTED] wrote:
If you'd rather I bore everyone with the details, let me know and I'll post
my questions to this thread for all to see and chime in on.
If your questions are clear, and if you don't post too much code people here
seem to be very nice
on 7/7/01 3:36 PM, Chris Lambert - WhiteCrown Networks at
[EMAIL PROTECTED] wrote:
You'd pretty much have to do that pixel by pixel. What exactly do you want
the final application to do...often times there are alternative solutions
derived at by others knowing what you wish to accomplish
on 7/7/01 9:02 PM, Jeff Lewis at [EMAIL PROTECTED] wrote:
I have a directory with 163 files. I'd like to go through and process all
files with the word rost in them.
Are these files named in any logical way? ie. 01.htm
02.htm etc.
Do you have a list of the files someplace? I'm not certain
ahh here is what you need:
$d = dir(/etc);
while($entry=$d-read()) {
echo $entry.br\n;
//put what you want to do to each thing in the dir here...
}
$d-close();
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
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]
on 7/7/01 11:27 PM, Chris Lambert - WhiteCrown Networks at
[EMAIL PROTECTED] wrote:
I am afraid I am completely stupid in the way that watermarks
work(researching now). however I need to know quickly if I can dynamically
apply a watermark to an image using PHP. Any one know?
Just use
: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
on 7/6/01 11:36 AM, rick at [EMAIL PROTECTED] wrote:
while ($row = mysql_fetch_row ($result)) {
$map_list .= a href='viewonly.php3?mapid=$row[1]'$row[0]/abr; }
}
return $map_list;
Thanks Rick! This worked great.
I guess I'm right in assuming that all you can get back from a function
You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General 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]
://www.futurebird.com/mapbuild3
Thanks so much for the help!
Susan
--
PHP General 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]
.
Can any of you kind folks help me here?
--
PHP General 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]
WHERE (((mynumer+10) number) AND
(mynumer-10) number) );
it seems kinda wordy ...
Susan
--
PHP General 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]
When it says Success what is it talking about?
Is there a way around this? Maybe since I'm on a vitual server I need to
include a more full path?
I'm deeply confused.
Susan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
be greatly appriciated.
--
PHP General 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]
on 7/3/01 7:52 PM, Kurt Lieber at [EMAIL PROTECTED] wrote:
I had a similar problem a while back that I solved by isolating my
variables. Such as:
?php echo x = . $mapclick_x . and y = . $mapclick_y . ; ?
As for why it's happening, I'm not sure.
Wow, that fixed it! Though it turns
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]
in details
without having user to close the browser?
Jack
[EMAIL PROTECTED]
Love your enemies, it will drive them nuts
- Original Message -
From: Jason Murray [EMAIL PROTECTED]
To: 'Jon Yaggie' [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 11:52 PM
Subject: RE: [PHP] re
it will be a short time until you will receive hundreds, then thousands
each month. Would you like to be earning $10,000 a month within 6 months. It costs
nothing to check it out but it could change your life forever, as it did mine.
For full details e-mail me:
mailto:[EMAIL PROTECTED]
For further
test
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than reaching the goal you've set for
yourself
After I use that query, I got list of result group by DESC under variable
name firstchoice, how could I index this firstchoice variable so that I
can take each individual result to display according to the page layout
position?
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than reaching
Can someone give me a template of an email form?
I don't want it to use an email client, though.
I don't get the mail function, and I've been out of the loop too long.
:(
-Owen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
$k$h!#(B
http://sv.g-spot.to/docono/
$B"!!~"!!~"!!~"!!~(B
Chyoi machi Mail $B$K4X$9$k$40U8+$J$I(B
[EMAIL PROTECTED] $B$^$G(B
--
PHP General 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]
.
-
Martin Marques |[EMAIL PROTECTED]
Programador, Administrador | Centro de Telematica
Universidad Nacional
del Litoral
-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact
I've always had problems with the php-sessions too.
I think it's far easier and more effective and flexible, if you use
a mySQL database to do your own session handling.
This is actually very easy to do.
-Original Message-
From: r.gelstharp [mailto:[EMAIL PROTECTED]]
Sent: Donnerstag
/check/mail.html
$B(B $B<qL#$G=8$a$?L5NA2hA|#3#0#0#0#0(Bpic
$B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
Just in Mail $B$K4X$9$k$40U8+!"$*Ld$$9g$o$;$O(B
[EMAIL PROTECTED] $B$^$G$I$&$>!#
So what is SAP really?
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than reaching the goal you set for
yourself
- Original Message -
From: Pierre-Yves Lemaire [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, May 01, 2001 5:17 PM
Subject: RE: [PHP] a bit off the list
elements of array 1 have been compared to all elements
of array 2.
Any help is greatly appreciated!
--
PHP General 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
why don't you assign in next page like this?
$newvar = $test;
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than reaching the goal you set for
yourself
- Original Message -
From: AJDIN BRANDIC [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, April 26, 2001 5:53 AM
Subject
;
But the array is empty.
Thankz in advance for your help.
Robert
--
[ Swift eNetwork ] Matrix
http://matrix.swifte.net/
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
2001 09:18:25 -0400, [EMAIL PROTECTED] wrote:
Hello,
I'm new to using XML with PHP, but I think I've got it figured out
for
the most part. I have created a class that reads in an XML file
and
returns the data it finds to an array, but I'm running into a
problem
because the array
/
--
--
PHP General 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]
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]
, it will return
20010201)
How do I calculate the length between those 2 variables?
Jack
[EMAIL PROTECTED]
There is nothing more rewarding than reaching the goal you set for yourself
at the previous page, in order to uset
it in the if..then..else condition in the second sniplet, it will be like
if ($1=="on") {
do something
}else{
do somehting
}
but something is wrong here at the if then else bit. But I don't know what
is it.
Jack
[EMAIL PROTECTED]
"There is nothing more
ult is always "off" as well.
Somene advice me to use $http_var_gets btu I could not find it from manaual,
is that the solution I need?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
----- Original Message -
From: Jac
this "val" . ", " ;
and it returns 1,2,1,5,4, instead of 1,2,1,5,4 and it screw up query.
Thank again for this help, I am pretty sure this will be last question about
this :-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yoursel
You're missing a single quote after the value of MAXLENGTH on the line
that's not working... Maybe that's the problem.
--
[ Swift eNetwork ] Matrix
http://matrix.swifte.net/
--
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
When Itried to insert a record into a table, It looks like the record was
never inserted into table so I use mysql_error() and the error message show
up:
"Duplicate entry '10' for key 1"
What does that tell me?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching t
eep saying "maximum execution time exceeded 30 secs", am I doing
something time consuming here? There are only 2 records in the table.
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -----
From: Zeu
Not in the actual code, sorry, I did not copy the opnneing bit, but there is
one in the code.
So the same question, I got error said, maximum execution time exceed, am I
doing something time consuming here?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal yo
how?
Like this
session_destroy("name");
how about if I want to register that variable to be session again ( without
closing browser and start everything all over again)? can I still do that?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you s
I also tried this syntax:
?php
global $test;
$test = "foo";
session_register("test");
?
and it still not work as when I go to next page, and try echo $test, nothing
come up.
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
Not really, do I need to have session_start at the sender page and the
receiver page?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Wade Halsey [EMAIL PROTECTED]
To: Jacky@lilst [EMAIL PROTE
http://sv.g-spot.to/check/mail.html
$B!!(B $B<qL#$G=8$a$?L5NA2hA|#3#0#0#0#0Kg(B
$B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
Just in Mail $B$K4X$9$k$40U8+!"$*Ld$$9g$o$;$O(B
[EMAIL PROTECTED]
thank you everone, sorry about the rush though. I was kind of in urgent
need. Anyway, thanks again.:-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Stewart Taylor [EMAIL PROTECTED]
To: 'Jac
(B
http://www.php.net/manual/admin-notes.php?last_entry=300 $B$N(B
$B%5%$%H$h$j<}=8CW$7$^$7$?!#(B
Just in Mail $B$K4X$9$k$40U8+!"$*Ld$$9g$o$;$O(B
$B(B $B!!([EMAIL PROTECTED]$B!!$^$G$I$&$>!#(B
$B!z!z!z!z!z!z!z!!(BJust in Mail $B!z!z!z!z!
hine (PIII700 with 128MB). The
productio server runs AOLServer while the development server runs Apache.
Eric Nielsen
Mail2Web - Check your email from the web at
http://www.mail2web.com/ .
--
PHP General Mailing List (http://www.ph
okay I do reply here
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Maxim Maletsky [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, March 08, 2001 1:29
to come to my
site that a user come from the link from their site , or from their IP or something.
So that I can tell where a user come from.
Is this something to do with http header?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
to be able to deal with the case that
no record found and redirect user to other page?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
%a!<%k$rG[?.$7$F$*$j$^$9!#(B
$B<u?.%a!<%k$N%+%F%4%j!<JQ99!&%"%I%l%9JQ99!&:#8e$3$N%a!<%k$,ITMW$N>l9g(B
$B$3$N%a!<%k$r!VJV?.07$$!W$K$F%a%$%k%$%s08$^$G$*Aw$j$/$@$5$$!#(B
$B!J?75,:n@.$G$N%a!<%kAw?.$G$O:o=|$G$-$^$;$s!K(B
$B%a%$%k%$%s(B
[EMAIL PRO
Sorry,
It was the mistyping. i actually put http:// in the a href. I just forgot to
type it in the mail. So what else could it be?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Alvin Tan [EMAIL
?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Alvin Tan [EMAIL PROTECTED]
To: Jacky [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 3:39 AM
Subject: RE: [PHP] wha
I have php site that user is required to login, but I don't have logout function yet.
Is there anyone know the most practical way of logout method that people use
nowadays?, in php I mean. There is no session or cookies used in this site.
Jack
[EMAIL PROTECTED]
"There is nothing more rewa
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Jacky@lilst [EMAIL PROTECTED]
To: Yamin Prabudy [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, February 27, 2001 3:49 PM
Subject: Re: [P
Sorry, it was my mistake. There is session used to store userID and password
after the successful login. I don't under stand what you mean about to clean
up variables, how?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Origin
No offend but can anyone please remove this subscriber : [EMAIL PROTECTED] ? His
mail box is full and I got the message to tell me that everytime I post the message to
the list, this time included :-)
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal yo
idea about how and the process, any guide?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
..it stops with this error'cannot find output for
lex;giving up'
what can i do?
thanks
Daniele
--
PHP General 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]
t way of using isset for this purpose? Or should I use empty() ?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
[PHP] isset()yes, it is the var from the form
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
- Original Message -
From: Thiva Charanasri
To: 'Jacky@lilst'
Sent: Thursday, February 22, 2001 3:59 AM
Subject: [
Dera folks,
I suspect there is something wrong at my php.ini mail setup. My script for mail() does
not work and no error message, just did not send out anything. Is there anyway I can
see if script mail() does not work and see what the problem is?
Jack
[EMAIL PROTECTED]
"There is nothing
Why is this broken for BIGINTs? Is there a good reason for it, or has no
one
simply fixed it...?
-Szii
--
PHP General 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
Sorry, that should be "mysql_insert_id()"
-Szii
- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 2:06 PM
Subject: [PHP] mysql_last_id()
Why is this broken for BIGINTs? Is there a good reason for it, or h
has valid email address in there, can anybody tell me
what went wrong?
$queryRequest = "SELECT * FROM TouristRequests WHERE
TouristRequestID='$TouristRequestID'";
$resultRequest = mysql_query($queryRequest) or die(mysql_error());
$mailAdmin = '[EMAIL
uot;
/SECTION
/xml
-Szii
- Original Message -
From: Paulo Jan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 4:05 AM
Subject: [PHP] Generate XML files
Hi all:
A question tangentially related to the former one. I have seen lots of
tutorials about how to par
I told Apache to deny all .inc requets, ala .htaccess-style stuff in
the httpd.conf
-Szii
- Original Message -
From: Sebastian Stadtlich [EMAIL PROTECTED]
To: 'Rick Hodger' [EMAIL PROTECTED]; 'Php-General (E-Mail)
[EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 4:45 AM
Subject: AW
db
connection like this:
?php
$connection = mysql_connect("$localhost", "username", "password");
mysql_select_db("dbname", $connection);
?
*
Is this correct way to do this?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
from an outside source
that we have no control of.)
-Szii
--
PHP General 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]
that?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
From: Milan Mlynarcik [EMAIL PROTECTED]
To: Jacky@lilst [EMAIL PROTECTED]
Sent: Monday, February 05, 2001 2:03 AM
Subject: Re: [PHP] manage number of rows
xml_error_string(xml_get_error_code($xmlp)),
xml_get_current_line_number($xmlp)));
}
xml_parser_free($xmlp);
?
--
PHP General 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]
*laugh* There's too many "Mike Oxford" types running
around, and "Szii" seems to stick pretty well...so I use it. *shrug*
-Szii/Mike
- Original Message -
From: stankusn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 02, 2001 10:56 AM
Subject: Re: [P
for Nagpur http://nagpurcity.net
=
--
PHP General 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]
tion, sick days, etc.
-Szii
- Original Message -
From: Jonathan Sharp [EMAIL PROTECTED]
To: Philip Olson [EMAIL PROTECTED]; Josh G [EMAIL PROTECTED]
Cc: PHP User Group [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 6:26 PM
Subject: RE: [PHP] Pricing for PHP programming???
Yeah, I'm
-
From: Dean Hall [EMAIL PROTECTED]
To: PHP General [EMAIL PROTECTED]
Sent: Thursday, February 01, 2001 10:43 AM
Subject: [PHP] contracting consulting (was "[PHP] Pricing for PHP
programming???")
Somewhat related to the recent discussion on pricing for contractors, I
thought I'd ask if
This is one of ASPs strongest points. However, as PHP grows, people will
notice.
Open Source ANYTHING still has a ways to go, but it's getting there.
-Szii
- Original Message -
From: Benjamin Munoz [EMAIL PROTECTED]
To: 'Dean Hall' [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED]
Sent: T
underneath the
covers.)
Have fun!
-Szii
- Original Message -
From: Karl J. Stubsjoen [EMAIL PROTECTED]
To: PHP Mailing List [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 9:20 AM
Subject: [PHP] HowTo: IBM DB2 w/PHP
Hello,
We have succesfully installed the IBM DB2 RDMS on our Linux box
Yup. Install the "DB2 Application Development" package and it'll give you
the
headers.
-Szii
- Original Message -
From: Bill Sneed [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, January 28, 2001 12:49 PM
Subject: [PHP] ibm-db2 support
Greetings:
I'm using RH6.2
--
=
B2B Application Providers
http://www.sanisoft.com
Vortal for Nagpur http://nagpurcity.net
=
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
niplet should be the same too, right?
So is there anything I miss here?
error mesage:
Warning: MySQL Connection Failed: Access denied for user:
'[EMAIL PROTECTED]' (Using password: NO) in
/home/sites/site1/web/FreeSale/submitagree.php3 on line 2
*
The sn
://www.sanisoft.com
Vortal for Nagpur http://nagpurcity.net
=
--
PHP General 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
the native MySQL C API function
mysql_insert_id() to a type of long. If your AUTO_INCREMENT column has a column type
of BIGINT, the value returned by mysql_insert_id() will be incorrect. Instead, use the
internal MySQL SQL function LAST_INSERT_ID().
****
J
So can I do either way as I show below here?
first could be :
$sql = "insert into user (name,email) values('Jack','[EMAIL PROTECTED]')";
$result = mysql_query($sql);
$sql1 = "insert into userFriend (userId,friendName,)
values(LAST_INSERT_ID(),'John');"
$result1 = mysql_quer
y before both values will
be inserted into the third query.
Can we do that? If not, I will have to come back to mysql_insert_id(); but
it won't work with a field with data type BIGINT, will it? So I guess I
would have to change the data type too, right?
please enlighten me about this
Thank
J
RT_ID like you said
previously.
By the way, what even drive me crazy more is that with using
mysql_insert_id();, it returns me value 0 (zero) which I suspected it comes
from the fact that data type of that field is BIGINT, correct me if I'm
wrong.
any thought?
Jack
[EMAIL PROTECTED]
"There
Don't you have to do something like this?
$something = mysql_query("into mytable.");
$result = mysql_query($something);
$rs = mysql_query("select LAST_INSERT_ID() from mytable");
$theLastInsertedID = mysql_result($rs,0,0);
corerct?
Jack
[EMAIL PROTECTED]
&q
://www.sanisoft.com
Vortal for Nagpur http://nagpurcity.net
=
--
PHP General 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
rsttableID,Thirdfirstname,
Thirdlastname) values('$secondLast','$FirstLast','Steve','Chan')";
$resultsql3 = mysql_query($sql3);
$sqlLastIDthird = "select LAST_INSERT_ID() from Thirdtable";
$resultlast3 = mysql_query($sqlLastIDthird);
$ThirdLast = mysql_result($resultlast3,0,0)
returned by mysql_insert_id() will be
incorrect. Instead, use the internal MySQL SQL function LAST_INSERT_ID().
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -
now I have database on mysql server call
"FreeSale" and I need to add user in it, how do I do that properly?
cheers
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"
- Original Message -----
From: Maxim Maletsky [EMAIL PROTE
to that aprticular line of
course ).
What is wrong here?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for yourself"
401 - 500 of 525 matches
Mail list logo