Lost within

Alaa Abdelhaq Blog

Thanks Ali Abdelhaq

My cosine Ali made this video using jibjab website!
its so fuckin hilarious!!!!
Thanx dude for making my day :D

Try JibJab Sendables® eCards today!

  • 4 Comments
  • Filed under: Fun, People
  • How to manipulate mysql datetime using php

    You are having hard time with mysql datetime format? I wont blame you :)
    I hope this short example will help you.

    let say in your mysql database you are saving time on the datetime format
    like this “2009-01-20 02:11:05″.

    you need to pull it and add some days or time intervals and print it in a different format, thats easy do the following

    1- In your query pulling the time, pull it this way:

    UNIX_TIMESTAMP(time) AS time

    this will covert it into unix timestamp, which will make it easier for you to manipulate it with php functions.

    2- Add your time interval, let say we need to add 15 days.

    $unix_timestamp_from_database = 1232410265;
    $time_from_db = $unix_timestamp_from_database;
    $new_time = $time_from_db + (15 * 86400);

    86400seconds equals one day.
    In unix timestamp we manipulate time by seconds.
    so if you want to add an hour you add it like by (60 * 60)
    which equals 3600 seconds.

    3- Then you format it as you desire:

    $new_time_format = date("d-M-Y", $new_time);
    echo $new_time_format;

    hope it will help you :)

    Why 99% I’m not gonna marry an Arab girl

    I started to feel am getting old in age, life is getting boring everyday.
    I may started to feel lonely and started to feel the need for a girl in my life.
    I need some real descent relation in my life, that may be translated into marriage!!
    I know am crazy but yeah marriage!!!
    So whats next? start looking around for candidates!
    reality hits here!!!
    No candidates :D
    Why?
    I’m an average Jordanian Muslim guy, my family too. we are neither
    rich or poor, we are in the middle, and being in the middle is so hard, you wanna
    move up and forward and you cant look down, and you cant step back at any cost! even if the cost was marriage itself.
    Honestly I cant marry Jordanian girl, cause she and her family will swallow me like if I was a panadol pill.
    Truth hurts I know!
    but Why not a girl from here? I will tell you why:
    1- One of her parents if not both, are greedy.
    was asking some girl what is the “MAHIR” your family requires?
    she said maybe 3000 JD plus the “JHAZ and shitty stuff” , I felt am talking to some merchant owner! or you can say a prostitute!! yes prostitute sorry!!
    2- 90% are narrow and old fashioned minded.
    3- Shallowness.
    4- Brain washed.
    5-Incapable of making decisions.
    Girls are 2 types, either a puppet or a master of other puppets!!!
    6- Not welcoming the idea of salary sharing.
    7- Most of them don’t have a goal in life or dreams but to get marry and have children!
    8-they say they ambitions, but when you ask her what is your dreams, she just shut-up.
    9-They want to live like their mothers and grand-mothers, they are not thinking to break the cycle and search for different life.
    10-they dunno the meaning of adventures.
    11-they want to be equal with men, they study go to universities and work as men, secure good positions and some times they own businesses, but when it comes to marriage, they hate equality :D , how ironic.
    Believe me I have millions of other reasons!!

    I was so crazy to think of marriage.
    I came back to my mind and I will never think of it again!

    My post does not apply for all girls, am not stereo typing here!
    but majority are :(

    I will appreciate sharing with me your thoughts.

  • 22 Comments
  • Filed under: Feelings, People
  • We will not go down – Song

    Was driving yesterday and I came by this great song on the radio.
    The song called “Gaza: We will not go down”.
    By: Michael Heart.

    If you like the song you can download it from his website.

    I provided the lyrics too:

    Read more >>

  • 0 Comments
  • Filed under: Music, Politics
  • Andrea Bocelli – Besame Mucho

    I’m so in love with this song!

    Lyrics here:

    Read more >>

  • 0 Comments
  • Filed under: Music
  • Amazing PLAYSTATION 3 video AD

    Amazing PLAYSTATION 3 video AD

  • 0 Comments
  • Filed under: Video Games
  • How your site looks in other browsers??

    Sometimes working on web design may not be as easy as you think.
    Specially when it comes to browsers compatibility.
    things get tricky and difficult with the lack of HTML CSS and Javascript debuggers like firebug on
    other browsers specially IE!
    plus you are working under your favorite OS, so it gets harder to test your work on different browsers and different platforms?
    By surfing the web I came by chance with this incredible website LINK
    How it helps you?
    simply click on the link place your website address
    then check the browsers you want to check under different platforms.
    next you can put some rules like the preferred resolution you want the test to be ran under.
    then you submit it.
    Next the website will show you exactly how your website will look on the selected browsers.
    it will get you results as a png images, yes images!
    maybe some people wont like the service, for me if I was able to check exactly how my website looks on each browser that would be great, and maybe helps me to decrease bounce rate :)

    give it a try :)

    Obama wins!!

    I really feel happy!!!
    though am not American citizen and I live on the other side of the earth!!
    It really felt like its a new day a new beginning.
    It feels like change for better world is coming, hopefully :)
    Obama I wish you all the best!! and please don’t let us down!!!

  • 2 Comments
  • Filed under: Politics
  • Business Angels

    A business angel is a person who provides capital from his own funds to a private business owned and operated by another person who is neither a friend nor a family member.

    The typical angel is often described as a wealthy, retired, former tech entrepreneur who regularly invests in other people’s start-ups. While a few angels look like this, the typical angel does not.

    • Most angels aren’t wealthy. Estimates based on data from several sources suggest that the majority of angel investors are unaccredited investors.

    • Few angels are retired. About two thirds are still working full or part time.

    • The majority of angels live in two earner households.

    • Most angels aren’t old. Surveys show that the odds that a person makes an angel investment peaks at between 45 and 54 years of age.

    • Angels are more educated than the rest of the U.S. population, but one quarter of them have not graduated from college.

    • Angels are no more likely to be experienced entrepreneurs than friends and family investors.

    • Angels tend not to make many such investments, with a significant minority making just one angel investment in their careers.

    Of course, the most successful angels differ from the typical angels.
    But the typical angel isn’t a retired former hotshot Silicon Valley tech entrepreneur.

    You can find out more about angels in Fool’s Gold: The Truth Behind Angel Investing in America

  • 0 Comments
  • Filed under: Business
  • That’s it!! enough!

    Am so sick of being here living here everyday!! dealing with this shit on daily basis
    dealing with nonprofessional people all the time! working with no quality people!!!
    professionalism is missing from our life! in the street in work in the mall at any place you may go to!
    customer service is just a word we speak!
    day after day I become more disappointed about the whole situation here, I cant see any hope for the future
    for this country to get better!!
    as long as the majority here had no quality we will never change or get better!
    for an example and believe me there are millions of them, if I started to talk I will never shut down!

    Went to Reebok with my friend at Mecca mall to buy some stuff, so at the cache a girl working there told us that they are missing the serial number of this item so she cant provide us with price!!!
    then with confidence she said please come tomorrow in order to have it we will have the price ready!!!
    What the fuck r u talking about!!! come tomorrow! the item price is 75JD not 2JD from Abu 3abid store!!!
    I told her noway we are coming back! call your stupid managers of you to get the price!!
    then she said our HQ is at Dubai!!!
    So what call them!!!
    she found it easier for us to come tomorrow instead of calling her stupid managers at Dubai!!
    fuck them man!! I regret the moment I went to buy something from there!

    OK different story, recently am looking for a car, so I went to Opel to see their cars, while am there some of their cars does not seem like brand new, so I asked the guy working there,
    are all cars here new or there are some used cars?
    then he gave me the “Dawaween” look with the “dawaween” accent said “Inta sho ra2yak?!??!”
    I replied am very sorry thanks for your support see you later.
    he didnt even try to say anything and left away!

    I worked in many companies in my life, and am wondering how the hell most of them secure good
    titles and salaries!
    the hell they don’t know what they doing!!! most of them have no quality and not even close to professionalism!
    Am not asking for perfection but at least something normal!!!

    here you cant work like normal people!! I really wish to have a real job someday with a real smart people,
    people who are looking for change looking for future, not people living in a daily basis chaos!

    If you want to eat at any restaurant here in Jordan either low or high class, service sucks all the time, from the moment you pace inside to the moment you leave

    Seriously I don’t wanna live among this community no more,, I really dunno how to break through?
    please don’t tell me to try to change it, cause its a hopeless case, it’s a lose-lose situation!

    Am so sad it was destined for me to born and live here, am so sad!!
    really this is enough :(

  • 5 Comments
  • Filed under: Feelings, People