You could insert a ternary operation...
($order?$order:"defaultfield")
Is the same as:
if($order)
echo $order;
else
echo "defaultfield";
...
$result = mysql_query("SELECT
articles.title,vote.votes,vote.total,articles.date,staff.firstname,artic
les.content,articles.id FROM st
Hello,
We are using ezmlm mailing list on our server.
We want to make the mailing list archive available on our website. How can
we do this ?
any help will be highly appreciable.
thanks
cp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
You have been specially selected to qualify for the following:
Premium Vacation Package and Pentium PC Giveaway
To review the details of the please click on the link
with the confirmation number below:
http://wintrip.chn.net
or
http://wintrip.my163.com
Confirmation Number#Lh340
Please confirm
Ok if you have a query string from like file.php?bob=manager&phil=employ
how do i split the bob=manager and phil=employ dynamically?
because i may have 2 or 3 elements and i just want to sepearte them all and
access them via an array such as if ($var["bob"] = "manager")
etc so a loop that w
Hi
I have a little Problem with include.I want to include a txt file in every php file on
the server but some php files are in other directories and dont include this txt file.
Example :
Url for the txt file : www.domain.com/include/incl.txt
So www.domain.com/index2.php includes the txt file
Is most performant for out a sting use
echo or print ?
and if I have more print command ex:
print "aaa",
print "";
Is best use a single command with a very long string ?
Thank's michele Schiavo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
I have a site where ppl can upload their text-based ideas in real
time, so that I have new records in db every day. When I did
uploading by hands and had over 200 files on that site I distributed
all site content in downloadable for of zipped win-help formate.
Well, I don't think that I can do
hi all,
has anyone else had problems with specifying session_name causing data not
being input into session variables?
For example:
session_name("test");
session_start();
session_register("count");
count++;
causes count not to increment whereas
session_start();
session_register("count");
coun
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Aaron Moore) wrote:
> Ok if you have a query string from like file.php?bob=manager&phil=employ
>
> how do i split the bob=manager and phil=employ dynamically?
>
> because i may have 2 or 3 elements and i just want to sepearte them all and
> ac
You can use MySQL. Take a look at the ezmlm homepage, and check the ezmlm
mailinglist archive..
Pulling data out of a MySQL table is easy.. if you don't know how, just
look at some tutorials (www.devshed.com) more links can be found at www.php.net
Bye,
B.
At 20:28 8-9-01 +, crorepati
G'day folks,
I have a site just about ready to go on-line. All my local testing has
worked like a dream - but the cURL support on the hosting provider is
partially broken.
Actually using curl_init()...curl_exec() etc. on my box to contact remote
URIs (both over HTTP and HTTPS) has worked from d
I want to include a string into a PNG by ImageTTFText(),
where some of the chars are encoded in BIG5.
I have found the revalent TTF for BIG5.
The output really gives some Traditional Chinese chars,
but the chars are not those I want.
(I think this problem also exist in Shift-JIS encoding.)
Would
hi,
I'm using win98/apache/php4
But it's giving an error saying undefined function when i use socket() function.
On advice of some one i've also tried socket_create(). but in vain.
I think that i dont have the socket libs in my php. where can i get them.
do u think that i'm correct ?
pl help as
hello
How do I retrieve the messages from the list archive and how do i store the
data in text files/database .
Pl. help me out.
thanks
cp
B. van Ouwerkerk writes:
> You can use MySQL. Take a look at the ezmlm homepage, and check the ezmlm
> mailinglist archive..
>
> Pulling data o
Provide an absolute path to the file, like /path/path1/incl.txt instead of a
URL.
<[EMAIL PROTECTED]> wrote in message
003701c13854$50ecf780$0100a8c0@pentium333">news:003701c13854$50ecf780$0100a8c0@pentium333...
Hi
I have a little Problem with include.I want to include a txt file in every
php f
Hey all,
If anyone else out there is using Smarty as templating engine, how do you put
JavaScript into the template? It seems to barf on the opening and closing
braces of every JS function, rendering JS totally useless. I must be missing
something.
ad.
--
PHP General Mailing List (http://ww
I pointed you to sources where you can find the information you need.
I don't run ezmlm with mysql support so I would need to look at the docs
too. I'm very sorry but I don't have enough time to do the dirty work for you.
I'm not even sure about how far ezmlm and MySQL work together.. A friend
>From the smarty manual
{literal}