Yinksey's Posts
Nairaland Forum › Yinksey's Profile › Yinksey's Posts
how can this code be improve. /* * convert datetime to UNIX timestamp * @param $time date time formatted time * which will be converted * @return UNIX timestamp format for the * supplied time */ function to_unix($time) { // divide the the time into two sections date //and time $expl = explode(' ',$time); //explode the date $year = explode('-',$expl[0]); //explode the time $time = explode(':',$expl[1]); // convert it into Unix timestamp using mktime function $unix = mktime($time[0],$time[1],$time[2],$year[1],$year[2],$year[0]); //return the new time. return $unix; } $time = '2013-10-28 12:00:00'; echo to_unix($time); |
bravo! bravo!! bravo!!! , you really tried bro tony, I guess you use DOT NET.am I right! |
Sejj: Hey my bosses, am not a professional web designer but i created a website using a WYSIWYG software (Easy Website Pro). Please how do i make my contact form work cos i know it is PHP based.I think this link answers your request. www.phpeasystep.com/phptu/8.html |
Well maybe am still a kid in this, i only thought pdo got it all, but what are the real steps to take to prevent this dreadful attack @slyrox since i know u be an hacker. and @op. |
When u are using PDO Extension with php to deal with mysql, i think you dont need to worry about sql injection. |
I dont see anything bad in what graphicplus has said, infact have even learnt some new things from the review he gave, the guy is website crawler lol. |
We are ready to help you just email me @ yinksey.brown@gmail.com |
Speechless....padding (sigh) |
Simple, yorme already did it. |
That error is usually associated with ur web server, which means you might have misconfigured, or maybe your are trying to use sef url while its not properly configured on ur web server, you might try to check ur configuration and configure properly, or try renaming ur .htaccess file. To e.g .htaccess.txt. |
Hmmn,gud to hear that @javanian. |
Lets wait for javanian, but i dont think elvis is a scammer, i know this guy for a very long time as a j2me programmer, @9japortal.tk and av seen him actively participating on php nigeria group on facebook, and i dont tink there is nothing bad for a 14yrs old boy to be a programmer,since i also started programming with php when i was 16, so just let the sleeping dog lie. |
@greenmouse thats nice! |
Ops not on a computer,when am on a computer i will try to post my solution. |
@graphicplus, thanks, am just trying to change to the new oocss style,will soon change totally very soon. |
@adewasco u're welcum. |
@graphic plus, here is a basic solution i have, but still works as expected, you may also need to improve the code to suite what you need it for. <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" dir="ltr"> <head> <title>Three divs</title> <style> .divs {background:#fff; width:150px; padding:8px; border:1px solid #ddd; color:#333; float:left; margin:10px; height:120px; } .green{color:green; cursor:pointer} .red{color:red; cursor:pointer} .pink{color:pink; cursor:pointer} .green:hover > .bar{background:green;z-index:-1} .red:hover > .bar{background:red;z-index:-1} .pink:hover > .bar{background:pink;z-index:-1} .bar{background:#555; padding:5px; height:160px; position:absolute; z-index:-10; top:0; left:0; width:940px; transition:0.5s; } </style> </head> <body> <div class="divs green"> <div class="bar"></div> <h1>Green Div</h1> </div> <div class="divs red"> <div class="bar"></div> <h1>Red Div</h1> </div> <div class="divs pink"> <div class="bar"></div> <h1>Pink Div</h1> </div> <div style="clear:both"></div> </body> </html> |
*excited*,dhtml you are gud bro,i can't even wait to see the new upgrades....thumbs up man. |
I nominate *dhtml |