heyas all,
the database:
KID MID
1 1
1 2
2 2
I have the following code:
$PID = 1;
$UID = 2;
$res = mysql_query(SELECT KID FROM kpr WHERE MID = '$PID' OR MID =
'$UID') or die (mysql_error());
$values = (array_values(mysql_fetch_array($res)));
for ($i=; $i = count($values);
Hello,
we have stored Images in MS SQL 7 - Database. With freetds we can read
all Information - but on Binaries (Images) we became wrong informations.
If we store the Data in a File, the Filesize is (as example) 34 kbyte.
The original filesize are 17 kbye. what can we do to convert the
trying to make an array with every date (in -MM-DD format) of the
current week in it...
the below code ain't working, any ideas?!
cheers,
dave
function createdatearray($sunday){
$date = date('Ymd',strtotime($date));
for($x=0; $x=7; $x++){
$y = $x + 1;
trying to make an array with every date (in -MM-DD format) of the
current week in it...
the below code ain't working, any ideas?!
cheers,
dave
function createdatearray($sunday){
$date = date('Ymd',strtotime($date));
for($x=0; $x=7; $x++){
$y = $x + 1;
$date[$y] =
a function to convert any date to ymd...
function datetoymd($date){
$dateymd = date('Y-m-d',$date);
return $dateymd;
}
this function when output gives me the date 1970-01-01 (date of the unix
timestamp start) so, ehm, why!?
cheers,
dave
function datetoymd($date){
$dateymd = date('Y-m-d',$date);
return $dateymd;
}
this function when output gives me the date 1970-01-01 (date of the unix
timestamp start) so, ehm, why!?
Because you're not passing a valid Unix timestamp or whatever your passing
is empty.
---John Holmes...
ehmmm what kind of dates do you use, maybe dates of birth?
when using date of unix timestamp you can't have dates befor 1970 so if
those timestamps represents an older date you can't use timestamps!
-mark-
-Oorspronkelijk bericht-
Van: David Rice [mailto:[EMAIL PROTECTED]
Hi,
I would be very grateful if someone could look at my table design for me
please. The sytem will be used to
allow users to log in to a web site and book staff. Here is my design so
far.
# -- MySQL dump --
#
# Table structure for table 'WMS_Allocations'
#
CREATE TABLE
You can't split a transaction between multiple calls to mssql_query. The
memory used (in the server and client) are cleared between each call.
You would have to create a batch of statements and execute these with one
call to mssql_query.
No, I found solution in the end!:
SET XACT_ABORT OFF
You also need to give your array a different name so this should work :
function createdatearray($sunday){
$date = date('Ymd',strtotime($date));
for($x=0; $x=7; $x++){
$y = $x + 1;
$date1[$y] =
I am working on a page that displays a line of information with a
checkbox at the end. I began by getting all of the information I wanted
displayed working properly and now I am adding the checkbox. Everything is
going find with the exception that all of a sudden with the checkbox code
Scott V Nipp [EMAIL PROTECTED] wrote:
I am working on a page that displays a line of information with a
checkbox at the end. I began by getting all of the information I wanted
displayed working properly and now I am adding the checkbox. Everything is
going find with the exception that
12 matches
Mail list logo