][PHP]
$new_timestamp = strtotime($row['date']);
$r_date = date ("M-d-Y", $new_timestamp) ;
echo $r_date;
[/PHP]
This is for MM= Jan,Feb etc....
User Profile
Collapse
-
[PHP]
$new_timestamp = strtotime($row['date']);
$r_date = date ("m-d-Y", $new_timestamp) ;
echo $r_date;
[/PHP]...Leave a comment:
-
How can i steam a swf file?
Here is my problem..
I want to create a player that plays wav files perfect looped.
i mean the a have a wav file that it 10seconds and i want to loop it forever.
tha only way to do this is to put it in my timeline and have a event start and loop.
it loops perfect.. but when i am building the player and reads the swf file which is the perfect loop.. it wait to download thw whole swf file and the it plays... -
Select at SQl
Can anyone help me with that?
i have a table called "tracks"
id title sub_id
1 bill 12
2 bill 17
3 john 12
4 james 12
i want with a sql Statement to make an advanced search with the 2 drop down boxes.
the first has the sub_id=12
the second has the sub_id=17
... -
nope i va got that error
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/www/php/ext/php_ldap.dll' - The operating system cannot run %1.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'libeay32.dll' in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/www/php/ext/ssleay32.dll' - The operating system cannot run %1.\r\n in Unknown on line...Leave a comment:
-
Problem Enabling Ldap Module on Php
PHP Warning: PHP Startup: Unable to load dynamic library 'c:/www/php/ext/php_ldap.dll' - The specified module could not be found.\r\n in Unknown on line 0
why this is happening?
i have uncomment the extension=php_l dap.dll
and i have copied the libeay32.dll and the ssleay32.dll in my
windows\system3 2 directory.
my php.ini file is on c:\windows\
my php path c:\www\php\
Any ideas..???... -
what can i do to solve this problem ?
check the url: http://216.246.78.37
i want to preload the page..
in mozilla that works whern refreshing but not works on the fisrt time....Leave a comment:
-
preload a whole site with window.onload problem
i am using this code to preload my site:
Code:<script type="text/javascript"> document.write('<div id="loading"><br><br>The musicase is Loading...</div>'); window.onload=function(){ document.getElementById("loading").style.display="none"; document.getElementById("central").style.display="block";
-
css background images
I ve got a problem ..
I hav Built a site and when i am visiting it i am viewing the backround images loads after the html images.. the size is above 40kb and the server is 10mbps
and it download slowly.. i am viewing every picture load one by one and after i see the background images..
What can i do ?
the site is: http://216.246.78.37
Any help? -
No Apache look automatic for Your Php.ini File..
It is Stored to Your System Direcory.
The only thing you have to do is.
to go to your apache folder (where you biuld apache)
if you don't know search for the Apache.exe file
it mostly be in a \bin\ directory
and then
myusername@sand box:~\etc\www\a pache\bin\apach e -k restart...Leave a comment:
-
-
sorry i forgot.. You have to restart your server to apply the changes..
If it is apache.
c:\(apache path)\apache -k restartLeave a comment:
-
i think it is the same code..
the only differense is in the php.ini file.
you have to add this line
sendmail_path = (your sendmail path)...Leave a comment:
-
Thanks You ARic i will try it..
And in my <img src="..." > ?
Do i have to make any changes there?...Leave a comment:
-
try put it in a string and then explode it to array.
exaple:
[php] $var="1,2,3";
$_SESSION['var']=$var;[/php]
then when you want to read it.
[php]if ($var) {
$items = explode(',',$va r);
}[/php]
and $items is your array..
Hope that helps....Leave a comment:
-
ok i find it.. i used pointers to move the type arrays to the exactly where i want
thanks...Leave a comment:
-
[php]$to = "bilkirim@yahoo .gr";
$subject = "Hello Bill";
$body = "type your text here";
if (mail($to, $subject, $body))
{
echo("<p>Messag e successfully sent!</p>");
}
else
{
echo("<p>Messag e delivery failed...</p>");
}
[/php]
You have to make some changes to your php.ini file.....Leave a comment:
-
<select name="x" size="1">
<option value="1">bill</option>
<option value="2">kirim</option>
</select>
when you will submit this form ... if you choose bill then
$x=1
if you choose kirim then
$x=2Leave a comment:
-
123 is your table name?
Don't forget to close your quotes at the end of the query....Leave a comment:
-
For Each with 2 different arrays
hi guys.. can anyone help me with that staff?
here is my code..
$cart = $_SESSION['cart'];
$action = $_GET['action'];
switch ($action) {
case 'add':
if ($cart) {
$cart .= ','.$_GET['id'];
$type .= ','.$_GET['type'];
} else {
$cart = $_GET['id'];
$type= $_GET['type'];
}
break;
case 'delete':
if ($cart) {
$items = explode(',',$ca rt);...
No activity results to display
Show More
Leave a comment: