Dear list
Here is the answer
ORIGINAL
Search Results
frame="box" style="table-layout: fixed;">
Site
Medical Record
First Name
Last Name
Phone
Height
Sex
History
Birthday
Age
$vara2 = array(array($Site, $MedRec, $Fname,
$Lname, $Phone, $Height, $Sex, $Hx
Dear list -
When I run the following code, the results are preceded by at least one
screen full of blank lines. I am showing you a large code block since I
do not know where the error is:
if(isset($_REQUEST['Sex'])&& trim($_POST['Sex']) != '' )
{
if ($_REQUEST['Sex'] === "0")
On 17 September 2010 21:41, Vinay Kannan wrote:
> Hello Xperts,
>
> I am trying out a couple of things and have come across this requirement,
> where in a php script should create a doc file with specific formatting, I
> can create the file, havent tried it yet, but shouldnt be a problem I guess,
work done by
> Maarten, who's an incredibly smart guy.
>
> : Ashay
>
> -Original Message-
> From: Vinay Kannan [mailto:viny...@gmail.com]
> Sent: Friday, September 17, 2010 1:42 PM
> To: PHP DB
> Subject: [PHP-DB] formatting a word doc using php ?
>
> H
an [mailto:viny...@gmail.com]
Sent: Friday, September 17, 2010 1:42 PM
To: PHP DB
Subject: [PHP-DB] formatting a word doc using php ?
Hello Xperts,
I am trying out a couple of things and have come across this requirement, where
in a php script should create a doc file with specific formatting, I can c
Hello Xperts,
I am trying out a couple of things and have come across this requirement,
where in a php script should create a doc file with specific formatting, I
can create the file, havent tried it yet, but shouldnt be a problem I guess,
but how do I format the doc file is the question, google s
Check out http://www.json.org/ for JSON structures.
In javascript an Array object is a special implementation of the
Object object (like all objects other than Object) - an Array object
can only have numerical indices, an Object object can have textual
indices too. If you json_encode a php array w
I am using json_encode to output the results of a mySQL query which is
part of a jquery & ajax.
$result = json_encode($array);
echo $result;
The output on my screen is:
{0:"John 14:27","verse_reference":"John 14:27"}
How do I format json_encode output? I would like
John 14:27
to be what i
i'm just add Tobias script.
put "rtrim" and "ltrim" to have a better result.
- Original Message -
From: "Tobias Franzén" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 01, 2008 10:24 PM
Subject: Re: [PHP-DB] Formatting in Text Area
> Hi Pat
much better by example.
Thanks Evert!
Trish
-Original Message-
From: Evert Lammerts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 8:21 AM
To: VanBuskirk, Patricia
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Formatting in Text Area
VanBuskirk, Patricia wrote:
I h
$text = nl2br($text);
bastien
> Date: Fri, 1 Feb 2008 08:07:17 -0500> From: [EMAIL PROTECTED]> To:
> php-db@lists.php.net> Subject: [PHP-DB] Formatting in Text Area> > I have a
> "customer description" text area field on my form which feeds thro
-Original Message-
From: Evert Lammerts [mailto:[EMAIL PROTECTED]
Sent: Friday, February 01, 2008 8:21 AM
To: VanBuskirk, Patricia
Cc: php-db@lists.php.net
Subject: Re: [PHP-DB] Formatting in Text Area
VanBuskirk, Patricia wrote:
> I have a "customer description" text area field on
VanBuskirk, Patricia wrote:
I have a "customer description" text area field on my form which feeds through
php to FMP,
What's FMP? Is that what links this email to the db-list?
and spits out a confirmation page and email. The issue I am having is this ... as
the customer types, the text wra
I have a "customer description" text area field on my form which feeds through
php to FMP, and spits out a confirmation page and email. The issue I am having
is this ... as the customer types, the text wraps. Many put their own hard
returns and spaces in to organize their description. It seem
Hi
SELECT * FROM table INTO OUTFILE 'file_name'
FIELDS TERMINATED BY '\t'
LINES TERMINATED BY '\n'
Niel
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello.
My team and I are looking for a way to return an entire table of
MySQL data with columns delimited by tabs and rows delimited by
carriage returns. How exactly would this work - I'm not a PHP expert
and, although I know MySQL, I don't know where to begin with
formatting a query poin
show the code bit relevant to the nl2br issue and conversion
bastien
From: Alex Major <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>,
Subject: Re: [PHP-DB] Formatting a form box
Date: Thu, 12 Jan 2006 19:42:33 +
Thanks for the suggestions, the nl2br has been a common suggestio
x27;])) {
>
> echo nl2br($_POST['testarea']);
>
> }
> ?>
>
> Look at the source code after you submit if you have any doubts/questions.
>
> -TG
>
> = = = Original message = = =
>
> use the nl2br() function to convert the newlines to
>
t; or any other HTML tag that best suits your need!!
This is just one solution, but I'm pretty sure there others!!
Mike Guirao
-Original Message-
From: Alex Major [mailto:[EMAIL PROTECTED]
Sent: Jueves, 12 de Enero de 2006 10:33 a.m.
To: php-db@lists.php.net
Subject: [PHP-DB] Formatt
have any doubts/questions.
-TG
= = = Original message = = =
use the nl2br() function to convert the newlines to
bastien
>From: Alex Major <[EMAIL PROTECTED]>
>To:
>Subject: [PHP-DB] Formatting a form box
>Date: Thu, 12 Jan 2006 16:33:01 +
>
>Hi there,
>On one o
tag that best suits your need!!
This is just one solution, but I'm pretty sure there others!!
Mike Guirao
-Original Message-
From: Alex Major [mailto:[EMAIL PROTECTED]
Sent: Jueves, 12 de Enero de 2006 10:33 a.m.
To: php-db@lists.php.net
Subject: [PHP-DB] Formatting a form box
Hi
use the nl2br() function to convert the newlines to
bastien
From: Alex Major <[EMAIL PROTECTED]>
To:
Subject: [PHP-DB] Formatting a form box
Date: Thu, 12 Jan 2006 16:33:01 +
Hi there,
On one of my forms, there is a section where users can put images etc..and
then it is displayed
Hi there,
On one of my forms, there is a section where users can put images etc..and
then it is displayed on my php pages. My question is how do I make it so
that the html formatting is automatically done. For example when someone is
typing something, and wants to start a new paragraph although th
farily straight forward to withinn the query itself, check out
http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html
or for php
http://uk.php.net/date
RTFM
Regards
Adrian
Eternity Records Webmaster wrote:
I need to figure out how to format the date format: year-month-day
(200
I need to figure out how to format the date format: year-month-day
(2005-12-06). It is a date(8) field in a mysql table that i pulled out of
the table with php 5.0.5. I need it in the format: Tue December 6, 2005 (or
in mysql's formatting: 6-12-2005). I am using the reformatting for display
only. S
Thanks. That works perfectly.
David Smith
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 3:36 PM
To: David Smith; php-db
Subject: Re: [PHP-DB] Formatting numbers
> I am a little new to PHP, but I am trying to pull numbers fro
> I am a little new to PHP, but I am trying to pull numbers from a database
> that has both phone numbers and social security numbers for a client. My
> Client doesn't want the numbers to come out like 55 but (555)
> 555-. My question is can I use format_number() to do this and if so
h
BlankHi,
I am a little new to PHP, but I am trying to pull numbers from a database
that has both phone numbers and social security numbers for a client. My
Client doesn't want the numbers to come out like 55 but (555)
555-. My question is can I use format_number() to do this and if so
Rick,
Please give more information about your problem. Are you trying to
format a timestamp field in a MySQL table?
If yes, you can do something like,
SELECT DATE_FORMAT( columnname, '%m-%d-%y : %T-%i' );
Hope this helps...
Gurhan
On Sat, 2003-05-31 at 01:38, Rick Dahl wrote:
> I want to print
*This message was transferred with a trial version of CommuniGate(tm) Pro*
Rick,
You can use date() in the following fashion..
$timeStamp = time();
date('m-d-y : h-m', $timeStamp);
where $timestamp is a unix epoch timestamp.
Hope this helps!
Rolf Brusletto
http://www.phpexamples.net
Rick Dahl wr
I want to print out a timestamp of length 14. I want to have it formatted
like:
mm-dd-yy : hh-mm
I have looked but all I can find is how to format a date and I don't want
that. I want the time also.
Rick
"Don't burn the day...away" ~ DJM
__
ml");
}
Matt
- Original Message -
From: Lisi <[EMAIL PROTECTED]>
To: PHP-DB <[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 3:55 AM
Subject: [PHP-DB] Formatting txt from a database
> I am retrieving text stored in a database, and I want to strip out any
HTML
>
Lisi,
To save reinventing the wheel would strip_tags() be any use to you? (see
manual)
=dn
> I am retrieving text stored in a database, and I want to strip out any
HTML
> tags and then only display the first 30 characters with "..." to show the
> user that there is more text to view.
>
> My probl
I am retrieving text stored in a database, and I want to strip out any HTML
tags and then only display the first 30 characters with "..." to show the
user that there is more text to view.
My problem is with stripping out HTML tags, the code is stripping out the
text enclosed within the HTML tag
What are you trying to link to?
Most likely you need to pass a few variables in the
URL
This should give you an idea:
echo "$column_value";
olinux
--- "Franden, Craig" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I am using a small php script to return records from
> an oracle8.1.6
> database. I wou
Hi,
I am using a small php script to return records from an oracle8.1.6
database. I would like to have one of the columns contents display the data
as a hyperlink and I am not quite sure how to do it. Here is the code that
returns the data (which is correct). The table formatting is the issue. A
Further, I recommend replacing your echos with the following:
echo "Type Of Car: "".
$myrow['car_type']."\n";
echo "Model Of Car: ".
$myrow['car_model']."\n";
echo "Year Of Car: ".
$myrow['car_year']."\n";
echo "Price Of Car: $".
$myrow['car_price'."\n";
echo "VIN Of Car: ".
$myrow['car_vin']
tems
-Original Message-
From: Artur Correia [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 02, 2001 11:37 AM
To: Jesse S. Williams
Subject: Re: [PHP-DB] Formatting Strings in MySQL
Hey,
Thanks in advance for your trouble replying this.
I havent tried it out yet - nor will I untill August
Administrator
DowNET VoIP Team
Electronic Data Systems
-Original Message-
From: Artur Correia [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 30, 2001 12:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Formatting Strings in MySQL
Hey
How can I get a string (or number) from mySQL like &q
Hey
How can I get a string (or number) from mySQL like "123123123" to
display "123 123 123"??
Tks
I'm kinda rookie
Artur
--
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 administr
40 matches
Mail list logo