Posts

If MySql Stopped Working Unexpectedly in XAMPP Local Server

Image
 If your MySql Stopped Working Unexpectedly in XAMPP Local Server like shown below:- Then here are some quick tips to fix this issue:- Check the error log of mysql  Then go to  {D}:\xampp\mysql\backup  folder and copy all folders and files expect ibdata1 Then go to {D}:\xampp\mysql\data folder and paste there. Then restart you Apache and XAMPP then start mysql. Please do let me know for any kind of doubts. Thanks

ਜੇ ਆਈ ਪੱਤਝੜ ਤਾਂ ਫੇਰ ਕੀ ਹੈ Surjeet Patar

Heart Touching Lines Written by Honorable Punjabi Writer Resp. Surjit Pattar:- ਜੇ ਆਈ ਪੱਤਝੜ ਤਾਂ ਫੇਰ ਕੀ ਹੈ, ਤੂੰ ਅਗਲੀ ਰੁੱਤ ‘ਚ ਯਕੀਨ ਰੱਖੀਂ | ਮੈਂ ਲੱਭ ਕੇ ਕਿਤਿਉਂ ਲਿਆਉਨਾਂ ਕਲਮਾਂ, ਤੂੰ ਫੁੱਲਾਂ ਜੋਗੀ ਜ਼ਮੀਨ ਰੱਖੀਂ || ਕਿਸੇ ਵੀ ਸ਼ੀਸ਼ੇ ‘ਚ ਅਕਸ ਆਪਣਾ, ਗੰਧਲਦਾ ਤੱਕ ਨ ਉਦਾਸ ਹੋਵੀਂ | ਸਜਨ ਦੀ ਨਿਰਮਲ ਨਦਰ ‘ਚ ਹਰਦਮ, ਤੂੰ ਧਿਆਨ ਅਪਣੇ ਨੁੰ ਲੀਨ ਰੱਖੀਂ || ਕਿਸੇ ਨੂੰ ਮਾਰਨ ਦਾ ਢੰਗ ਏ ਇਹ ਵੀ, ਕਿ ਸ਼ੀਸ਼ੀਆਂ ‘ਚ ਵਿਕਾਰ ਪਾਵੋ | ਤੇ ਸ਼ਖਸੋਂ ਪਹਿਲਾਂ ਹੀ ਅਕਸ ਮਾਰੋ, ਸੋ ਖੁਦ ‘ਚ ਪੂਰਾ ਯਕੀਨ ਰੱਖੀਂ || ਲਿਬਾਸ ਮੰਗਾਂ ਨ ਓਟ ਮੰਗਾਂ, ਨ ਪਰਦਾਦਾਰੀ ਦਾ ਖੋਟ ਮੰਗਾਂ | ਬੱਸ ਅਪਣੀ ਉਲਫਤ ਦੇ ਉਹਲਿਆਂ ਵਿਚ, ਤੂੰ ਮੈਨੂੰ ਪਰਦਾਨਸ਼ੀਨ ਰੱਖੀਂ || ਪਤਾ ਨਾ ਲੱਗੇ ਇਹ ਚੰਨ ਤਾਰੇ, ਬਦਨ ਹੈ ਜਾਂ ਕਿ ਲਿਬਾਸ ਤੇਰਾ | ਤੂੰ ਅਪਣੀ ਕੁਦਰਤ ਤੇ ਅਪਣੇ ਵਿਚਲਾ, ਇਹ ਪਰਦਾ ਇਉਂ ਹੀ ਮਹੀਨ ਰੱਖੀਂ || ਮਿਲਾਪ ਵਿਚ ਵੀ ਕੋਈ ਵਿਛੋੜਾ, ਹਮੇਸ਼ ਰਹਿੰਦਾ ਏ ਥੋੜਾ ਥੋੜਾ | ਘੁਲੇ ਪਲਾਂ ‘ਚ ਕਹੇ ਕੋਈ, ਨ ਘੁਲੇ ਰਹਿਣ ਦਾ ਯਕੀਨ ਰੱਖੀਂ || ਨਹੀਂ ਮੁਹੱਬਤ ਕੋਈ ਮਸੀਹਾ, ਹੈ ਕਿਸਮ ਅਪਣੀ ਦਾ ਇਹ ਤਸੀਹਾ | ਇਹ ਤਪਦੇ ਸਹਿਰਾ ‘ਚ ਮਿਰਗਜਲ ਹੈ, ਨ ਇਸ ‘ਚ ਦਿਲ ਦੀ ਤੂੰ ਮੀਨ ਰੱਖੀਂ || ਅਗਨ ‘ਚ ਬਲ ਕੇ ਹਵਾ ‘ਚ ਰਲ ਕੇ, ਨ ਆਉਣਾ ਦੇਖਣ ਅਸਾਂ ਨੇ ਭਲਕੇ | ਅਸਾਡੇ ਮਗਰੋਂ ਤੂੰ ਨਾਮ ਸਾਡੇ ਨੂੰ, ਪਾਕ ਰੱਖੀਂ ਮਲੀਨ ਰੱਖੀਂ || ਹਨੇਰਿਆਂ ਦਾ ਇਲਾਜ਼ ਕੀ ਹੈ, ਇਹ ਹੁਝ ਕ...

Find the last array from multidimensional array in PHP

Image
Today I am going of discuss the following topic:- Find the last array from multidimensional array in PHP :- Take multidimensional Array in PHP:-     $arr[] = array(          "name"  =>  "John 1" ,          "email"  =>  "john1@gmail.com" ,     );     $arr[] = array(          "name"  =>  "John 2" ,          "email"  =>  "john2@gmail.com" ,     );     $arr[] = array(          "name"  =>  "John 3" ,          "email"  =>  "john3@gmail.com" ,     );     $arr[] =...

MySql query to alter primary key to auto increment and not null

Today I am going to discuss how to alter table with primary key id as AUTO_INCREMENT and NOT NULL ALTER   TABLE   `customers`   CHANGE   `id`   `id`   INT ( 11 )   NOT   NULL   AUTO_INCREMENT ;

Fight of two bulls Positivity and Negativity

Every day two bulls fight, in every person's mind; Postivity & Negativity Do you know which one wins? The one which you feed the most!!