Don't forget some London postcodes are Q1Q QQQ!
Peter.
On Wed, 2 Apr 2003, skate wrote:
sorry, don't have anything to add for code, but just a note to remember that UK post
codes can also be in the form...
QQ11 1QQ
Q1 1QQ
Q11 1QQ
QQ1 1QQ
so it's a real pain to write an expression
passing variables to a php file, I don't have to include the .php in the link...so i can have
http://www.my-domain.com/page1?var1=3var2=4
instead of
http://www.my-domain.com/page1.php?var1=3var2=4
Anybody know how i can make this work? THanks
Teren
--
Peter Houchin
Sun Rentals STR Manager
foolish. The real little extra
time you might need to use a template system is richly rewarded in
code re-use and future changes to the site not to mention, imho,
thinking better about what one is doing.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
=32DI=1059
--
Peter Houchin
Sun Rentals STR Manager
Phone: 03 9869 6452
Fax: 03 9866 2511
Mobile:0438 789 220
[EMAIL PROTECTED]
http://www.sunrentals.com.au/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Beauford, Jason,
Build a bridge and get over it already sheeesh
TYVMIA
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Kalin Mintchev wrote:
here is a real example:
$fp = fopen (http://store.el.net/index.html;, r);
while (!feof($fp)) {
echo fgets ($fp,4096);
}
this works fine...
if you try it with https you'll get an error - file not found from php
I've just tried with https and it works fine. Are you
Dude have a look on the web 1000's of examples/tutorials there and also
in it's documentation. The PHP mailing list is NOT the place to be
asking this as setting/learning how to use OpenSSL aint related to PHP.
Cheers
Peter
Suhas Pharkute wrote:
Can anyone give me a basic tutorial for
Secure
yes there is java script
Dan wrote:
On Thu, 27 Mar 2003 12:32:06 -0800 (PST), [EMAIL PROTECTED] (Manuel
Ochoa) wrote:
Is there any way of using php to launch a new browser without the IE toolbars?
No. PHP is server side, not client side.
--
Peter Houchin
Sun Rentals STR Manager
Phone: 03
i.e. every time i started a new session I got a unique string, while the
string remained the sme within the same session.
How is this string derived?
Regards
Peter Goggin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of the session. How do I identify shopping baskets belonging to different
concurrent users? Should I include the session Id in the record, use
cookies or what?
Is the php session Id a unique ID ?
Regards
Peter Goggin
- Original Message -
From: -{ Rene Brehmer }- [EMAIL PROTECTED]
To: Peter Goggin
in parallel. so that the user can choose
either method. i.e. choose to register as a customer, or use the default id
(perhaps via the cookie) and enter customer information at the time of
placing the order?
Any advice on the best way of doing this would be greatly appreciated.
Regards
Peter Goggin
Jens Lehmann wrote:
James wrote:
LWP is a perl thing. Curl is probably the best thing to use.
Have you tried using googles php api which they provide free?
http://www.google.com/apis/
I had a look at the API, but I'm not sure if it's appropriate and easy
to use with PHP. It's still beta and
other than 80)
PHP 4.3.1
I noticed older posts (PHP Bugs: #9232, etc.) about this problem, but can't find a
resolution.
Any help would be greatly appreciated.
* Peter Goldenberg [mailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
You can do this in your PHP code by itself, no need to use Apache.
Search for search engine safe or search engine friendly.
Fusebox.org has some default code that does this (follow the links for PHP
fusebox).
HTH,
Peter Janett
New Media One Web Services
New
the statement updated!!! printed, but I cannot see anything
wrong with my syntax. Any help would be appreciated.
Peter Gumbrell
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could someone tell me why this code prompts a parse error. I have tried it
several different way. The statement is called from within a function:
print form method=\POST\ name=\update_workshop\
action=\$_SERVER['PHP_SELF']\\n;
Many thanks
Peter
--
PHP General Mailing List (http
) or die(display_db_query: .
mysql_error());
}
}
Many thanks
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Nick,
md5 is a hashing function, not an encryption function. You need anti-replay
if you want the password transfer to be secure
On Tue, 18 Feb 2003, Clarkson, Nick wrote:
Would this pass both variables in clear text back to the server ? If so
would it be better to do this;
[cut]
Would
Linux, Apache (Stronghold 3.x), and MySQL 3.23.52
Any help or hints most appreciated.
Thanks,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2
/function.fopen.php
HTH,
Peter Janett
New Media One Web Services
http://www.newmediaone.net
[EMAIL PROTECTED]
(303)828-9882
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Pax [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, February 17, 2003 5:40 PM
Subject: Re: [PHP
Could someone please tell me why this code is not working:
ereg ('^[A-H]*([0-9]+)-$', $rank, $matches);
$workshop_ID = $matches[1][2};
where $rank is something like C12-1 and I just need the C12 part.
Many thanks
Peter Gumbrell
[EMAIL PROTECTED]
--
PHP General Mailing List (http
with scope here. I made the
$option_block variable global but it still won't print. I have tested that
the $column field is being populated and it is, so I believe that it must be
the $option_block part that isn't working. Does anyone have any suggestions?
Peter Gumbrell
[EMAIL PROTECTED]
--
PHP General
Exactly where does $option_block get put into $string?
-Kevin
- Original Message -
From: Peter Gumbrell [EMAIL PROTECTED]
To: Php-General [EMAIL PROTECTED]
Sent: Friday, February 14, 2003 4:11 PM
Subject: [PHP] function problem
I have a function below which populates a select list, based
. Then, make sure your site NEVER loads without the www. (or something
dot domain).
Kind of a pain, but since newer browsers aren't sticking to that original
spec (not sure I.E. ever did), the issue is going away with time.
HTH,
Peter Janett
New Media One Web Services
'vendor' but none of them work.
Thanks
Peter Gumbrell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
be called from anywhere in your web tree, so paths like
../images/img.gif won't work if a 404 is thrown in
/directory/subdirectory/nothersubdirectory
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0
with the code for this.
Many thanks,
Peter Gumbrell
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks for the suggestion, John. When I implement your code, however, I get
an error saying
Warning: Invalid argument supplied for foreach() in
home/student/peter/public_html/week4.php on line 153
where line 153 is
foreach($strandx[$subject] as $strandy )
This is the code as I have it now
and
Probability'));
Peter Gumbrell
[EMAIL PROTECTED]
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 02, 2003 2:50 PM
To: 'Peter Gumbrell'; [EMAIL PROTECTED]
Subject: RE: [PHP] selecting from an array based on form content
Where do you define
?
Many thanks
Peter Gumbrell
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
Peter Gumbrell
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello everybody,
I was wondering if someone can tell me how do I XOR a given string with
some hash .. like MD5 hash or something. I know how to do this in C - it's
more than easy but with PHP I can't find a way at all.
Thank you all in advance.
Regards,
Peter
--
PHP General Mailing
the timestamps
using stat() function.
Regards,
Peter
Carlos Fernando Scheidecker Antunes [EMAIL PROTECTED] wrote in
message 003301c2c4df$d3fa42e0$9d505ad1@Nando0">news:003301c2c4df$d3fa42e0$9d505ad1@Nando0...
I would like to write a function to check if the contents of a directory,
its files, h
that Evan pointed out
(unless you're not in a shred environment, or are running PHP as cgi with
Apache SuExe.), but those issues are for anything you do in PHP.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold
files, but I'm guessing that having the results cached in memory would be
faster than in files.
I think maybe the file caching was part of a database abstraction layer.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts
a-b store in
this folder c-d to in this and so on... Would it be stupid to store a 1 10mb mpegs
in one database?
Any suggestions?
/peter a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Files in web folders should usually be 755
/peter a
At 2003-01-23 11:15, Marco Alting wrote:
Hi, I have a php script which uploads file to a webserver. The idea is that
anyone can upload files, but only another php script can read the files. At
this moment I think someone is deleting file
on my
Linux system (using a user on my system) produced:
drwxrwxrwx2 leagas root 4096 Jan 23 16:43 test
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not using an else there is causing your problem. Using
the exit as above should work, but is not a very good practice. Using the
else will allow the rest of the script to run, which might be nice, or
necessary.
If you have a lot of if statements consider using the case/switch construct.
-Peter
terms you
want on code that relies on them.
Good Luck! And seriously, talk to a lawyer.
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
There are some pages on this subject to be found on the GPL site.
Perhaps you mean the GNU site?
If all else fails you could sell your hours to get the code working, and
give the code for free, if needed under a distribution limitation or
encoded.
Now you're talking ;-)
-Peter
--
PHP General
John Wells said:
However - if you want to sell software under a closed licence you will
need to be carefull to avoid 'linking' with gpl'd code.
The problem is that 'linking' as used in the gpl seems to refer to C
programming - and is an unclear term when refering to php.
I know I read this
John Wells said:
Peter Hutnick said:
Yeah...that's really what I'm wondering. If I have my own code, but
make function calls and the like to script libraries licensed under
the GPL, does it mean my code will have to be GPL'd as well?
In a word, yes.
Even if the script libraries
of MD5 is not encrypted, it is a digest.
That, BTW, is what the D stands for.
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Larry Brown said:
equates an object to a function
You'd be better off trying to equate an object to a data type.
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
member functions of an object to be easily testable black-boxes.
Good luck!
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
either by just a
refresh or what eva.. and I can't just use meta refreash as it's only on
this instance that the page needs to be refreashed ..
TIA
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ahh shoot!!!
forgot to add the values of the form once submitted go to another page
before it's ment to go back to the parent page..
-Original Message-
From: Timothy Hitchens (HiTCHO) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 11:18 AM
To: 'Peter Houchin'; 'php gen
I'm trying to figure out if there is an easy way to measure how long my
queries in PHP/MySQL are taking to execute.
Any tips or code examples most appreciated.
Thanks,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts
VirtualHost in apache's httpd.conf
php_admin_value open_basedir /path/to/accessable/files
Peter Clarke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sessions themselves use cookies, though, right? So, if you want your app to
work for those who don't have cookies, you have to pass the session data in
the url string, at least that's my understanding.
Peter Janett
New Media One Web Services
New Upgrades Are Now
comments as gospel.
References will help me take comments to heart.
It will be easier on me if you send or CC comments to [EMAIL PROTECTED]
Thanks a million!
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strings as input. I think I will remove the parentheses, though.
-Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
;, but that
doesn't make a difference.
Is there some whole different way of thinking I should be engaged in?
Is there some way to make PHP add an int to the ASCII value of a single
character string (since there seems to be no char type)?
Thanks,
Peter
--
PHP General Mailing List (http://www.php.net
that doesn't exist, in order to break the DSN lock.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22
, clean and fast
email address syntax check.
So, what is your favorite bit of code to do that?
Thanks,
Peter Janett
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
check out php nuke or post nuke
-Original Message-
From: Kelvin Poon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 8 January 2003 4:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Need a suggestion on developing a php-related system
HI, I am new to PHP and I am just wondering if anyone
: [PHP] Need a suggestion on developing a php-related system
THanks a lot Peter, would you mind explaining what is PHP nuke?
From: Peter Houchin [EMAIL PROTECTED]
To: Kelvin Poon [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: RE: [PHP] Need a suggestion on developing a php-related system
richard check your php.ini the mail stuff in there .. it's most likely
using the address either there or ur web server config file
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 7 January 2003 10:49 AM
To: PHP General
Subject: [PHP] PHP sendmail
yep look at sites like phpbeginner.com, phpwizard.com,zend.com,
phpbuilder.com and browse ya way thru the tutorials there are plently of
sites out there such as the ones mentioned that will give you a great
helping hand :)
-Original Message-
From: Ezequiel Sapoznik [mailto:[EMAIL
so put it in a if or switch statement
eg
if ($var){
myfunction();
}
else {
sumotherfunction();
}
etc
-Original Message-
From: Shawn McKenzie [mailto:[EMAIL PROTECTED]]
Sent: Friday, 3 January 2003 12:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Code contents of a function
I
by the combination
of https and php session. Is there a solution?
Thanks in advance.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi everyone,
I have a nubmer: 4.1 but I only want the whole number 4, even if it's
4.9, so this rules out using round (Unless I missed a parameter).
How could I do this.. I'm drawing a blank...
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have a form with several date fields. I want to be able to set these by
selecting from a calendar display. Does anyone know of any php function or
code which would let me do this?
Regards
Peter Goggin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
for the latter if anybody is interested.
But please get back with some tips how to queue mail
straight to the mail queue for fast delievery.
/peter a
At 2002-12-22 20:52, Manuel Lemos wrote:
Hello,
On 12/22/2002 02:52 PM, Jonathan Chum wrote:
I was considering of writing the mass mailing
Hi everyone
Quick question:
I'm running debian and have apt-get php and openldap. openldap works,
as does php. I'm now working with the ldap functions and here is where
I'm stuck.
I can see from phpinfo() that ldap has been compiled in:
'--with-ldap=shared,/usr'
My problem is the following
OK this is lame, but I'm posting a reply straight after the message hits
my box...
I'm running debian and have apt-get php and openldap. openldap works,
as does php. I'm now working with the ldap functions and here is where
I'm stuck.
apt-cache search php4
what turns up?
php4-ldap
I've
= index.php
do this
else
do that
now to my actual question which way/function would be the better option to
use for this..
$_SERVER[REQUEST_URI], $_SERVER[SCRIPT_NAME] or try and do something
with $_SERVER[PHP_INFO], or is the one that I am missing .. ?
Cheers
Peter
the only dumb question
localhost refferes to the actual machine your are on .. what is the remote
server's host name or ip number .. use one of them instead of local host
-Original Message-
From: Kelly Meeks [mailto:[EMAIL PROTECTED]]
Sent: Saturday, 21 December 2002 10:00 AM
To: [EMAIL PROTECTED]
Subject:
that it is caused by the combination
of https and php session. Is there a solution?
Thanks in advance.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if ur using apache using .htaccess in the directory .. and you can also set
it in the httpd.conf
-Original Message-
From: ªüYam [mailto:[EMAIL PROTECTED]]
Sent: Friday, 20 December 2002 4:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] URL path problems
Suppose my web domain is
that it is caused by the combination
of https and php session. Is there a solution?
Thanks in advance.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that it is caused by the combination
of https and php session. Is there a solution?
Thanks in advance.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that it is caused by the combination
of https and php session. Is there a solution?
Thanks in advance.
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are not like C pointers, they are symbol table aliases./quote
Instead of:
$var1['arrayref'] = NULL;
use:
unset($var1['arrayref']);
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you will need to say what drive the temp folder is on so c:\temp\ in the
php.ini
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 17 December 2002 4:11 PM
To: 'Elaine Kwek'; PHP
Subject: RE: [PHP] Plz help to solve my problem.
From this error
such as ftp or scp.
Regards,
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Steven,
given what you've just said have you double checked that the spelling is the
same for the field names in your code and also in the db.. also have you
tried to just pass the info on to another page and displaying it?
-Original Message-
From: Steven M [mailto:[EMAIL PROTECTED]]
only 8? i came in to work this morning and had over 20 of em :(
-Original Message-
From: Stephen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 11 December 2002 12:13 PM
To: Justin French
Cc: PHP List
Subject: Re: [PHP] Report Viruses
Both return mailer demons... 8 more viruses
check out sendmail.org
-Original Message-
From: Kris [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 11 December 2002 6:03 PM
To: PHP List
Subject: [PHP] Sendmail
Hey Guys
I know this is off subject but you people seem to be the only
people on the net that know anything :)
Kris,
a couple of options for you to try are http://www.sun.com/bigadmin
http://www.solariscentral.com also have a search in google
also you can try this... resart the machine and press stop a after the
banner comes up and you get the ok prompt .. then type boot -s (for single
user mode) (you
formElement. But why,
why in the world do you REALLY want to do this? Have you truly used and
understood smarty and yet felt this must be done? I haven't.
http://smarty.php.net/
It lets you focus on your application.
Peter
?php
// require_once 'selectField.php';
$test[] = Yea, this works
.
Any help??
to set sessions 1st make sure session_start(); is towards, if not at, the
top of every page
to set session vars $_SESSION[var] = $_POST[var]
to call a session var echo $_SESSION[var];
Cheers
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
yep have the submit got to another page and then have a header location in
there to go back to the original page that the form is on
-Original Message-
From: Lars Espelid [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 December 2002 10:17 AM
To: [EMAIL PROTECTED]
Subject: [PHP]
br;
echo $passwd;
echo br;
echo $fname;
echo br;
}
---
Cheers
Peter
the only dumb question is the one that wasn't asked
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
what are the field types in the mysql DB?
-Original Message-
From: John Taylor-Johnston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 4 December 2002 4:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Whimper, help :)
Tom,
Anyone,
No I'm not looking for a , I'm trying to pass
and PHP4.0something I get this error.
Can anyone help me out here? Any clues?
/peter a
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
yes look around for sum thing like chilli soft from sun microsystems, but
it's not free.. i dunno if there is a free one..
-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 3 December 2002 4:13 PM
To: PHP List
Subject: [PHP] hiding php
This should bump
if its not there add it
-Original Message-
From: Larry Brown [mailto:[EMAIL PROTECTED]]
Sent: Monday, 2 December 2002 10:31 AM
To: PHP List; Evan Nemerson
Subject: RE: [PHP] apache httpd-2.0.40-8 and scanning alternate
extensions for php
That's what I'm saying, there is
Howdy,
um what exactly do you want to do? add meta tag's to each individual
page?
-Original Message-
From: Manoj Nahar [mailto:[EMAIL PROTECTED]]
Sent: Friday, 29 November 2002 5:26 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Postnuke --- Meta keywords and title different for all
Since the user Apache is running as created the file, it owns it too.
Make a quick PHP script to delete the files when ready.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun
on port 443 to point to the
wrong DocumentRoot, or you need to set one up on port 443, pointing to the
right DocumentRoot.
HTH,
Peter Janett
New Media One Web Services
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX
resellers WHERE id=$id);
header(Location: admin2.php?op=resellers);
}
I am relying on the $delete and $id to be set by the url link.
any idea's as I'd like to be able to do this with out having to use a form
with hidden vars..
Cheers
Peter
the only dumb question is the one that wasn't asked
Thanks Kyle, got it working like a treat :) for some reason it wasn't
selecting the DB but it is now :D
-Original Message-
From: Kyle Gibson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 November 2002 10:05 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: deleting a record.
?
//
12345etc in every cell of the
html table when i need it to display as
1
2
3
4
5
etc
with each number on a new row in the html table ..
TIA I hope i've made what am after clear enough...
Cheers
Peter
the only dumb question is the one that wasn't asked
--
PHP General Mailing List (http
Thanks Robert
-Original Message-
From: Van Andel, Robert [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 27 November 2002 11:43 AM
To: Peter Houchin; php_gen
Subject: RE: [PHP] displaying record number in a cell in a table
$result = mysql_query(select * from [database table]);
echo
there's sort of one in there already ... but also check out
http://www.nukescripts.net/ and that has links off that for other nuke
sites/add on's
-Original Message-
From: The Gabster [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 26 November 2002 9:35 AM
To: [EMAIL PROTECTED]
Subject:
your header command must go before any other out put to the page ..
eg
?PHP
lots of or no php other stuff, with out writing to the page
..
..
..
Header(location: test.php);
html
head
titleboo/title
/head
body etc
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
( as is sposed to )
}
if (!$sec = 1){
echo font class='content'please contact your nearest
representive/font;
}
else {
echo $sec; // on this echo $sec has changed value from 2 to 1
Cheers
Peter
the only dumb question is the one that wasn't asked
--
PHP General Mailing List (http://www.php.net
1001 - 1100 of 1823 matches
Mail list logo