Any solution how can i hide particular field in listing when ii it deleted in master table?

|
Mr_Awdizian 2020-04-20 09:23:18
Dev 2020-04-20 01:04:32
2 background images in the sense? As far as I’m concerned, you can only output binary of one image at a time.

I mean 1 image for mobile view other for desktop view

I hve a form which on submission gibes a new page with a response saying successful submission.
So i kept a bg image for body tag
I want to keep 2 diff images though

uday7darkrai 2020-04-20 09:42:59
Mr_Awdizian 2020-04-20 09:23:18
I mean 1 image for mobile view other for desktop view

I hve a form which on submission gibes a new page with a response saying successful submission.
So i kept a bg image for body tag
I want to keep 2 diff images though

You can output both images and hide one of them using css media queries.

mynameiszubair 2020-04-20 10:33:26
Mr_Awdizian 2020-04-20 09:23:18
I mean 1 image for mobile view other for desktop view

I hve a form which on submission gibes a new page with a response saying successful submission.
So i kept a bg image for body tag
I want to keep 2 diff images though

Assalamu Alaikum its achieved using css media queries.

The diff. Images can be shown based on screen resolution criterion you set in the css media queries.

2020-04-20 11:19:01
Patricklab 2020-04-20 08:17:59
Yes

Thank you. PL contact me on my WhatsApp number 919843099051.

Mr_Awdizian 2020-04-20 11:31:05
uday7darkrai 2020-04-20 09:42:59
You can output both images and hide one of them using css media queries.

Yes
How is it done in echo i am not getting that
I need a code
Can u provide one

Mr_Awdizian 2020-04-20 11:31:12
Let me share the code i wrote
Mr_Awdizian 2020-04-20 11:40:20
// else just display the message
else {
echo ‘<!doctype html><html lang=”en”><head><title>Response from System</title>’;

echo ‘<style> body {
height: 100%;
margin: 0;
font-family: Lato, sans-serif;
color: black;
font-size: 30px !important;
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-image: url(“1.png”);
background-size: contain;

}</style>’;

echo ‘<style> .myStyle {
padding-top: 55px;
padding-bottom: 400px;
font-family: Lato, sans-serif;
color: black;
font-size: 30px !important;
text-align: center;
}</style>’;

echo ‘</head><body>’;
echo ‘<div class=”myStyle”>’.$responseArray[‘message’].'</div>’;
echo ‘</body></html>’;
}

SrEeRaG 2020-04-20 12:24:22
Hi
Anyone knows how to integrate mastercard payment gateway in php
SrEeRaG 2020-04-20 12:24:32
Pls replay
uday7darkrai 2020-04-20 12:57:44
Mr_Awdizian 2020-04-20 11:40:20
// else just display the message
else {
echo ‘<!doctype html><html lang=”en”><head><title>Response from System</title>’;

echo ‘<style> body {
height: 100%;
margin: 0;
font-family: Lato, sans-serif;
color: black;
font-size: 30px !important;
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-image: url(“1.png”);
background-size: contain;

}</style>’;

echo ‘<style> .myStyle {
padding-top: 55px;
padding-bottom: 400px;
font-family: Lato, sans-serif;
color: black;
font-size: 30px !important;
text-align: center;
}</style>’;

echo ‘</head><body>’;
echo ‘<div class=”myStyle”>’.$responseArray[‘message’].'</div>’;
echo ‘</body></html>’;
}

Where is the image?

uday7darkrai 2020-04-20 12:58:26
Mr_Awdizian 2020-04-20 11:40:20
// else just display the message
else {
echo ‘<!doctype html><html lang=”en”><head><title>Response from System</title>’;

echo ‘<style> body {
height: 100%;
margin: 0;
font-family: Lato, sans-serif;
color: black;
font-size: 30px !important;
text-align: center;
background-repeat: no-repeat;
background-position: center;
background-image: url(“1.png”);
background-size: contain;

}</style>’;

echo ‘<style> .myStyle {
padding-top: 55px;
padding-bottom: 400px;
font-family: Lato, sans-serif;
color: black;
font-size: 30px !important;
text-align: center;
}</style>’;

echo ‘</head><body>’;
echo ‘<div class=”myStyle”>’.$responseArray[‘message’].'</div>’;
echo ‘</body></html>’;
}

Give a class or id to your image and use media queries with that

Mr_Awdizian 2020-04-20 13:22:40
uday7darkrai 2020-04-20 12:57:44
Where is the image?

See that background image url 1.png

2020-04-20 15:49:26
2020-04-20 08:39:44
<?php error_reporting(0);
require ‘config.php’;

