On Tue, 26 Aug 2003 12:39:53 -0500, you wrote:
td align=center valign=top class=red
a class=sold onMouseOver=self.status='SOLD TO ?php echo $alias; ?';
return true; onMouseOut=self.status=' '; return true;?php print
$row[0]; ?
/td
Missing /a
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000
untested, but should work
Deadsam wrote:
Hi Im making a chatroom using flash and php, the one problem Im having is
deleting rows.
What I'm looking for is when they click on the button to send the message
into php--mySql it will also
Actualy, it will not. LIMIT can have only one argument with DELETE.
This will ($count is the number of rows you need to get in a previous
query):
DELETE FROM table ORDER BY timestamp ASC LIMIT $count-40
Marek Kilimajer wrote:
DELETE FROM table ORDER BY timestamp DESC LIMIT 40, 1000
Hi, all!
I have a working database at:
http://dakotacom.net/~glomc/forms/CAT.html
It does send info to the database, but only shows [ at the upper left of screen
when it is supposed to print to screen.
Could somebody help me find what is wrong in my .php file? Thanks,
Gloria
--
PHP
Hi Im making a chatroom using flash and php, the one problem Im having is
deleting rows.
What I'm looking for is when they click on the button to send the message
into php--mySql it will also
check to see how many rows are in that table and if they are greater then
40, then to delete the rows
Hey All-
If anyone has some experience getting GD setup on RH9, I could really
use some. Please email me off list if you are willing to answer a few
questions. Thanks!
Matt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
How would I strip the cookies from a web page, and send cookies?
More
* Thus wrote Dan Anderson ([EMAIL PROTECTED]):
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
How would I
At 2003-08-18 16:17 -0400, Dan Anderson wrote:
I need to grab cookies from a web page and pass those cookies back to
the web page when needed. I downloaded the cURL program and was playing
with it, but don't understand how cURL functions correlate into the PHP
equivalents.
I don't know cURL, but
* Thus wrote anders thoresson ([EMAIL PROTECTED]):
set_lock($table_name, $row_id), check_lock($table_name, $row_id) and
release_lock($table_name, $row_id). Whenever an editor opens some content
for editing, check_lock() will be called to se if table_lock contains a row
with the same
What happens when the user doesn't finish editing or the browser
simply crashes on him?
Well. Didn't think of that.
So how can I avoid that two editors loads the same record for editing at
the same time, while still making all records available for regular
visitors to read?
--
anders thoresson
Hi,
For an application that I'm working on, I wan't users to be able to show
content even while an editor/administrator makes changes in one of my
database's tables. But if another editor tries to load the same content for
editing, he/she shouldn't be able to do this.
I've been reading up on
need to know which scripts I can get free or at low cost to create a hosting site and
to make an e-mail site. The e-mail site need two features one is for free accounts and
one is for paid accounts like yahoo.com. But there is one catch yahoo dosn't give as
much space as I will for free I will
check out sourceforget.net, lots of web applications on there for hosting
management, and i believe there's a few email applications.
- Original Message -
From: dan montgomery [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 12:55 PM
Subject: [PHP] need help
need
I think you need to make a second index that just consists of the one
column
ALTER TABLE biblio ADD FULLTEXT (title)
if you want to search on just that one column.
---John Holmes...
Exactly!
If you want to do a fultext search on a single column you must have a
fulltext index on that
hi, i'm trying to select * through 3 tables - is the following syntax correct?
$sql=(SELECT * FROM mjp_cc);
$sql=UNION;
$sql=(SELECT * FROM imc_cc);
$sql=UNION;
$sql=(SELECT * FROM pmp_cc);
$sql.= ORDER BY savedccactivity DESC;
i basically just want to spit out the contents of these tables...
Hi
I have a table which contains 3 fields (ID, Title, Abstract) the title and abstract
fields have been fulltext indexes like this:
ALTER TABLE biblio ADD FULLTEXT (title,abstract);
that worked fine, however my problem is whenever I want to do a select statement only
comparing 1 of the
, 2003 12:09 PM
Subject: [PHP] need help with MySQL full text searching
Hi
I have a table which contains 3 fields (ID, Title, Abstract) the title and
abstract fields have been fulltext indexes like this:
ALTER TABLE biblio ADD FULLTEXT (title,abstract);
that worked fine, however my problem
hi, i'm trying to select * through 3 tables - is the following syntax
correct?
$sql=(SELECT * FROM mjp_cc);
$sql=UNION;
$sql=(SELECT * FROM imc_cc);
$sql=UNION;
$sql=(SELECT * FROM pmp_cc);
$sql.= ORDER BY savedccactivity DESC;
i basically just want to spit out the contents of these
Hi
I need your help.
Can you please visit a site
http://sspsoft.com/test/ip2ll.php (in case if you cannot get it, please
click on http://ns1.webhostdns.us and then click on the website link.)
which should identify your Country, State, City. Please click on one of the
buttons to provide
Hello,
This is a reply to an e-mail that you wrote on Thu, 17 Jul 2003 at 02:02, lines
prefixed by '' were originally written by you.
I need your help.
Can you please visit a site
http://sspsoft.com/test/ip2ll.php (in case if you cannot get it,
please
click on http://ns1.webhostdns.us and
PROTECTED]
Sent: 1. júlí 2003 02:33
To: [EMAIL PROTECTED]
Subject: [PHP] need help w/ sql query - update and select at once
hi i'm trying to get this sql query to work, i'm trying to update and
select at the same time, i'm not even sure if this is even possible
update db.tablename set field1='yes
-Original Message-
From: Andrew McCombe [mailto:[EMAIL PROTECTED]
Sent: 1. júlí 2003 23:33
To: [EMAIL PROTECTED]
Subject: Re: [PHP] need help w/ sql query - update and select at once
Theoretically, you should be able to do a multi-table update since
MYSQL
3.23, like this:
UPDATE
hi i'm trying to get this sql query to work, i'm trying to update and
select at the same time, i'm not even sure if this is even possible
update db.tablename set field1='yes' where (select * from
db.tablename,db.tablename2 where db.tablename.userid=db.tablename2.userid);
basically i have a
Hi,
I'm working of a PHP-MySQL-planning system for a newspaper. I want to add
dates and number for each issue. I have to following code, where
$current_date is a unix timestamp.
If $current_date is a Saturday or Sunday, I want to quit the current
execution of the loop and contiune with the
Anders,
Are you missing a '|' in the if condition?
Michael Egan
-Original Message-
From: anders thoresson [mailto:[EMAIL PROTECTED]
Sent: 26 June 2003 12:01
To: [EMAIL PROTECTED]
Subject: [PHP] need help breaking out of loop.[Scanned]
Hi,
I'm working of a PHP-MySQL-planning system
Of anders thoresson
Sent: Thursday, June 26, 2003 4:31 PM
To: [EMAIL PROTECTED]
Subject: [PHP] need help breaking out of loop.
Hi,
I'm working of a PHP-MySQL-planning system for a newspaper. I want to add
dates and number for each issue. I have to following code, where
$current_date is a unix timestamp
On Thu, 26 Jun 2003 13:00:45 +0200, you wrote:
What am I missing?
At first glance
while ($i = $number_of_days)
{
$issue_date = strftime(%Y-%m-%d, $current_date);
$issue_month = date(m, $current_date);
$issue_day = date(d, $current_date);
Hello friend, the problem is the escape sequence, tray this escape
sequence: \
Solution of the problem:
?
$data = \message\;
echo $data;
?
bye, Orlando.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Gabor Hojtsy [EMAIL PROTECTED]
To: Shien Hang Low [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: need help on coding
Date: Sun, 15 Jun 2003 12:26:53 +0200
Please ask support questions at [EMAIL PROTECTED]
Goba
Shien Hang Low :
hi there,
i am very sorry, previously i have send you
?php $data = "" ?htmlbody"?php echo ("$data"); ?"/body/html
If you want the out put "message". You can just simply put the " before and after the php code. Try this code.
good luckNote: forwarded message attached.
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!---BeginMessage---
ok heres the scenerio:
php.ini:
[Java]
java.class.path = C:\apache\php\JAVA\php_java.jar;c:\apache\htdocs\ktest\;.
java.home = C:\j2sdk1.4.1_01\bin\
java.library = C:\j2sdk1.4.1_01\jre\bin\server\jvm.dll
java.library.path = C:\apache\php\extensions\;C:\apache\php\;.\
the PHP source code:
?
hi all
i'm having trouble with the this page. not sure if i'm approaching
the problem the right way. i'm basically passing search criteria to
a page. i'm using the search criteria to construct a sql query
dynamically. i'm using the sql query in a while loop that cycles
through the db and
Hi, again!
I did not see my question as yet so I will repost it.
I have had help writing HTML code to display the results of my PHP-- McSQL actions.
But when I attempt to show the DATE and q40 (comments) with the HTML code below,
all I see on screen is: ]in the upper left
On Fri, 2003-06-06 at 14:32, Gloria L. McMillan wrote:
Hi, again!
I did not see my question as yet so I will repost it.
I have had help writing HTML code to display the results of my PHP-- McSQL actions.
But when I attempt to show the DATE and q40 (comments) with the HTML code below,
On Fri, 2003-06-06 at 18:45, Lars Torben Wilson wrote:
[snip]
while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {
echo
trtd{$row['time_stamp']}/tdtd{$row['heading']}/td/tr\n;
}
Whoops...replace 'time_stamp' with 'added' and 'heading' with 'q40',
of course. :)
Sorry,
Torben
I need to compare dates which opens commenting system.
For example: If show starts 2003.05.01 20:00 then I need that only from
that date and time the commenting system apears on my site ant would
be there all the time from the start of the show. But in my code the
commenting system opens only for
Sorry for mistakes. It should be:
...
if ($year_now = $year_show $month_now = $month_show $day_now
= $day_show $hour_now == $hour_show $minute_now = $minute_show) {
COMMENTING SYSTEM OPENED
{
else { COMMENTING SYSTEM CLOSED }
...
--
PHP General Mailing List (http://www.php.net/)
I need a lot of help trying to get HTML 2pdf to work. If anyone here has
done it before, please drop me a line and help me out. I have some
questions about capability and I simply can't seem to get it working.
Thanks.
- Anthony
--
PHP General Mailing List (http://www.php.net/)
To
I have a subscription service and am trying to not allow the buyer to
proceed purchasing another subscription if one of their subscriptions
is
over 29 days past due in their payment. I am trying to query each
invoice
and checking to see if it is past due more than 29 days, if it is I
want a
I have a subscription service and am trying to not allow the buyer to
proceed purchasing another subscription if one of their subscriptions is
over 29 days past due in their payment. I am trying to query each invoice
and checking to see if it is past due more than 29 days, if it is I want a
Greetings.
I'm out of my league here, not knowing enough about regular expressions yet
to do this, so I desperately need someone's help ...
I need to parse form input to eliminate unwanted characters (punctuation,
mostly) ... for instance, if the web site visitor types smith,susan--33
into the
Space at the beginning or end of a string can be removed with trim().
In order for someone to write you a regexp, you need to change your question
to the following:
I need to ensure a string only has the following characters in it:
A-Z
a-z
0-9
Can someone please help me write a regexp which
How about:
preg_match_all ('/([a-zA-Z0-9]+)/', $subject, $matches);
HTH,
Jason k Larson
Justin French wrote:
Unfortunately, I'm no good with regexp's, so you'll have to hope someone who
IS reads your post :)
Justin French
on 12/03/03 5:14 AM, Kenn Murrah ([EMAIL PROTECTED]) wrote:
Greetings.
Hello everyone,
I've installed the Apache v2.0.44 with PHP4.3.1., under Windows.
My pages starting and ending with ?? don't work anymore. I would
have to change them to ?php...php?.
Do you know if there is a way for keeping ? running?
Thanks for your help.
On Wed, 5 Mar 2003, LeTortorec, Jean-Louis wrote:
My pages starting and ending with ?? don't work anymore. I would
have to change them to ?php...php?.
Do you know if there is a way for keeping ? running?
I think you might try:
ini_set(short_open_tag, 1);
Or edit your php.ini and set it
I've installed the Apache v2.0.44 with PHP4.3.1., under Windows.
My pages starting and ending with ?? don't work anymore. I would
have to change them to ?php...php?.
php? is not valid. It's ?php ... ? or ? ... ?
Do you know if there is a way for keeping ? running?
enable short_tag in
Jonathan [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
all the suggestions didn't work though, could it be as what chris said, my
IE doesn't support php?
PHP is server-side. IE has no issues whatsoever with loading HTML generated
from PHP. The PHP constructs are dealt with on the
I think the problem is your php.ini setting
the global_variable,
by default, it is off,coz more secure,so if you want to access the variable,
you need $_POST[variable] or $_GET[variable], also, $_env[HTTP_GET_VARIABLE]
or $_env[HTTP_POST_VARIABLE]
check out the manual on the web
--
Sincerely
Try naming the file with a .php extension. It is also possible your server
does not support php.
Good luck,
Chris
From: Jonathan [EMAIL PROTECTED]
Reply-To: Jonathan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] new to php, need help..
Date: Thu, 20 Feb 2003 01:34:12 -0600
hi all
Just a hunch:
? echo $subject[0]; ?
Try using ?php instead, as in:
?php echo $subject[0]; ?
Do you have a URL to show us what your page does and doesn't do?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks for helping guys :)
sorry i don't have a url that i can upload my files too.. all i can show is
my code.. :(
the original code that i got from is from :
http://www.linuxguruz.org/z.php?id=33
example 5:
examples 1-4 seems to work, but other examples with this line doesn't,
input
hi all, i've only begun learning php around 1 week ago, i'm having trouble
with this code,
html
head
titleUntitled Document/title
meta http-equiv=Content-Type content=text/html; charset=iso-8859-1
/head
body
?
if (isset($subject)) { echo $subject[0]br /;
echo $subject[1]p /; }
else { $subject[0]
Hello everyone!
I'm having trouble accessing the argument list from a php script,
from the command line.
I'm calling the script as
./myscript.php argument1 argument2
myscript.php contains
#!/usr/local/php -q
?php
echo Total aguments passed: $argc\n;
echo Argument 1: $argv[0] \n argument2:
Hello friends.
Sorry I sent the wrong code in my last mail. Here is my correct code.
I want the output of my query to be formatted such that after every 7th output, the
8th one should start on a new row in the table. I have written the following code but
does not work. Can someone please help?
- Original Message -
From: Denis L. Menezes [EMAIL PROTECTED]
Sent: Wednesday, February 12, 2003 9:43 AM
Subject: [PHP] need help with a table please - sorry
Sorry I sent the wrong code in my last mail. Here is my correct code.
I want the output of my query to be formatted
At 15:43 12-2-03, you wrote:
Hello friends.
Sorry I sent the wrong code in my last mail. Here is my correct code.
I want the output of my query to be formatted such that after every 7th
output, the 8th one should start on a new row in the table. I have written
the following code but does not
woops i did not finish that line:
If you imagine to walk through your code, with every step $i increases. If
you start the second row,
then the counter is at 8 and will never be 7 again.
And some bad english:
Besides, your second print 'tr' for every cell, which will break your
table,
I have a form and I want the user to be able to enter html in a text area.
This will then be stored in an array in a config file. Example
$htmlstuff[1] = 'script type=text/javascriptsome stuff here/script';
When they visit the form again it will display as they entered it and they
can modify it
Hi
I have to alter this code:
?php
$fp = fopen ('http://www.whatever.ee/', 'r');
for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024));
fclose ($fp);
if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches))
echo'Match: b'.$matches[1].'/b';
else
echo'No match !';
At 17:21 8-2-2003, you wrote:
Hi
I have to alter this code:
?php
$fp = fopen ('http://www.whatever.ee/', 'r');
for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024));
fclose ($fp);
if (preg_match ('/\font color=black\([^]*)\\/font/i', $src, $matches))
echo'Match: b'.$matches[1].'/b';
Thank You very much!
It Really works the way I want it to. But i still have a slight problem. The
script cant read the data if it is on several rows. For example:
table
font color=black
trtext/tr
/font
/table
Is there a way to fix this problem?
Thank You!
Chris Hayes [EMAIL PROTECTED]
Thank You very much!
It Really works the way I want it to. But i still have a slight
problem.
The
script cant read the data if it is on several rows. For example:
table
font color=black
trtext/tr
/font
/table
Is there a way to fix this problem?
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource in /home/epcc/public_html/exoops/class/database/mysql.php on line
134
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result
resource
-Original Message-
From: thkiat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Need help.
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row(): supplied argument
can you post some code?
-Original Message-
From: thkiat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 10:23 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP] Need help.
Can someone tell me what should I do to solve this problem?
Warning: mysql_fetch_row
I SETUP THE PHP PARSE ENGINE ON ABOUT A YEAR AGO ON ONE OF MY WEB SERVERS
AND EVERYTHING WORKED JUST FINE. I, HOWEVER, RECENTLY ACQUIRED A NEW SERVER
AND TRIED TO SETUP PHP AGAIN ON IIS 5.0 ON A WIN 2K SERVER PLATFORM.
EVERYTHING SEEMS TO BE WORKING CORRECTLY, BUT FOR SOME REASONS WHEN I TRY TO
Global Variables are turned off!!! check php.ini!!
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]
-Original Message-
From: Dale [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 23 January 2003 10:02 AM
To: [EMAIL PROTECTED]
Subject: [PHP] NEED HELP URGENTLY
To: [EMAIL PROTECTED]
Subject: [PHP] NEED HELP URGENTLY
I SETUP THE PHP PARSE ENGINE ON ABOUT A YEAR AGO ON ONE OF MY
WEB SERVERS AND EVERYTHING WORKED JUST FINE. I, HOWEVER,
RECENTLY ACQUIRED A NEW SERVER AND TRIED TO SETUP PHP AGAIN
ON IIS 5.0 ON A WIN 2K SERVER PLATFORM. EVERYTHING SEEMS
First of all, you don't need to type in all caps like that. I thought
this was the Nigerian Scam for a minute there! :-) Anyway, in PHP
4.2+, the php.ini setting register_globals is off by default. You'll
need to either turn it on, or start using the newer $_POST superglobal
array. For
]
Subject: [PHP] NEED HELP URGENTLY
I SETUP THE PHP PARSE ENGINE ON ABOUT A YEAR AGO ON ONE OF MY
WEB SERVERS AND EVERYTHING WORKED JUST FINE. I, HOWEVER,
RECENTLY ACQUIRED A NEW SERVER AND TRIED TO SETUP PHP AGAIN
ON IIS 5.0 ON A WIN 2K SERVER PLATFORM. EVERYTHING SEEMS TO
BE WORKING
Hi,
I'm using a mailer class that allows for external file attachments. I was using the
test:
if ($HTTP_POST_FILES[$val]['size']) {
Which worked fine. However, I wanted something more generic that works for POST or
GET so I wrote the following code:
$request = 'HTTP_' .
On Tuesday 07 January 2003 03:26, Don wrote:
Hi,
I'm using a mailer class that allows for external file attachments. I was
using the test:
if ($HTTP_POST_FILES[$val]['size']) {
Which worked fine. However, I wanted something more generic that works for
POST or GET
How do you mean more
Hi, I'm a newbie for PHP. Just installed IIS PHP on my PC. A test run gave me this:-
Warning: main(quote.php) [function.main]: failed to create stream: No such file or
directory in C:\Documents and Settings\aaa\My Documents\My
Webs\excelpoint.org\index.php on line 139
Warning: main()
Your include path is not setup so that the web server can find the file
you are trying to include, if the file is in a sub directory make sure
you are properly including it include_once('include/main.php') not just
include_once('main.php').
And make sure the file you are trying to include exists
You don't need to call session_start twice. And you are right, the
problem is in that line: you want to show your login screen
if both $_POST['uid'] and $_SESSION['uid'] are not set, therefor
instead of OR use AND.
Anders Thoresson wrote:
Hi again,
I'm still trying to understand sessions,
Hi again,
I'm still trying to understand sessions, and have made some progress
during the afternoon, thanks to Ernest E. Vogelsinger. I'm at the moment
trying to get a login-script up and running, but without 100 percent success.
The script is split up in two major parts: bilder.php, which
Hi :
I tried to Install Apache1.3x/PHP4.0x/Mysql on Linux
6.1 I followed exact steps described in
http://www.e-gineer.com/instructions/install-php4x-for-apache1xx-on-linux.phtml
Apache/mysql installed and tested successfully, but
when I tried to install php with mysql option it shows
that
Hi All,
I'm a PHP newbie and Im really having difficulty with client-server
certificate validation using Openssl and PHP. If somehow you know of a
tutorial, a website or sample PHP codes that checks (expired, revoked) and
validates client certificates, it would be of great help.
--- Richard Rojas [EMAIL PROTECTED] wrote:
I'm a PHP newbie and Im really having difficulty with
client-server certificate validation using Openssl and
PHP. If somehow you know of a tutorial, a website or
sample PHP codes that checks (expired, revoked) and
validates client certificates, it
Hi All:
I am trying to generate the directory path dynamically
to save the Uploaded file. when i try to concatnate
the string with\ it generate an error, Hope you guys
can help me in this
here is the code
$real_Path=realpath(../../index.php);
$real_path=$real_path.\DefaultFld\SubFld\;
Here is
Hi All:
I got php/mysql/appache on my windows machine, it
works fine
Now i have to install appache/php/mysql on Linux 6.1
red hat. I had searched the php.net for intallation
document, but it didn't have much detailed
description. I am new to Linux also, if u guys know
some URL or doc pls let me
http://www.php.net/manual/en/install.unix.php
You'll make it easier on yourself installing MySQL from the rpm's on
your RedHat CD's.
rpm -ivh mysql-xxx-.rpm
Be sure to install both the server and client of MySQL.
ppf wrote:
Hi All:
I got php/mysql/appache on my windows machine, it
On Tuesday 12 November 2002 05:57, ppf wrote:
Hi All:
I got php/mysql/appache on my windows machine, it
works fine
Now i have to install appache/php/mysql on Linux 6.1
red hat. I had searched the php.net for intallation
document, but it didn't have much detailed
description. I am new to
And here for MySQL...
http://www.mysql.com/doc/en/Linux-RPM.html
Just worry about the client and server.
John Nichel wrote:
http://www.php.net/manual/en/install.unix.php
You'll make it easier on yourself installing MySQL from the rpm's on
your RedHat CD's.
rpm -ivh mysql-xxx-.rpm
Hello,
In an attempt to override the political anger in this mailing list I will
tell you that I have already searched through documentations on how to solve
the problem I'm having, to the extent of my skills in searching.
Ok, now to the problem. I have an array submitted by a form, such as
']['name'];
$_SESSION['myarray']['price'];
$_SESSION['myarray']['desc'];
-Kevin
- Original Message -
From: @ Darwin [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:05 PM
Subject: [PHP] Need Help With SESSIONS and ARRAYS
Hello,
In an attempt to override
Oops.. sorry didn't realize I was responding to a redundent post. :)
-Kevin
- Original Message -
From: Kevin Stone [EMAIL PROTECTED]
To: @ Darwin [EMAIL PROTECTED]; Php-General
[EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 3:27 PM
Subject: Re: [PHP] Need Help With SESSIONS
Hello people
Im in need help with creating a system where it will let me
Add/drop players off a web page..basically of a roster with salary cap
control
And I want to do trades as well
This is for a fantasy football page.
And I need to have username and passwords so my owners can login and
Hi,
I need some help with a regexp for preg_split. I want the string
str = this is 'a string that' contains phrases;
to be split into:
arr[] = this;
arr[] = is;
arr[] = a string that;
arr[] = contains;
arr[] = phrases;
but I'm having some trouble coming up a good regexp that would
Hi everyone...
I've got a little problem :
I've got an html template, with javasript functions and stylesheets in many
places...
This html template is made via a big big template handler i've done...
All seems to work... But, now, I would like to clean this html page to
procude a 'readable' page
Hi People,.
I have a problem with HTTP-Authentication, i have 2 users in my
database, and i want both to be able to login. However it works, but
only the first user is able to login. I Use a MySQL 3.23.xx database,
PHP 4.2.3 and Apache 2.0.40. Can anyone help me with this, any help
would be
If you are using MySQL you may want to look at the CASE statement in the
Control flow functions for use with SELECT Statements
it would look like
SELECT
CASE A.Afn
WHEN 1 THEN B.Bfn1
WHEN 2 THEN B.Bfn2
WHEN 3 THEN B.Bfn3
FROM A,B
IN MySQL
Hope That Helps.. Phil
Alex Shi
Hi,
I need a where clause in following situation:
Say I want to query two tables: A and B. In table A there is field
Afn, while in table B there are 3 fields: Bfn1, Bfn2 and Bfn3. I want
to do a query, in which the where clause must do these things:
if A.Afn=1, then check value of B.Bfn1;
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want to be returned
from the query?
try:
SELECT ### FROM A, B WHERE
((A.Afn=1) AND (B.Bfn1 = ...)) OR
Thanks! This is what I need!
Alex Shi
Sascha Cunz [EMAIL PROTECTED] 写入消息新闻
:[EMAIL PROTECTED]
A solution on that depends strongly on how much values A.Afn would take. For
3, it's still okay. But i wouldn't do more.
Against what shall the B.Bfn* be checked? What Data do you want to be
I have a script that downloads html pages from many different sites. The
script executes as expected but is slw. I would like to replace
fopen() with fsockopen() so that I can set a time limit for the page
downloads. Here is an example of how I'm using fopen():
$OpenFile =
http://www.php.net/manual/en/function.fsockopen.php
Seems to be A LOT of useful information there? Did you check it out?
-Brad
I have a script that downloads html pages from many different sites. The
script executes as expected but is slw. I would like to replace
fopen() with
Hi,
I have a form containing a text field where the user types in a sentence. I
need to search a mysql table, specifically a text field and display a list
of found results. My criteria selections are:
1) return a record if all the words are contained in a record
2) return a record if all any
I have a form containing a text field where the user types in a
sentence.
I
need to search a mysql table, specifically a text field and display a
list
of found results. My criteria selections are:
1) return a record if all the words are contained in a record
2) return a record if all any
301 - 400 of 551 matches
Mail list logo