When in doubt, view source. :) As John has already mentioned, you need
text between the two tags to actually display in the browser. You
probably would've seen your mistake a lot sooner if you viewed the page
source when you first tried it out.
Also, you can save yourself some time using PHP's
Thanks for all the help, I overlooked a simple mistake in html, I was so
much concentrating on concatenating the $link that I forgot to include the
link
I got a private email that solved it for me
--
www.phpexpert.org/truefaith.htm
True Faith is not just when you believe in God and yourself, it is
problem was solved by using substr() on the timestamp
--
www.phpexpert.org/truefaith.htm
True Faith is not just when you believe in God and yourself, it is when
others begin to believe in you as well - Damian John Paul Brown 2004
Damian Brown [EMAIL PROTECTED] wrote in message
news:[EMAIL
On 11-Apr-2004 Ryan A wrote:
snipage
If you are using timestamp(14), here is how i do it: (after
the
select)
if(($row = mysql_fetch_row($result))=1)
{
$d_year = substr($row[4],0,4);
$d_month = substr($row[4],4,2);
$d_day = substr($row[4],6,2);
$d_hours =
[EMAIL PROTECTED] (Cosmin) wrote in news:[EMAIL PROTECTED]:
sorry for the off topic but i didn't knew where to ask this.
does anyone know what's happening with the php-gtk mailing list. I
haven't received a message for more than a month now and any message
that i try to send comes back
hi...
i have a page on my test web server... it has php/mysql stuff in it that
points to another db elsewhere that i have remote access to... my ip
address/domain name exist but when i go to it to test the page it says
cannot find server?? im lost now...it worked last night why not now...
--
PHP
[EMAIL PROTECTED] (Elfyn McBratney) wrote in
news:[EMAIL PROTECTED]:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[postmaster@ added to Cc:]
Hello,
On Saturday 10 Apr 2004 00:39, -{ Rene Brehmer }- wrote:
I'll second that ... keep getting this in response from them:
Thank you !!
found problem...apache died somehow for some reasonall better now
- Original Message -
From: Andy B [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 6:32 AM
Subject: [PHP] cannot find server even though the page is there?
hi...
i have a page on my test web
Damian Brown schrieb:
I need to output a date and time that shows more clearly than just
outputting the timestamp
what is the correct way to go about it ?
I have looked at getdate(), but I haven't fathomed it out yet !
--
www.phpexpert.org/truefaith.htm
True Faith is not just when you believe in
OOP? Stay tuned for PHP5
-Original Message-
From: jdavis [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 1:45 PM
To: PHP List
Subject: [PHP] PHP OO concepts
Hello,
I have am checking out PHP OOP and it's pretty smooth. I have a decent
amount of Java experience so PHP OOP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 11 Apr 2004 10:35, David Robley wrote:
[EMAIL PROTECTED] (Elfyn McBratney) wrote in
On Saturday 10 Apr 2004 00:39, -{ Rene Brehmer }- wrote:
I'll second that ... keep getting this in response from them:
Thank you !!
Your message
php-general Digest 11 Apr 2004 15:02:14 - Issue 2699
Topics (messages 183097 through 183123):
timestamp to readabe date and time ?
183097 by: Damian Brown
183098 by: Ryan A
183099 by: Andy Ladouceur
183104 by: Damian Brown
183106 by: Andy Ladouceur
Although, it could be shortened even more, to:
td?php $link = a href=\.$row[2].\Click here/a;
echo $link;?/td
Or still more, to:
tda href=?= $row[2] ?Click Here/a/td
...which starts to approach the original legibility of HTML for me, and
the syntax hilighting in BBEdit is
R.G. Vervoort [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]...
Not sure if it is a php question but since i am working in php here it is.
Ho can i add items to (the item label=visual text and the value=index
number) a list object on a website.
I am having a list with 4 items
Hi,
Anyone can suggest me where I can get PHP5 RC1 rpms (with possible max# of
extensions) for Mandrake 10? I have tried to make them myself, but run into
numerous problems.
Thanks in advance for any suggestion(s)
Andrei Verovski (aka MacGuru)
--
PHP General Mailing List
about GD, Warning: imagecreatefromjpeg(): '/var/www/html/datos/2004/02/crio25.jpg' is
not a valid JPEG file. how can i solve it please?
image pass the EOF and BOF test, so this is not the problem :)
about GD, Warning: imagecreatefromjpeg():
'/var/www/html/datos/2004/02/crio25.jpg' is not a valid JPEG file. how can i
solve it please?
image pass the EOF and BOF test, so this is not the
problem :)
here you got the image with problems , i'm sorry
about the content of image...
hi...
i have a section of a website that deletes records from a mysql table...
right now all the query is is a delete statement but i need to make a log
file in this format:
current time::username who executed delete:: deleted(name of record)::delete
completed
or delete failed depending on what
//log function
//writes log files
function WriteLog($LogType){
switch($LogType:
case login:
//use session vars here...
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
//log function
//writes log files
function WriteLog($LogType){
switch($LogType:
case login:
//use session vars here...
}
What is the question ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
didnt know if it was possible to use $_SESSION vars in that function or any
user defined functions for that matter...
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 8:11 PM
Subject: Re: [PHP] using $_SESSION inside of user functions
Andy B wrote:
i have a section of a website that deletes records from a mysql table...
right now all the query is is a delete statement but i need to make a log
file in this format:
current time::username who executed delete:: deleted(name of record)::delete
completed
or delete failed depending
Andy B wrote:
//log function
//writes log files
function WriteLog($LogType){
switch($LogType:
case login:
//use session vars here...
}
Yes.
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals www.phparch.com
--
Andy B wrote:
//log function
//writes log files
function WriteLog($LogType){
switch($LogType:
case login:
//use session vars here...
}
Yes.
yes in the latest, all request methods are in the super global scope,
$_POST, $_GET, $_SERVER, $_SESSION and constants can be used within
got it will try that instead..
- Original Message -
From: John W. Holmes [EMAIL PROTECTED]
To: Andy B [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, April 11, 2004 8:23 PM
Subject: Re: [PHP] creating log files out of a delete statement
Andy B wrote:
i have a section of a
Hi all,
This is just a general question to get some ideas from the wider
world as it were.
Say you've finished your site. It looks lovely and works perfectly.
You have a CSS file for modern browsers and one that degrades for
text-only devices also. You even have a special small width version
for
How are you passing the name through?? If using a form to do it then just
use the $_POST[name] or $_GET[name] in the logfile. You have to have the
name pull in the previous page, just pass it through:
input type=hidden name=delete_record_name value=selection_1
or:
a
Richard,
You would do that by looking at the user_agent parameter that is being send
by the browser to the server. PHP automatically places the user_agent
information in the superglobal: $_SERVER['HTTP_USER_AGENT']. The user_agent
string might seems cryptic, therefore PHP provides you a built-in
php-general Digest 12 Apr 2004 03:58:45 - Issue 2700
Topics (messages 183124 through 183139):
Re: trying to output a hyperlink
183124 by: Michal Migurski
Re: adding items to a list or menu
183125 by: Robert
PHP5 RC1 rpms for Mandrake 10
183126 by: Andrei Verovski
29 matches
Mail list logo