Hello i want to show the full image in a specified height div like this <div style="width:400px"> <img class="images" src="someimage.jpg"> </div> i tried this .images { width: 100%; height:auto; }

Member Avatar
Member Avatar
+0 forum 2

I am developed a custom PHP page with filters, addto cart module, music playlist everything. How can i implement it into WordPress? I am a newbie, any help thanks. My custom PHP work directory structure : location : public_html/my_work website URL : website.com/my_work Everything working good, but my wordpress heaer and footer missing, thats what i am asking to how to implement my custom development multiple PHP page work into Wordpress.

Member Avatar
+0 forum 0

I have table i wish to count how many times a value appears in all column the table structure id Subject1 Subject1score subject1grade Subject2 Subject2score subject2grade 1 English 100 A Mathematics 100 C HERES MY PREVIOUSLY TRIED CODE <?php $subject1grade='A'; $subject2grade='A'; $subject3grade='B'; $a=array("$subject1grade","$subject2grade","$subject3grade"); print_r(array_count_values($a)); ?> THE RESULT Array ( [A] => 2 [B] => 1 ) I NEED THE CODE TO DISPLAY You made 2A(s), 1B(s) I want to count how many A's and C's

Member Avatar
Member Avatar
+0 forum 3

Create a collection of these javascript files as an experiment to play with the language, or to solve problems for myself work.I also hope to give some help to those who need to use this script or save time searching the Internet and just starting to learn I would gladly accept pointers from others to improve, simplify, or make the code more efficient Welcome to join [project address github](https://github.com/gongmw/js-example) create-dir-if-not-there.js - Checks to see if a directory exists in the users home directory, if not then create it and automatically create parent directories. use-recursive-traverse-folder.js -Recursively traverse the folder files use-glob-traverse-folder.js …

Member Avatar
+0 forum 0

I am wondering if anyone could recommend the best CMS for an Airbnb-style marketplace that allows people to sublet their apartments, and other people to search, filter, and pay for the apartments listed. These are the main requirements: - Ability to sign up both buyers and sellers. - Accounts for buyers can be created automatically without approval by an administrator. Seller accounts will require approval. - Sellers can have multiple listings, but each listing must be approved by an administrator before going live in the system. - For each apartment listing, seller can fill out information for a number of …

Member Avatar
Member Avatar
+0 forum 5

Hi - I am using a signup form to send emails to signup@longisland.li. If someone sends an email directly to signup@longisland.li, Boxtrapper works and requires the verification. But if an email is sent through the contact form, it goes through without verification. The logs show the following message: Processing email with trusted transport method [local] For some reason Boxtrapper allows messages to go through since my server is handling the contact form locally. Is there a way to fix this? Thanks, Jim

Member Avatar
Member Avatar
+0 forum 1

after i key-in the form, the function change the whole column with the same value for example if i put first name JOHN it will update whole column with JOHN <?php session_start(); require_once("connection.php"); if (isset($_POST['edit'])) { session_start(); $s=mysqli_query($con,"UPDATE user SET first_name ='" . $_POST['first_name'] . "'"); $row = mysqli_fetch_assoc($s); if ($s) { $_SESSION['user_name']=$_POST['user_name']; $_SESSION['first_name']=$_POST['first_name']; echo "<script type='text/javascript'>alert('Successful - Record Updated!'); window.location.href = 'profile.php';</script>"; } else { echo "<script type='text/javascript'>alert('Unsuccessful - ERROR!'); window.location.href = 'profile.php';</script>"; } } ?>

Member Avatar
Member Avatar
+0 forum 2

Hi everyone, I am trying to connect my html form to database using php pdo but everytime i try to submit my data it shows undefined

Member Avatar
-1 forum 0

I have a leaflet.js map on a Bootstrap web page. On first view of the page the map doesn't show, but on resize it shows. Can anyone suggest a fix for this? This is my code. html <div id="mapid"></div> css <link rel="stylesheet" href="https://unpkg.com/leaflet@1.5.1/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin=""/> #mapid{ height: 500px; width: 100%} scripts <script src="js/jquery.min.js"></script> <!-- map scripts --> <script src="https://unpkg.com/leaflet@1.5.1/dist/leaflet.js" integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og==" crossorigin=""></script> <script> var mymap = L.map('mapid').setView([55.70926, -3.87980], 10); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token={accessToken}', { attribution: 'Map data © <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="https://www.mapbox.com/">Mapbox</a>', id: 'mapbox.streets', accessToken: 'my access token is added here' }).addTo(mymap); L.polygon([ [55.88084,-4.33693], [55.86716,-3.89044], [55.70384,-3.73715], [55.66049,-3.82521], [55.64809,-4.14605] ]).addTo(mymap); …

Member Avatar
Member Avatar
+0 forum 1

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar
Member Avatar
+3 forum 9

