2,222 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for ianhaneybs

I have a opencart 2.3 store and I have downloaded a extension that shows all products on one page, it creates a category called All and displays all products in that category. It's working all ok but I would like to have the product filter displayed in the left column …

-1
21
Member Avatar for Kirubel_2

<!DOCTYPE html> <html style="font-size: 16px;" lang="en"><head> <title>Comment</title> <script src="js/jquery.js"></script> <link rel="stylesheet" href="sign.css"> </head> <body class="u-body u-overlap u-xl-mode" style="background: url(img/arcane.png);" data-lang="en"> <div class="container" style="text-align:left;margin-top: 10px;margin-bottom:30px; margin-left: auto; margin-right: auto;background: #fff;" > <div class="title">Registration</div> <form action="#" enctype="multipart/form-data" method="POST" > <div class="user-info"> <div class="input-box"> <span class="text">First name</span> <input type="text" name="firstname" placeholder="Enter Your firstname"> …

0
10
Member Avatar for seo-specialist

**Dear members of Daniweb.com,** Allow me to introduce myself: I'm **Somsak Döppers**. With extensive expertise in WordPress, PHP, web design, Python, MySQL, and SEO since 2007, I serve as a **Senior SEO Specialist**. I've had the honor of winning the SEO contest twice in 2011 and 2012. If you have …

0
11
Member Avatar for Kirubel_2

<!DOCTYPE html> <html> <head> <title>Exercise V3.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="w3.css"> </head> <body> <div class="container"> <div class="header"> <ul> <li ><i class="fa fa-home" id="me"></i></li> <li><i class="fa fa-trash" ></i></li> <li ><i class="fa fa-close" id="he"></i></li> </ul> </div> <div class="title"> <span>Completed 15 of 67 Exercises:</span> </div> <div class="nav"> <ul> …

1
87
Member Avatar for Mindmade
Member Avatar for nander

