Hi all.
I have a small problem here. I have this full-PHP site working with a
MySQL db and came to a dead road when trying to delete a record from it
from the Administrator's page. I have PHP to make this decision after
the Administrator selected the record to delete and answered YES to the
¿Are
Thanks. I must apology as I made a mistake when writing the incoming
variable's name. I had it wrong so it would pass the variable but the
incoming script was looking for a variable that wasn't passed. In the
meantime, and now that I correct that, I'm still comparing artid to
'$artid' (with
Hi JJ. I know we all should do what you did, but I've seen this kind of
mails quite a lot lately in these lists. I'm sure that many of you, like
me, keep these mails for further reading and reference... it would be
nice if you also state what was the answer to your original question. I
mean, if
Hi all. I found in one of these DB lists a word about a tool called
MySQL - Front so I went there, downloaded it and ran it today for the
first time and well...
¡¡TWO THUMBS UP!!!
It really seems like a great GUI app. I installed it over Win XP Pro and
had no troubles with it so far.
Well, the string concatenation can be used to force PHP read and print a
variable within a echoed or printed string. As far as I know, it should
be used to make PHP handle a function inside a string. i.e.
echo your total is:. total_function();
In your example, you might use as well:
echo img
Maybe I don't understand what your need is, but here's a shot.
What you want to do, I've accomplished before just by placing a field in
the database which points to the image name called i.e. product_image.
What this field contains, is just the name of the picture i.e.
prod_001.jpg. When the
Sorry. The code down there should read:
[snip]
// Then show image and/or details
echo img src=/image_folder/.$row[product_image].;
[snip]
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 07, 2002 12:46 AM
To: 'markbm'; [EMAIL PROTECTED]
Subject
On the other hand... what are you closing of PHP after the form? Maybe
you should consider writing your code in a more clear way... try
indenting it all.
-Original Message-
From: César Aracena [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 07, 2002 2:16 AM
To: 'Shiloh Madsen'; [EMAIL
Read my second answer... I find very strange that closing curly bracket
*}* after the /FORM tag. Try to remove the closing one from the *ELSE*
statement.
-Original Message-
From: Shiloh Madsen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 07, 2002 2:33 AM
To: César Aracena
Subject
the name 0 was a sql-query - it will return a ressource which will
enable you to make something like
$i=0;
while($row = mysql_fetch_assoc($nameless_result){
#psuedo-code#
# mysql_query=(insert into table set relativenumber = 'jr$i' where
ID=$row[ID]);
}
[César L. Aracena] I think
;)
César aracena wrote:
Hi all,
I need the administrators of one site to actually see the user's
passwords. I like using password() for encrypting but doesn't know
if
it
can be retrieved in common English.
Thanks,
Cesar Aracena mailto:[EMAIL PROTECTED]
CE
Hi all.
I have this form in which one Administrator can insert new members and
after that, in another page, a form where he/she can insert the new
members sons daughters. I want to display a table with text inserts
into the admin can type lets say a maximum of 5 kids in the second
page.
:56 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Re: ARRAY, IF INSERT
(i am new to these groups, but shouldn't there be a follow-up-to on a
X-post?)
César aracena wrote:
I have this form in which one Administrator can insert new members
and
after that, in another page
Hi all,
I need the administrators of one site to actually see the users
passwords. I like using password() for encrypting but doesnt know if it
can be retrieved in common English.
Thanks,
Cesar Aracena mailto:[EMAIL PROTECTED]
CE / MCSE+I
Neuquen, Argentina
+54.299.6356688
Hi all. Hope youre all alright since I dont see any of you writing for
some time now ;-)
This should be an easy one for all of you. I want to make a basic SELECT
query from two tables and fetch all the results into one array. Im
doing it like this:
$query = SELECT * FROM logins,auth WHERE
Hi all.
This should be an easy one for all of you. I want to make a basic SELECT
query from two tables and fetch all the results into one array. Im
doing it like this:
$query = SELECT * FROM logins,auth WHERE logins.authname = $variable1
AND auth.authid = $variable2;
$result =
Hi all and sorry if this message is sent many times, but Im having
problems switching mailing lists from one email address to another.
This should be an easy one for all of you. I want to make a basic SELECT
query from two tables and fetch all the results into one array. Im
doing it like this:
Hi all.
This should be an easy one for all of you. I want to make a basic SELECT
query from two tables and fetch all the results into one array. Im
doing it like this:
$query = SELECT * FROM logins,auth WHERE logins.authname = $variable1
AND auth.authid = $variable2;
$result =
Hi all and sorry for bothering again.
I need to fetch one time and date from a MySQL DB where is stored as
TIMESTAMP (MMDDHHMMSS) to print it in a page but in common format
(DD MM at HH:MM:SS). Actually, I dont care bout the st, nd and th
extensions after the day.
Thanks for any help
Thanks a lot. It was an error... a HUGE one though :-)
César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621
-Mensaje original-
De: Denis Arh [mailto:[EMAIL PROTECTED]]
Enviado el: Domingo, 16 de Junio de 2002 04:28 a.m.
Para: [EMAIL PROTECTED]
Asunto: Re: [PHP
+54.299.4466621
-Mensaje original-
De: César Aracena [mailto:[EMAIL PROTECTED]]
Enviado el: Domingo, 16 de Junio de 2002 05:12 a.m.
Para: PHP General List; PHP DB List
Asunto: [PHP-DB] Extracting Time??
Hi all and sorry for bothering again.
I need to fetch one time and date from
Im sorry if this mensaje is posted twice. I sent it yesterdays, but
then my ISP had problems with e-mail and I lost dozens of them and dont
know if sent OK.
Hi all,
What Im trying to do here is not inside PHP nor MySQL books I have. I
need to query the DB to look the max result in a column.
Thanks Natalie Ed. This Works just fine.
What I want to do, is let a person subscribe new affiliates without
having to look up what the last affiliate's number was and show the next
one in the new affiliate form.
César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621
of you who helped me.
César Aracena
IS / MCSE+I
Neuquén, NQN
(0299) 156-356688
(0299) 446-6621
-Mensaje original-
De: John Holmes [mailto:[EMAIL PROTECTED]]
Enviado el: Miércoles, 12 de Junio de 2002 08:51 p.m.
Para: 'César Aracena'; 'PHP DB List'; 'PHP General List'
Asunto: RE: [PHP
24 matches
Mail list logo