A general chat for developers. Don't ask to ask, just ask. Here's how: https://stackoverflow.com/help/how-to-ask
@mainakchhari Sorry for coming across as stiff. Of course this place is meant for having humane conversations.
That said, dontasktoask.com does apply. If you open with only "any X <experts/hobbyists/fans/doctors/etcetera> in the room?", no matter your reason for opening in that way, you are unlikely to get any response. dontasktoask.com explains why that is the case.
We keep having to explain this to people, which is why my explanation has reduced to just the link at this point. Based on your response, though, I realize I have probably abstracted the response too much. I'll make sure to add a few more words next time.
<?php ?>
):<?php
include('config.php');
$percent_status_result="SELECT percent FROM retailer WHERE account_no='$retailer_number'";
$result55=$db->query($percent_status_result);
if($result55->num_rows > 0){
while($row55 = $result55->fetch_assoc()){
$percent = $row55['percent'];
}
}
if($percent >= 1.4 && $percent < 3){
$percent_status=2;
}else {
$percent_status=1;
}
?>
<h1><?php echo "$percent_status"; ?></h1>
```php
// your code here
```
$retailer_number
actually get interpolated in your query? I doubt that the problem is in the <
or >
operators.
@jgonggrijp Here is the code
<iframe width="560" height="315" src="https://www.youtube.com/embed/OgIeCft3cBc?start=21" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Having trouble installing Truffle on an M1 Mac. Continually getting a
error: unable to load libxcrun (dlopen(/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib, 0x0005): tried: '/Library/Developer/CommandLineTools/usr/lib/libxcrun.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libxcrun.dylib' (no such file)).
Anyone have any clue how to fix it?