Anyone seen or had this happen before, whenever I add, edit or delete in this datable. It only does this when I add the js pagination\search ![TableDuplicate.JPG](https://static.daniweb.com/attachments/4/792aec684975bfed8e5e50cce0835187.JPG)

1
44
Member Avatar for devphp

Hello all. I am trying to use four modals in codeigniter. Main page has four simple links, each of them pops up its modal. Then each modal has a form with upload image, this means main page requires four images which would be uploaded through modals. The upload form is …

0
165
Member Avatar for Chloe_6

With this, I'm needing to first off start with the search bar that searches for the last name of a customer. Once the search button is pressed, in a table below it is to produce the full name of the customer, their email address and their city they reside in. …

0
44
Member Avatar for Adom_1

We have ready to use job board software and want to update it with new features. Please check the below url and suggest some updated features. https://www.logicspice.com/job-board-software

0
32
Member Avatar for emsanator

$html = 'Hello there this is image 1 <img src="http://www.example.com/XXX1.jpg" width="653" height="340" alt="xxx" title="xxx"> !! And Now you can see image number 2 <img src="http://www.example.com/XXX2.jpg" width="653" height="340" alt="xxx" title="xxx"> yep.'; $dom = new DOMDocument; $dom->loadHTML($html); $imgs = $dom->getElementsByTagName('img'); $imgURLs = []; foreach ($imgs as $img) { if (!$img->hasAttribute('src')) { continue; …

0
52
Member Avatar for 09jesses

I have what I call a buildList, or better yet a Wishlist or cart. Inside this "buildList.php" is roughly 10 links, +ADD, that basically act like a button and categorized "part-1, part-2, part-3...etc. When a user chooses one button, lets say "part-1 +ADD", it links to the "contents.php" page to …

0
607
Member Avatar for ChrisJ

I’m trying to modify a web script where a drop-down works successfully. How can another drop-down field appear only after a selection has been made from the first drop-down list? Here’s the current code: <?php if ($pt->page == 'category' && $pt->show_sub == true) { ?> <div class="pull-right col-md-3 no-padding-left"> <select …

0
44
Member Avatar for Umar code
0
19
Member Avatar for naimake

Hi, I need your help. I am a newbie in PHP and my update statement is not working despite seeing all the values from the console. My code for the bootstrap modal file: <!----------------------------------- modal begin --------------------------------------> <div class="modal fade" id="editmodal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div …

1
30
Member Avatar for javi2015
0
70
Member Avatar for emiliolorenzo30

$sql = "SELECT cl_id, cl_name, cl_service_description, cl_contact, cl_dept,status, expiry_date from contract_list"; $result = $conn-> query($sql); if($result->num_rows > 0) { while($row = $result-> fetch_assoc()) { echo "<td>$row[cl_id]</td>"; echo "<td>$row[cl_name]</td> "; echo "<td> $row[cl_service_description]</td>"; echo "<td>$row[cl_dept]<td>"; echo"$row[status]"; echo "<td>$row[cl_contact]</td>"; echo "<td>$row[expiry_date]</td>"; echo "<td></td>"; echo "<td><div class=table-data-feature>"; echo "<button class='item' data-toggle='tooltip' data-placement='top' title='send'>"; …

0
24
Member Avatar for emiliolorenzo30

<?php require('cns.php'); $conn = mysqli_connect("localhost", "root", "", "cns"); if ($conn-> connect_error) { die ("Connection failed:". $conn-> connect_error); } $sql = "SELECT cl_id, cl_name, cl_service_description, cl_contact, cl_dept,status, expiry_date from contract_list"; $result = $conn-> query($sql); if($result->num_rows > 0) { while($row = $result-> fetch_assoc()) { echo "<td>$row[cl_id]</td>"; echo "<td>$row[cl_name]</td>"; echo "<td> $row[cl_service_description]</td>"; echo …

0
43
Member Avatar for Shazz_1

I have a problem to do price data and i don't know to insert it into the coding this is question ![Screenshot_2021-09-23_015318.png](https://static.daniweb.com/attachments/4/7cc52f3407b6a914f395c8aaa4644c69.png) this is the coding that i have made <?php $page_title = 'Yoho Express!'; include ('includes/header.html'); ?> <form action="q2.php" method="post"> <p><h1><fieldset><legend>Enter your information in the form below:</legend></p></h1> <p><b>Departure day:</b> …

0
135
Member Avatar for Rishabh_8

I have learning this from youtube,php quiz using ajax. I am facing problem when click on next button after last question it is not redirecting on final page. Please help me to fix this. I think responseText not working. Question.php page to where i display question <script type="text/javascript"> var questionno="1"; …

0
83
Member Avatar for Bright_4

HI, CAN I GET SOME HELP RE-WRITING THE BELOW. CODE 2 REFERENCES CODE 1 USING $sendData VARIABLE. I WOULD LIKE TO REMOVE CODE 1 COMPLETELY. CAN I GET HELP WRITING CODE 1 INTO CODE 2, PERHAPS IN FORM OF ARRAY? CODE 1 $sendData = '{ "messages" : [ { "content" …

0
32
Member Avatar for matei_

Hello, As the title says, my question is: how I can get the values for specific ID? For example, my plugin creates a PDF that automatically fills in with information that I get using API from my CRM platform. So, what I am trying to do now, is that in …

0
115
Member Avatar for Marco_18

Hello, I created a function to show data related to a database called skede with fields "name" "surname" "age" in a page called vive.php This is the code function mostraskede(){ $ricercaskede = query('SELECT * FROM skede ORDER BY id LIMIT 1 OFFSET 0'); conferma($ricercaskede); while ($row = fetch_array($ricercaskede)){ //echo $row['titolo']; …

0
35
Member Avatar for scrummy

There is a PHP login code but I don't know how to show the error message when the user types wrong datas into the input fields. I used to have a `echo"Wrong username or password!";` But I want to display a DOM element. I don't know how to make it. …

0
3K
Member Avatar for scrummy

I have a page that list all of the users from mysql database. I put a **delete** button in it so you can delete the profile instantly. But I didn't want to delete the user instantly so I put a code that create a modal box when you click onto …

0
260
Member Avatar for osaita

Hi there, I am trying to get images onto an HTML5 canvas. The images are on the same page in a sidebar panel getting loaded in through php. If you click on an image on the sidebar, I want it to appear on the canvas. I am learning jquery, but …

0
42
Member Avatar for TechnoJarvis

i want to store 2 column value in multi rows like if i paste a value in textarea like (12.50,25.100,5.30,78.500,98.2000) and this value insert in my table with 2 column like col1 col2 12 50 25 100 05 30 78 500 98 2000 so sir can you please help

0
40
Member Avatar for domandidomandi

I am new for PHP. I tried to display text box value based on drop down selection. it seems code working. no error display here. But when i change the drop down, text box value shows empty. Even print the data it will display only null. HTML:- <select name="cat" id="cat"> …

0
58
Member Avatar for Getyou

<?php $dataContent = $user->name; if ($user->active) { if (!$user->active) { $dataContent .= ' <span class="label label-default">Inactive</span>'; } if($user->teams and $user->active){ foreach ($user->teams as $team){ $dataContent .= ' <span class="label label-primary">'.$team->name.'</span>'; } } $assignee = isset($filter_var['assignee']) ? $filter_var['assignee'] : []; if (!filter_var($assignee)) { $assignee = [$assignee]; } $assignee = array_unique($assignee); } …

0
28
Member Avatar for jeffersonalomia

Hi, I would like to ask for help regarding on passing multiple data or array in View Composer The error that I encounter is **Trying to get property 'settings_cust_comments' of non-object (View: B:\projects\web\redesign\resources\views\myapps\myapps\index.blade.php)** Please see code below Thanks in advance MyComposer.php <?php namespace App\Http\View\Composers; use Illuminate\View\View; use App\Model\MyApp\SettingsApps; use App\Model\MyApp\SettingsMainMenu; …

0
55
Member Avatar for Emeka_2

Hi all,` The below code is giving me problems. <?php $ddaa = $pdo->query("SELECT id, stockname, stockno, producer FROM storemaster order by stockname");; while ($data = $ddaa->fetch(PDO::FETCH_ASSOC)) { echo '<option value="'.$data['stockno'].'" data-producer="'.$data['producer'].'"> '.$data['stockname'].'</option>'; } ?> This is the script: <script> $('#stockname').on('change',function(){ if($(this).val() !=0){ $('#stockno').val($(this).val()); $('#producer').val($(this).attr('data-producer')); } }); </script> All I wanted …

0
46

The End.