> " value="" >
setup your checkbox something like this:
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 1 Jul 2004 14:05:49 -0500, Shiloh Madsen
<[EMAIL PROTECTED]> wrote:
>
> Can I use explode in a conditional manner? I.E., can i have it explode on a space,
> but only if the space is not encased in double quotes?
I would use http://www.php.net/preg_split
--
PHP Database Mailing List (ht
> $first_name = $_POST['first_name'];
> $last_name = $_POST['last_name'];
> $name = $first_name . ' ' . $last_name
> $rma = ?strcnt($last_name), 1 . Datetime(?) // takes the 1st character from
> $last_name and adds datetime in format of 715041200
$rma = substr ($last_name, 0 , 1).Your.Datetime;
On Mon, 2 Aug 2004 14:31:49 -0400, Aaron Todd <[EMAIL PROTECTED]> wrote:
> So far, I have been doing ok with PHP. I feel that I have picked it up
> rather easily. But now I need some help. I am trying to use the sendmail
> functions to send data entered in a form to my email address. Currently
> I'm having a dilemma (Now that I have power back after the hurricane hit us
> directly in Orlando). Anyway, I need to export a database table to Excel, I
> can do it as a .txt file without a problem, but I can't seem to get it to
> put each column into a separate cell when I try to export as an
> I have another option that might work for you also. Go to MySQL's website
> and grab their ODBC driver and use that to pull data directly into Excel.
> That's what I do and the end result tends to be a lot cleaner than going
> through cvs or other MySQL exports.
I was not sure that this was a m
> > I have another option that might work for you also. Go to MySQL's website
> > and grab their ODBC driver and use that to pull data directly into Excel.
> > That's what I do and the end result tends to be a lot cleaner than going
> > through cvs or other MySQL exports.
>
> I was not sure that
On Thu, 19 Aug 2004 18:12:16 -0500, Norma Ramirez
<[EMAIL PROTECTED]> wrote:
> Hi all, I have a problem with a small software in Postresql, through the
> time the database become slower and slower so, quick solution: pg_dump,
> dropdb, createdb and pg_dump again but this software is becoming import
> Warning: Unknown(): Your script possibly relies on a session side-effect which
> existed until PHP 4.2.3. Please be advised that the session extension does
> not consider global variables as a source of data, unless register_globals
> is enabled. You can disable this functionality and this warnin
> I've looked around for a while, does anyone know of a PHP function
> already built in to the install that gets the Mime type of a file on
> the server?
you might try this
http://pear.php.net/package/MIME_Type/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://ww
> i want to how i can save the data retrieved from mysql through php in pdf
> format.
http://www.fpdf.org/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> if ( is_array( $_SESSION['l_industry'] ) ) {
> foreach ( $_SESSION['l_industry'] as $p ) {
> $query = "INSERT INTO Profiles_Industries (ProfileID,
> IndID)
> VALUES ($LID, $p)";
> }
do you have a } for the if statement?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
if ( is_array( $_SESSION['l_industry'] ) ) {
foreach ( $_SESSION['l_industry'] as $p ) {
$query = "INSERT INTO Profiles_Industries (ProfileID,IndID) VALUES
($LID, $p)";
} //foreach ( $_SESSION['l_industry'] as $p )
} //if ( is_array( $_SESSION['l_industry'] ) )
--
where is your insert statement? I am guessing it is after your loop
if ( is_array( $_SESSION['l_industry'] ) ) {
foreach ( $_SESSION['l_industry'] as $p ) {
$query = "INSERT INTO Profiles_Industries (ProfileID,IndID) VALUES
($LID, $p)";
/This is where y
> echo(" href='user_book_results_detail.php?book=$row[book]>$row[book] td>");
http://us4.php.net/urlencode
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Does anyone know of a good online source for using php and microsoft
> access.
> I don't want to have to use asp.
> Thank you for your time.
you could use com objects with Microsoft ADO
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Not sure if I posted about this yesterday, anyway new
> question.
> I'm building a multi page form. So I"m using hidden
> fields and echoing them to the next page in the loop.
>
> Now someone tells me this is dangerous.
> "because someone can save the final page (with most
> of the hidden value
> where can I find a working example that shows me how to implement PHPSESSION
> with MySQL as stor?
i know adodb has session functions, download it a nd take a look
maybe here http://www.devarticles.com/c/a/MySQL/Developing-Custom-PHP-Sessions/
also try google.
--
PHP Database Mailing List (ht
> Warning: session_start(): Cannot send session cookie -
> headers already sent by (output started at
> /home/lurkkcom/public_html/Multi2Return.php:2) in
> /home/lurkkcom/public_html/Multi2Return.php on line 3
read a little more about sessions.
session_start is trying to set a cookie but output h
> Is it possible to have two sessions for the same user in php? If yes, how
> can I implement this?
>
> I am currently using one without problem. However, when I try to create a
> second session, the first one is lost.
could you post some code. I am not sure I follow what you are doing.
--
PHP
> How can I send a SID (SessionID) in a security way from one page to another?
> Is it "security" to do this?
not sure what exactly you want. You could just use cookies, dont
allow it to be in form fields or query strings.
you could use ssl.
--
PHP Database Mailing List (http://www.php.net/)
T
> //
> mysql_connect (localhost, foouser, foologin);
>
> mysql_select_db (footest1);
>
> $csvfile = file("http://foo.com/foolist.csv";);
>
> foreach($csvfile as $line_no => $datastring) {
> $data = explode (",", $datastring);
> $foo1 = $data[0];
> $foo2 = $data[1];
>
> > $csvfile = file("http://foo.com/foolist.csv";);
and this
fopen("http://foo.com/foolist.csv";, "r");
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> $_GET['simplevariable'] but am not having much luck with anything like:
>
> $_GET["arrayvariable$a"] (1-dimensional array) or
> $_GET["arrayvariable$a$b"] (2-dimensional array)
>
> (I've tried several other odd syntaxes such as
> $_GET["arrayvariable[$a][$b]"]. Also it's not an \" situation.)
> and am trying to use it in this links3.php
>
> include('functions.php') or die (mysql_error());
> ?>
>
> but I keep getting the error message
> *Warning*: main(1): failed to open stream: No such file or directory in
> *C:\Accounts\dbadream\wwwRoot\links3.php* on line *4*
> *Warning*: main(): F
> if ($_POST['op'] != 'ds') {
> $display_block = "
>
> Your E-mail Address:
>
>subscribe
>unsubscribe
>
>
> ";
> }
try:
if (isset($_POST['op']) && $_POST['op'] != 'ds')
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.
On Tue, 22 Feb 2005 10:47:43 -0600, Matt M. <[EMAIL PROTECTED]> wrote:
> > if ($_POST['op'] != 'ds') {
> > $display_block = "
> >
> > Your E-mail Address:
> >
> >subscribe
> >unsubscribe
> >
> Hello
>
> I need to dev a small app and I can think of a couple different ways to
> handle it but not sure the best way. I need to register those who come to
> our site that want to download .pdf's. They will fill out some information
> before I redirect to the pdf.
>
> I'm thinking the bes
28 matches
Mail list logo