class db extends Connection {
public function waf($s) {
if (preg_match_all(‘/’. implode(‘|’, array(
‘[‘ . preg_quote(“(*<=>|’&-@”) . ‘]’,
‘select’, ‘and’, ‘or’, ‘if’, ‘by’, ‘from’,
‘where’, ‘as’, ‘is’, ‘in’, ‘not’, ‘having’
)) . ‘/i’, $s, $matches)) die(var_dump($matches[0]));
return json_decode($s);
}

public function query($sql) {
$args = func_get_args();
unset($args[0]);
return parent::query(vsprintf($sql, $args));
}
}

$db = new db();

if ($_SERVER[‘REQUEST_METHOD’] == ‘POST’) {
$obj = $db->waf(file_get_contents(‘php://input’));
$db->query(“SELECT note FROM notes WHERE assignee = ‘%s'”, $obj->user);
} else {
die(highlight_file(__FILE__, 1));
}
?>

Any one please explain me these code

Patricklab 2020-04-20 16:09:21
2020-04-20 11:19:01
Thank you. PL contact me on my WhatsApp number 919843099051.

i do not use whats app only telegram and discord

Mujhtech 2020-04-20 16:26:59
Please has anybody work with blockonomic API before
Dharmveer Kumar 2020-04-20 16:28:09
Hey guys I just want to know how to upload my slim framwork api which is running on local in live server with build
weshubh 2020-04-20 19:40:19
In PHP you can use isset() function to redirect user on different page after clicking a button.

You need to put header(“Location: uri/url”); inside registration page’s code.

prasanthraju99 2020-04-20 20:13:56
Ok
prasanthraju99 2020-04-20 20:16:57
Location URL change
prasanthraju99 2020-04-20 20:17:37
After submit the page check if condition is true go to the main page
GradeExpert 2020-04-21 01:01:00
Get quality writers to work on your paper

Https://gradeexpertwriters.com
https://t.me/gradeexpertwriters

Grade Experts
We write high school essays and book reports. We create college research and term papers. We compose post-graduate dissertations
Dev 2020-04-21 02:25:03
Check out this article.

https://phppot.com/php/php-user-registration-form/

2020-04-21 06:09:36
Got answer?
Ahadmurtaza1992 2020-04-21 09:55:25
I need experienced Shopify developer for freelance projects
Ahadmurtaza1992 2020-04-21 09:55:36
If interested then DM me
mustafapiplod 2020-04-21 10:59:35
any solution how can i hide particular field in listing when ii it deleted in master table??
2020-04-21 12:17:44
Urgent hiring In this tough time where people are loosing there jobs, We are hiring Business developer who can bring clients from BPO, Healthcare, IT And Non IT for our organization. Experience :- 1 to 5 years. Salary :- 10 – 20k. If interested drop your CV at Srija.sathvicsolutions@gmail.com
mustafapiplod 2020-04-21 12:58:54
Can i send it to you in private
Dev 2020-04-21 13:06:39
mustafapiplod 2020-04-21 10:59:35
any solution how can i hide particular field in listing when ii it deleted in master table??

Are you talking about soft-deleting?

mustafapiplod 2020-04-21 13:07:02
that i have done
mustafapiplod 2020-04-21 13:07:07
now the issue is
mustafapiplod 2020-04-21 13:07:21
when i use join query to fetch data
mustafapiplod 2020-04-21 13:07:55
at that time i want this particular data to be hidden instead of whole row
Dev 2020-04-21 13:10:16
So, you don’t want to show the column itself when the data of that column is deleted for that row?
adeguntoro 2020-04-21 13:13:10
You can use conditio with “where”.
mustafapiplod 2020-04-21 13:45:23
Dev 2020-04-21 13:10:16
So, you don’t want to show the column itself when the data of that column is deleted for that row?

Yes

mustafapiplod 2020-04-21 13:45:47
adeguntoro 2020-04-21 13:13:10
You can use conditio with “where”.

Done that .. but it remove whole row

adeguntoro 2020-04-21 14:52:47
That’s weird.
Abhishek Dutt 2020-04-21 15:15:51
Help me for JavaScript
mustafapiplod 2020-04-21 15:26:08
adeguntoro 2020-04-21 14:52:47
That’s weird.

yea… client demands broπŸ˜…

mustafapiplod 2020-04-21 15:26:19
oky
Dev 2020-04-21 15:51:26
mustafapiplod 2020-04-21 13:45:47
Done that .. but it remove whole row

Better you can use chunking option. There is a chunking feature in Laravel which you can use to work with your result set explicitly. For more information, check out its documentation.

https://laravel.com/docs/7.x/eloquent#chunking-results

Dev 2020-04-21 15:53:03
By the way, are you using eloquent or query builder?
mustafapiplod 2020-04-21 16:04:42
Dev 2020-04-21 15:51:26
Better you can use chunking option. There is a chunking feature in Laravel which you can use to work with your result set explicitly. For more information, check out its documentation.

https://laravel.com/docs/7.x/eloquent#chunking-results

Will it work in laravel 6

mustafapiplod 2020-04-21 16:04:58
Dev 2020-04-21 15:53:03
By the way, are you using eloquent or query builder?

Using join queries so query builder

Dev 2020-04-21 16:17:28
mustafapiplod 2020-04-21 16:04:58
Using join queries so query builder

If you are using Laravel 6 and its query builder, check this out then.

https://laravel.com/docs/6.x/queries#chunking-results

By the way, this feature is available since v5.3. So, you don’t have to worry about the version.

mustafapiplod 2020-04-21 16:39:34
Dev 2020-04-21 16:17:28
If you are using Laravel 6 and its query builder, check this out then.

https://laravel.com/docs/6.x/queries#chunking-results

By the way, this feature is available since v5.3. So, you don’t have to worry about the version.

Okay i will see

phinx_de 2020-04-21 17:25:40
Hello guys, Who has twitter?
2020-04-21 17:42:21
Anyone familiar with php mail
2020-04-21 18:00:17
May i know how to set up php mail in a live server
|