The variables I submit, are retrieved from a database...so users can't enter
anything,
I do have a warning inserted at the beginning of the file, how do I remove
this warning?
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Adriaan Nel wr
uot;Content-Length: ".$size);
$fp = readfile($full_filename, "r");
mysql_query ("INSERT INTO files_downloaded
VALUES('$id','$ip',NOW())",$db_connection) or die (mysql_error());
return $fp;
}
}
I need to use some kind of form element to initiate the do
Hi all,
How do I open a new window from php?
Thanks
Adriaan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
I'v got the following:
round ($val1,4);
echo "$val1";
It works fine, but when $val which is a float, contains for instance 1.1 I
want it to output 1.1000 instead of just 1.1
I know in C++ this can be done with setprecision(), but I can't seem to find
anything similar in phpplease h
Thanks, I solved it
"Adriaan Nel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks, I tried the trim function and it solves most of my problems, but I
> still get duplicatesit's so weird, could any1 please just quickly
> check throug
*/
Thanks again
Adriaan
"- Edwin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> "Adriaan Nel" <[EMAIL PROTECTED]> wrote:
>
> > Do any1 know how I can check for spac
Hi every1,
I need to update records in a mysql dbase, from a .csv file, everything
works fine, but the index column, $npr_nr from below sometimes has a space
at the end, this causes the dbase index not to match this one, therefore
this record isn't updated. Do any1 know how I can check for spaces
Hi every1,
I would like some help on multiplication/division of variables on 1
anotherI have looked at the bcmath() function, but it doesn't seem to
work.
Could any1 pls assist.
Adriaan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi ppl,
I am updating a database with the following:
$lines = file ('../includes/new1.csv');
foreach ($lines as $line_num => $line) {
list($npr_nr,$npr_exvat,$npr_desc) = explode(",",$line);
$query = "SELECT product_id,product_nr, product_cost_exvat,
product_description, product_price, updated
try www.phpfreaks.com they've got a nice tutorial on this...
Regards
Adriaan :)
"Miguel BrĂ¡S" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi guys,
>
> Anyone has a good example to build a system that show X records per page
and
> give links to next and previous pages?
>
> Thx
>
Hi,
I've got a table that gets it's contents from a database, the problem is
that even though I specify the width of the table, it is still wider than
it's supposed to be, cause some of the info from the table doesn't
wrap.my question is if there is a way to force td wrapping when it
exceeds t
11 matches
Mail list logo