PartyPosters wrote:
I can't figure out what I am doing wrong,
this sql string seems to filter out the information I want but it duplicates
the all info, as 'num_rows' is total of rows in the table and not the correct
value of the filtered information?
$sql=SELECT products.productID,
snip
I can't figure out what I am doing wrong,
this sql string seems to filter out the information I want but it
duplicates the all info, as 'num_rows' is total of rows in the table and
not the correct value of the filtered information?
$sql=SELECT products.productID, products.title,
Hello PartyPosters,
Tuesday, April 12, 2005, 4:24:34 PM, you wrote:
P I can't figure out what I am doing wrong, this sql string seems to
P filter out the information I want but it duplicates the all info,
P as 'num_rows' is total of rows in the table and not the correct
P value of the filtered
On Tuesday 12 April 2005 16:24, PartyPosters typed:
$sql=SELECT products.productID, products.title, products.number_per_box,
products.stock_level, products.image, users.username, users.email,
users.userID FROM users, products WHERE products.userID = $userID;
I think what you mean/need is:
$sql=SELECT products.productID, products.title,
products.number_per_box, products.stock_level, products.image,
users.username, users.email, users.userID FROM users, products WHERE
products.userID = users.userID AND userID = $userID;
John Nichel wrote:
1lt John W. Holmes schrieb:
I'm trying to set up a password section on my website. But I don't want
a window popping up asking for a username and password. I'd rather like
to have a form that submits the data. I did that and it works fine, but
the browser seems to not save the username
At 14:22 26.02.2003, Oliver Witt spoke out and said:
[snip]
if(isset($user) isset($pw)){
$user = ucwords(strtolower($user));
$PHP_AUTH_USER = $user;
$PHP_AUTH_PW = $pw;}
[more...]
And this works fine for just this page. Whenever I click on a link to a page
Ernest E Vogelsinger schrieb:
At 14:22 26.02.2003, Oliver Witt spoke out and said:
[snip]
if(isset($user) isset($pw)){
$user = ucwords(strtolower($user));
$PHP_AUTH_USER = $user;
$PHP_AUTH_PW = $pw;}
[more...]
And this works fine for just this
I'm trying to set up a password section on my website. But I don't want
a window popping up asking for a username and password. I'd rather like
to have a form that submits the data. I did that and it works fine, but
the browser seems to not save the username and password, because if i
click
Inside the loop do:
if(!($i%3)) { whatever }
-Rasmus
On Wed, 4 Sep 2002, Cirkit Braker wrote:
what would be the best, most efficient way to print something every three
times a loop runs
for ($i=0; $i$num_products; $i++)
{
echo something;
}
this
if ($i%3 = 0)
{
echo something;
}
On Wed, 4 Sep 2002, Cirkit Braker wrote:
what would be the best, most efficient way to print something every three
times a loop runs
for ($i=0; $i$num_products; $i++)
{
echo something;
}
this happens every time it runs
I need insert some variable ito log.txt file but every item (variable) must
be on other line
how to do this ?
If I am understanding your question correctly, you need to add a newline
character (\n) at then end every line. Like so:
$fp1 = Fopen(D:\\log.txt,a+);
fwrite($fp1,$start\n);
Or you could just write
snip
$fp1 = Fopen(D:\\log.txt,a+);
fwrite($fp1,$start\n$array[0]\n$array[1]\n);
snip
to simplify...
--
Richard,
oblivion creations
http://oblivion.lunamorena.net
[EMAIL PROTECTED]
+4+ (0) 736 849 531 for sure contact..
Jeff Van Campen [EMAIL PROTECTED] wrote
13 matches
Mail list logo