In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi there,
>
> The problem is the data is already in the DB, it was mass-added with the '
> already there, what I need is a way to retrieve the ' that is already in the
> DB.
>
> Thanks
>
> Chris
>
> > yes, by adding stripslashes it wi
Hi there,
The problem is the data is already in the DB, it was mass-added with the '
already there, what I need is a way to retrieve the ' that is already in the
DB.
Thanks
Chris
> yes, by adding stripslashes it will somewhat escape those quotes ('),
> but when displaying the results there will
yes, by adding stripslashes it will somewhat escape those quotes ('),
but when displaying the results there will not be any need to do so.
unless it is your wish to actually store the backslash into the db.
Jerry wrote:
I think you should use addslashes to store the text in the database and
the
I think you should use addslashes to store the text in the database and
then stripslashes when displaying the text. I think that should work,
but I'm new to PHP so I might be wrong.
Jerry
-Original Message-
From: Chris Payne [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 12, 2003 2:11 P
The only way to do that is through the use of frames.
You can have two frames in your html doc, one that holds nothing, and the
other that holds the redirection info. When someone comes to the site
www.pagetwo.com the second frame (that occupies 99.9% of the browser)
redirects the page to www.pageo
http://www.hotscripts.com/PHP/
One example:
http://www.hotscripts.com/Detailed/9026.html
Good luck,
Doug
On Fri, 14 Feb 2003 16:09:34 +0100, Ingen, Wart van wrote:
>Hi there,
>
>I'm looking for a way to let people without any knowledge of coding replace
>large fields of text and images on thei
If your client's friend wants to do learning/development, let him load
PHPTriad, FoxServ, or one of the other trinity setups onto his
computer.
It is truly remarkable that you/your company would even consider such a
request for longer than it takes to say: Never in a million years.
Also, if I wer
On Thursday 30 January 2003 08:59, Louis Feng wrote:
> Thanks for your help. The machine [A] is running MySQL is Not behind a
> firewall, therefore all connection to [A] works fine (including 3306).
> The machine [B] running PHP/apache is behind a firewall, and only port
> 80 is open on [B]. If I
lt;[EMAIL PROTECTED]>*
01/29/2003 07:11 PM
To: [EMAIL PROTECTED]
cc: Matt Vos <[EMAIL PROTECTED]>, Louis Feng <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
bcc:
Subject: Re: [PHP-DB] Question on the port PHP uses to connect to
remote MySQL
Thanks for reply, I'm going to try that,
t.com> cc:
Subject: Re: [PHP-DB] Question on the port PHP uses to connect to
com> cc:
Subject: Re: [PHP-DB] Question on the
port PHP uses to connect to
01/29/2003remote MySQL
In a default setup, I believe the port is 3306.
Check your MySQL config files, as this can be changed.
Matt
- Original Message -
From: Louis Feng <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 28, 2003 10:34 PM
Subject: [PHP-DB] Question on the port PHP uses to connect
On Wednesday 29 January 2003 11:34, Louis Feng wrote:
> Here is my problem. I have PHP running on one machine, mysql on another
> one. Everything works fine till I put a firewall on the PHP machine,
> which blocks pretty much every port there is except port 80. Now, PHP
> can't connect to the mysql
This isn't the place for discussions of php development, I think php-dev
is what you want... but ah, PHP is a full-blown programming language,
even under widnows.
http://www.php.net/manual/sv/features.commandline.php <-- check this
page out
You can write shell scripts with it, associate windows
Well, you can already do that--just download and install the CGI
version.
Unless, of course, you meant that you want to write Windows GUI
applications, in which case I think someone is working on something like
that with PHP-GTK.
Oh, the attachments are either quoted messages or patches, for the
>To: 'Smita Manohar' <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: RE: [PHP-DB] question regarding date format
>Date: Mon, 16 Sep 2002 18:40:06 +0100
>
> > -Original Message-
> > From: Smita Manohar [mailto:[EMAIL PROTECTED]]
> > Sent: 16 Sep
in this instance, where a computer isn't likely to contain more than
x drives, it may work, however, if he wants to later include sn's,
and mfg's a separate table would be better.. :)
--
===
Michael J. Ryan - tracker1[*at*]ther
To: "Mike Tuller" <[EMAIL PROTECTED]>, "Chris Barnes"
> <[EMAIL PROTECTED]>, "Php-Db (E-mail)" <[EMAIL PROTECTED]>
> Subject: RE: [PHP-DB] Question
>
> Hi
>
> The correct way, IMHO, would be to consider the situation. The hard drives
> ar
3 June 2002 21:07
> To: Chris Barnes; Php-Db (E-mail)
> Subject: Re: [PHP-DB] Question
>
>
> That would probably work, but only for what I want right now. If I ever
> wanted to create a report of all the hard drives I have, it would become
> more difficult.
>
> I know I need
05:03:53 +1000
> To: "Php-Db \(E-mail\)" <[EMAIL PROTECTED]>
> Subject: RE: [PHP-DB] Question
>
> i dont know how will this will work, but you could try storing the multiple
> hard disk details for each computer in an "array" in 1 field.
> then when you want to
i dont know how will this will work, but you could try storing the multiple
hard disk details for each computer in an "array" in 1 field.
then when you want to get the information from the db, use explode() to
store the value in the field into an array again.
e.g.
the field in the DB might look l
On Sun, 23 Jun 2002, Mike Tuller wrote:
> I know I will need to create a separate table to hold information about
> the drives, and connect them to the computer by attaching the primary key
> of the drives table to the Computer table.
Good, you know a bit about normalisation. But, not enough.
On Tuesday 30 April 2002 16:56, Jack wrote:
> Dear Jason
> Thx for the reply, but do you know where i should copy that file to in
> serverside?
> is it got to be the same directory of mysql?
It doesn't matter where as long as it is readable by the process running PHP
(ie the process running your
TED]>
Sent: Tuesday, April 30, 2002 2:45 PM
Subject: Re: [PHP-DB] Question about Load Data to mysql through php
> On Tuesday 30 April 2002 14:33, Jack wrote:
> > Dear all
> > i'm a newbie in mysql, but there is one question about LOAD Data command
in
> > mysql, let s
On Tuesday 30 April 2002 14:33, Jack wrote:
> Dear all
> i'm a newbie in mysql, but there is one question about LOAD Data command in
> mysql, let say if i had a CSV file in client side and i want to load this
> file's data into particular table , so do i need to copy this CSV file into
> Web serve
> Hello, folks, and I apologize in advance if I break any rules here. This
> is my first post on this list and I couldn't find any archive to review
> existing posts for the answer to this question.
http://www.php.net/mailing-lists.php
Thanks for the URL. I feel stupid for having missed it, c
From: "Vania Smrkovski" <[EMAIL PROTECTED]>
> host with PHP and MySQL support.
>
> a) How would you change the following the automatically find the tables
and
> run through the iteration.
You should rtfm as php/mysql makes a lot of the torturous
VB/MS/Access methods very simple. All the function
On Monday 22 April 2002 12:54, Vania Smrkovski wrote:
> Hello, folks, and I apologize in advance if I break any rules here. This
> is my first post on this list and I couldn't find any archive to review
> existing posts for the answer to this question.
http://www.php.net/mailing-lists.php
> a)
on 2/28/02 2:21 AM, Monty at [EMAIL PROTECTED] appended the following bits
to my mbox:
> I have an Image table in a MySQL database that will be used to store the
> location of all images used on my site. Some images will relate to an
> Article table (article.id) and some images may relate to a Me
Hi,
I assumed that you was used MySQL for database. With MySQL you
can used this SQL to find different row
select tblcd.* from tblcd left join tblorder on
tblcd.cdid=tblorder.cdid where tblorder.cdid is null
sommai
At 12:37 28/2/2002 +1000, Adam Royle wrote:
>Hi.
>
>I need
select * from tblCd
where cdId not in (select distinct cdId from tblOrders);
On Thu, Feb 28, 2002 at 12:37:49PM +1000, Adam Royle wrote:
> Hi.
>
> I need some guidance for writing an effective query (instead of processing
> through PHP).
>
> I lets says I have two tables, tblCDs and tblOrders.
SELECT
tblCD.cdID,
tblCD.cdTitle,
tblCD.cdArtist
FROM
tblCD,
tblOrders
WHERE
tblOrders.cdID = tblCD.cdID
AND tblCD.cdID NOT IN (
SELECT cdID FROM tblOrders
)
The support for this sort of "nested query" will very betwe
If you know what your result set is going to be, it would be easier to
do something like this:
list($firstname,$lastname,$midinitial,$preferredname,$address1,$address2
,$city,$state,$zip) = mysql_fetch_row($result);
Or if you are returning more then one row, and want to loop through the
results:
Yup,
I knew it was something really simple. I should never touch a computer
before the coffee is brewed ;-)
Thanks!
Robert
On Wednesday, December 12, 2001, at 11:09 AM, Steve Cayford wrote:
>
> Do you want $$fname = $val here? Taking the string in $fname as the
> name of a variable to which
On Wednesday, December 12, 2001, at 09:03 AM, Robert Weeks wrote:
> Hi,
>
> I'm a little stumped here, maybe I haven't had enough coffee yet...
>
> Anyway, I have a lot of SQL queries that return one row if there is a
> match
> and instead of having to write out something like this:
>
> $f
";
break;
}
}
?>
je souhaite faire apparait une l'image ki est donné dans ma base pour
$colonne2["IMG"]>. Il m'affiche bien le bon texte qd je met echo
$colonne2["IMG"]; , mais j'aimerai qu'il mettent cette valeur en img
src.
J'espere etre assez clair :)
David,
J
Super, les 2 versions marchent. Merci
David
-Message d'origine-
De : Bas Jobsen [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 18 octobre 2001 11:35
À : david1980; [EMAIL PROTECTED]
Objet : Re: [PHP-DB] Question In French.
--
PHP Database Mailing List (http://www.php.net
--
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]
Il faut tu ecrire:
if ($colonne["LIV_TYPE_EVT"] == 21)
{
$couleur = "yellow";
}
else if ($colonne["LIV_TYPE_EVT"] == 1)
{
$couleur = "009933";
}
else
{
$couleur = "FF";
}
Georges Lioumis.
Hi,
even if there was no data in the price field when the form was submited the
$price variable exists and isset($price) returns true. May be you could try
!empty($price) instead of isset($price) - Something like.
$query7 = !empty($price) ? "INSERT INTO price (itemid, price) VALUES
($itemid, '$pr
Koutsogiannopoulos Karolos wrote:
>Hello Again everyone...
>
>My question is simple...
>
>I have images submited IN my mysql Database.
>What i want is when i display them and i right click on them and choose save
>picture as i can get the name of the
>picture from the DB and not have to insert i
the web page that is generated, does the HREF tag supply a name? and at
least for my netscrape 4.7x, whenever i right click on an image, it uses
that name on the dialog box that pops up, prompting me where and how to
save it as...
btw, why save images on a table? wouldnt saving the URL better?
You could split the string on the slashes with explode('/',$string) and
then manipulate the array elements you get back.
Good luck,
Ben
-Original Message-
From: Dennis Kaandorp [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 15, 2001 9:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Questio
On Tue, May 22, 2001 at 09:41:25AM +0900, Michael Cheung wrote:
>
> On Mon, 21 May 2001 16:39:05 +0200
> "Thies C. Arntzen" <[EMAIL PROTECTED]> wrote:
>
> > On Mon, May 21, 2001 at 11:35:36PM +0900, Michael Cheung wrote:
> > > Hi;
> > > Linux 2.2.18 + oracle 8.1.7i + php-4.0.5 + oci8 interface
On Mon, May 21, 2001 at 11:35:36PM +0900, Michael Cheung wrote:
> Hi;
> Linux 2.2.18 + oracle 8.1.7i + php-4.0.5 + oci8 interface.
>
> I use the following lines to get a result from database;
> But It give me result 0, it is incorrect;
>
> $sql="Select count(*) From member wher
The way you have it now, ur just storing the path to
the gif. from the form field, use
then in the insert area use:
$result = mysql_query("insert into (filename) VALUES
('$file')")
James
--- Yui Hiroaki <[EMAIL PROTECTED]> wrote:
> HI!
>
> I am using PHP in mySQL. I create table in datab
> Hello, I'm trying to use the mssql_connect function to connect to the
> Microsoft SQL server with php4.0.3pl1 for window, but the return is "Fatal
> error: Call to undefined function: mssql_connect()". And another mssql
> function are also with the same result, but I have try use the mysql and
>
Check if the 'php_interbase.dll' is present and in the proper location.
Jayme.
http://www.conex.com.br/jjeffman
-Mensagem Original-
De: Kyoungsub, Wee <[EMAIL PROTECTED]>
Para: PHP DB Mailing <[EMAIL PROTECTED]>
Enviada em: quarta-feira, 17 de janeiro de 2001 16:40
Assunto: [PHP-DB]
101 - 148 of 148 matches
Mail list logo