Hi guys, its there any way to change the trigger of this button "add to cart" to run this link? I keep trying to figure out how to edit but it dosent work. :(. Buttton: `<button type="submit" name="add-to-cart" value="<?php echo esc_attr( $product->get_id() ); ?>" class="nm-simple-add-to-cart-button single_add_to_cart_button button alt">text1</button>` Link that i want to trigger from that button insted going to shop cart: `<a href="javascript:void(Tawk_API.toggle())"</a>`` I really appreciated if I can be helped please, i know it is a simple code but i can't solve the code.

Member Avatar
Member Avatar
+0 forum 1

I have a popup from index.ejs, called math.ejs. After pressing the submit Ok button, I want the math.ejs popup to close and to show the calculated value on index.ejs. But right now, when I press the submit button, the popup goes to index.ejs and updates it there; it does not close. It does not update it on the normal index.ejs browser page. I have to refresh that page for it to update. <form class="" action="/index" method="post" name="mathform"> <p>Value: <%= myValue %></p> <button class="btn btn-md" name="button" value="confirm" onclick="CloseAndRefresh();">Ok</button> </form> <script language="javascript"> function CloseAndRefresh() { opener.location.reload(true); setTimeout(function() { window.close(); }, 3000); } …

Member Avatar
+0 forum 0

Hello, I would like to style my table. I have two different table that I would like to style differently. How to do so? This is what I try but it does not work: table, td { padding: 5px; } .order table, td{ width: 5px; } </style> <table class="order" border="1"> <tr> <th>Nama Produk</th> <th>Harga</th> <th>Jumlah Pembelian</th> <th>Tipe Produk</th> <th>Total</th> </tr> <tr> <th><input type="text" name="fname"></th> <td><input type="text" name="fname"></td> <td><input type="text" name="fname"></td> <td><input type="text" name="fname"></td> <td><input type="text" name="fname"></td> </tr> </table> One table order I would like to set the width : 5px. Please help. Thanks in advance.

Member Avatar
Member Avatar
+0 forum 6

Please help me to creating code for my images from form to public folder and retrieve it on my view trough database This is my form: <form = method="post" action="/saveform1" > {{csrf_field()}} <input type="text" class="form-control" name="yourname" placeholder="Enter your Name"> </br> <label> Your Email </label> <input class="form-control" type="email" name="email" /> </br> <label> Your Tp Number </label> <input class="form-control" type="number" name="tp" /> </br> <label> Subject </label> <input class="form-control" type="text" name="subject" /> </br> <label for="exampleFormControlTextarea1">Your Message</label> <textarea class="form-control" id="exampleFormControlTextarea1" rows="3" name="message">

Member Avatar
Member Avatar
+0 forum 1

Hi, i want to include images in email,i write the following script which unfortunatly not working,please any one help me resloved my issue `$to = "example@gmail.com"; $subject = "new account created"; $body = "New account has been created <img border=’0' src=’http://www.example.com/myimages/track.php?MID=1111&SID=2222' width=’1' height=’1'> " ; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= "From: admin@gmail.com"; $neww=mail($to,$subject,$body,$headers); `

Member Avatar
Member Avatar
+0 forum 12

Hi All, Its been years I have done any css and even then I wasnt very good at it. However I have decided that I am going to have another crack at it. I am trying to put a div on top of a div to look like the below example: https://ibb.co/MRQp5tg my css /*Outer Div*/ .header{ position: relative; float:left; overflow: hidden; /*inner div */ .float{ width: 100%; height: 100%; position: absolute; top: 0; left: 0; float:right; } Any ideas, I have tried playing around with the postioning, but cant get it to work. Thanks

Member Avatar
Member Avatar
-1 forum 3

Please I need your help, I am new to PHP and I need your help in inserting multiple select array into the database in the form of this. This is what I want to achieve. My table has 3 columns (id, examno, results). I want results column to be inform of subjects grades, subjects grades.........depending on the numbers of subjects and grades users select (e.g English C6, Mathematics C6) all in one column results. ## This is my html codes ## <form action="insert.php"> <div class="form-group"> <label>Exam Number</label> <input type="text" class="form-control" name="examno" id="examno"> </div> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="table table-borderless" …

Member Avatar
+0 forum 0

Please I need your help, I am new to PHP and I need your help in inserting multiple select array into the database in the form of this. This is what I want to achieve. My table has 3 columns (id, examno, results). I want results column to be inform of subjects grades, subjects grades.........depending on the numbers of subjects and grades users select (e.g English C6, Mathematics C6) all in one column results. ## This is my html codes ## <form action="insert.php"> <div class="form-group"> <label>Exam Number</label> <input type="text" class="form-control" name="examno" id="examno"> </div> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="table table-borderless" …

Member Avatar
+0 forum 0

Hello. I am having a problem here. So I have this slider which display the pictures with status "1" which means displayed. Here comes the problem, when there's no pictures with the status AKA "0" (not-displayed), the default image doesn't show up. Here's the script. <div class="carousel-inner"> <?php $no=1; $default=$this->db->get_where("penyaluran", array("status" => "1"))->result(); $g='image.jpg'; $n=''; foreach($default as $pict) { if ($g=$pict->foto_dokumentasi) { $n=$pict->nama_penyaluran; } else { $g='image.jpg'; $n= ''; } if ($no == 1) { $status = 'active'; } else { $status = ''; } ?> <div class="carousel-item <?php echo $status; ?>"> <img src="<?php echo base_url('uploads/'.$g); ?>" alt="" style="max-height: 300px; …

Member Avatar
+0 forum 0

Hi Dani, I am very much new in web development, i developed a page in bootstrap HTML and now i want to pull some data from mysql. i am able to pull data in php but not in HTML.

Member Avatar
+0 forum 0

$strSPQuery = "SELECT * FROM `san_pham` where ma_san_pham=".$arrMa[$i]; $resultSp= mysqli_query($conn,$strSPQuery); $rowsp = mysqli_fetch_array($resultSp); $tong += $rowsp["gia"]*$arrSl[$i];

Member Avatar
Member Avatar
+0 forum 3

Hi, Phrases on video is getting stacked up on each other after some iteration. Please help. Here is the link: http://responsivemts.com I have attached the screenshot for your reference. Thank you, ![Capture.JPG](/attachments/large/2/7db0d27700994ee4f0982cf8d3a54c3e.JPG)

Member Avatar
-1 forum 0

Hay, Everyone I am doing seo of my site "[font generator](https://fontvilla.com/)" but I notic that after submmiting url through Google Search Console 2 or 3 page are repeating with same Meta Title and URLs. I don't know how to remove these duplcate URLs from the SERP? Can anyone guide me in this situation. Thanks.

Member Avatar
Member Avatar
+0 forum 2

hi everyone! I am wondering if anyone can point me in the right direction regarding cookies and sessions. What I need to know is this; I am developing a website that has mixed html and php pages. I am wanting to have "members" where certain web pages are accessible to them. this is not the problem. the problem comes when I have a member that is logged in - they are great to surf through ANY of the accessible web pages within the site, however, if they want to visit an html web page within the site..how can i ensure …

Member Avatar
Member Avatar
+0 forum 1

Hello Coders, I am working on ASP.NET Web Forms. In my page there is a GridView which should have a feature to upload multiple files at the same time to the server. Can you help me in implementing this feature. I want: 1. The files should be uploaded from the GridView on the button click. 2. The upload button should be located on the footer of the GridView. 3. I want to do it in 2 ways - page postback pay and through AJAX. Thank you....

Member Avatar
+0 forum 0

I have some simple scripts like blogs, forums, and so on. They are not of high quality but I want to sell them. The problem is that I cannot build a professonal website. But I want to sell my work. Where can I find a marketplace for such items? Note that I can't sell with Themeforest because they have a strict moderation.

Member Avatar
Member Avatar
+0 forum 8

Actually iam a new PHP Learner, i developed an web app using Bootstrap, PHP, Mysql. Now i want to give login access for gmail id's which are already existed in my database, so i used login with google API, but want deny login access for any other gmails which are not existed in my database.

Member Avatar
Member Avatar
+1 forum 2

Hi all, I am wondering what is the best way to setup Ninject, ASP.NET Identity and Entity Framework? Normally (without Ninject) I would create my solution by separating the MVC project from Data project and things would work just well, but I can't really figure out the best way to add Ninject there. Is there any good example out there? I would like to handle user authentication with roles on my ASP.NET MVC project and handle the data access via EF. Thank You

Member Avatar
Member Avatar
+0 forum 2

We currently have a website running, domain.com but we are going to change the website and we are working on the new website under dev.domain.com it is a wordpress system we are putting together, is there a way to setup dev.domain.com as domain.com but still not be out in the public yet? I have tried with dns forwarding with mask (godaddy) but failed, I also tried with a cname, but failed. What I would like, is to have minimal downtime, simply change DNS IP records and done, but still have the team develop in a almost realistic enviroment. thank you

Member Avatar
Member Avatar
+0 forum 2

I have used the breadcrumblist mentioned by the schema.org for my [[website](www.xenex-media.com.au)](https://xenex-media.com.au/) <script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://xenex-media.com.au/" },{ "@type": "ListItem", "position": 2, "name": "About Us", "item": "https://xenex-media.com.au/gold-coast-web-designers/" },{ "@type": "ListItem", "position": 3, "name": "Our Services", "item": "https://xenex-media.com.au/digital-marketing-agency-gold-coast/" },{ "@type": "ListItem", "position": 4, "name": "Contact Us", "item": "https://xenex-media.com.au/contact-us/" }] } </script> And this is the result showing in Google searches: https://i.imgur.com/wYTqfZ7.png What is missing? Please guide. Regards.

Member Avatar
Member Avatar
+0 forum 4

The End.