Tuesday, 1 June 2021

array shift after export pdf array (col header, value row)

 Shift off the first item to get the keys:

$keys = array_shift($array);

Then map array_combine over the rest of it using the array of keys.

$result = array_map(function($values) use ($keys) {
    return array_combine($keys, $values); }, $array);

Based on the code shown in your edit, it looks like you could actually do this as you build the array instead if you replace $rows[] = $cells; with:

if (isset($keys)) {
$rows[] = array_combine($keys, $cells);
} else {
$keys = $cells;
}

Saturday, 29 May 2021

Ionic Platform Add Android

 installing & building ionic platform android (build apk)


https://wakeupcoders.medium.com/how-to-make-a-apk-file-from-ionic-project-9be865f19846

Thursday, 27 May 2021

Top blog that should be follow

1. Coding Nepal 

2. freecode camp

3. traversy media on   youtube


toptal resume 

https://www.toptal.com/resume/mirko-marovic#Employment

Overlay dissolve dissapear




.overlayBox {
  1. width: 100%;
  2. padding-top: 100px;
  3. margin-top: -100px;

Monday, 28 September 2020

winscp commands and tricks

 https://superuser.com/questions/239860/how-do-i-send-a-file-with-filezilla-from-the-command-line/787868


"space bar trick"

https://stackoverflow.com/questions/6376113/how-do-i-use-spaces-in-the-command-prompt


https://winscp.net/eng/docs/guide_automation