**Meaning of Frontend verses Backend** Frontend is the a part of the internet site customers can see and engage with including the graphical user interface (GUI) and the command line together with the design, navigating menus, texts, pix, motion pictures, and so forth. Backend, at the contrary, is the part of the website customers can't see and have interaction with. It’s all approximately how the whole lot works. **Role of Frontend verses Backend** Both play a critical function in net improvement and despite the fact that they've their honest share of variations, they are like facets of the same coin. …

Member Avatar
+0 forum 0

i have manage to insert my checkbox array data into database. the problem is when i check multiple checkbox only the first data in array is inserted in database. i need when i check multiple checkbox, all the data i have check insert into database.can someone help me? this is my php code: <?php include ('connect.php'); $cat = implode(',', $_POST['check']); if(isset($_POST['submit'])) { for($i=0; $i<count($cat);$i++) { $p_id =$_GET ['sitter']; $price = $_POST ['price']; $pickup_date =$_POST ['pickup_date']; $dropoff_date =$_POST ['dropoff_date']; $numdays = $_POST ['numdays']; $total =$_POST ['test']; $sql2 = "INSERT INTO cat_sitter(sitter_fk,cat_fk, price, date_in, date_out,total_day, total)VALUES ('$p_id','" . $cat[$i] . "','$price','$pickup_date','$dropoff_date','$numdays', '$total')" …

Member Avatar
Member Avatar
+0 forum 1

Parse error: syntax error, unexpected '||' (T_BOOLEAN_OR) in php pdo

Member Avatar
Member Avatar
-1 forum 1

hi, i have installed XAMPP, but i would like to run my localhost from another computer..

Member Avatar
Member Avatar
+3 forum 16

Im using MongoDB with PHP. Im making a check user exist using their email.It can be check, but when I enter the existing user and click the confirm button, it display the 'echo' and also display an error about converted document to int. Below is what the error say and my code. **ERROR** Fatal error: Uncaught Error: Call to a member function count() on null in C:\xampp\htdocs\project\OrgChart-master\OrgChart-master\resetPasswordSuccess.php:36 Stack trace: #0 {main} thrown in C:\xampp\htdocs\project\OrgChart-master\OrgChart-master\resetPasswordSuccess.php on line 36 **CODE** <!-- MongoDB Conn With Email Check Function V1 (FUNCTIONING) --> <!--Line 36 is at if($result==0)--> <?php if(isset($_POST['registration'])) { $registration = ($_POST['registration']); if(!empty($registration)) …

Member Avatar
Member Avatar
+0 forum 1

already this phone number registration in alert msg how to display in php and mysql

Member Avatar
Member Avatar
+0 forum 1

I have couple of shipping methods DHL & FedEx, if selected products exits in cart show only selected shipping method, how to archive using shopping cart pricing rule or any other way to do this?

Member Avatar
+0 forum 0

The world has gone mobile! People always carry their phones with them. If you want to connect with your customers where you get the most response, then you should think about investing in a customized mobile app for your brand, I recently started a business and launched a website, but it has not been bringing much traffic. I want to know the mobile app development cost in Adelaide from different sources I have been getting different responses some told me it depends on various factors like the complexity of your app or the fact that it is designed for Android …

Member Avatar
Member Avatar
-1 forum 1

implementation browser application in typescript. can anyone give a link?

Member Avatar
Member Avatar
+0 forum 1

browser application to draw, print the text. in programming language typescript. in not found google source... help! Help me find I need source code

Member Avatar
Member Avatar
+0 forum 1

I have a form which I am using to filter a recordset. It all works as I want, but for one small annoying thing - there is an empty space at the top of the list of options (see screenshot). How can I get rid of this empty option? ![empty_option.jpg](/attachments/large/4/5ddcc6d6df75ecd1a8e0babbae2b31ba.jpg) I have checked the recordset which is used to generate the options for the dropdown list and this is OK, i.e. correct number of options. <?php $con=mysqli_connect("localhost","jtwiname"); if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); } $query_rs5 = "SELECT distinct class FROM classname"; $rs5 = mysqli_query($con, …

Member Avatar
Member Avatar
+0 forum 2

I'm working on site preloader. I need help to animate div width on every image load **Concept** Check every image in container is loaded. On every image load increase width of loader in percent to match **100% loader width** ( 100% of viewport) on last image load. After last image is loaded loader will be 100% of viewport & run any function suppose **function a() { }** I think more than one **.animate();** functions needed. Is any need to use `(g = parseInt(c / a.length * 100) ` to increase width **End** Script code hints (it's uncomplete I'm working on …

Member Avatar
Member Avatar
+0 forum 2

Hello..can you help me to solve my issue I wanted to update the rows status automatically as from 0 to 1 after completion of day. I.e. update Status=1 after completion of whole day means update after 12 AM. which query should I write to execute above?

Member Avatar
Member Avatar
+0 forum 1

Please suggest something ---- Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in C:\xampp\htdocs\tourtravel\index.php on line 14** <?php include 'header.php'; include 'slider.php'; ?> <div class="container" > <div class="row"> <div class="col-sm-6"> <?php include 'tab.php' ?> </div> <div class="col-sm-6"> <?php include("config.php"); $q = mysqli_query($con,"select * from packages"); while ($r = mysqli_fetch_array($q)) { echo "<table>"; echo "<tr>"; echo"<td style='padding-right: 20px;'> <div class='albumDetail'> <a href='find_holiday.php?goto=Goa'><img class='img-responsive imghover' src='upload/$r[1]' width='220' height='150' > <span class='albumtitle'>Goa</span> </a> </div> </div> </td>"; echo"<td style='padding-right: 20px;'> <div class='albumDetail'> <a href='find_holiday.php?goto=Leh Ladakh'><img class='img-responsive imghover' src='upload/$r[2]' width='220' height='150' > <span class='albumtitle'>Leh Ladakh</span> </a> </div> </div> </td>"; echo "</tr>"; echo "<br/><br/><br/>"; …

Member Avatar
Member Avatar
+0 forum 8

** ## I want a Help to Intergrate Google Calendar API to create Events thure webisite ## ** Ihave tied some google documantation and some tutorials buth they acctually not working properly google documantions are not not working for me

Member Avatar
Member Avatar
+0 forum 1

Hi, Hope this makes sense and hope someone can help me. I have a database table with the following columns: person_id, firstname, surname, email_address. Periodically I am given a set of files to send to some of the contacts in the database table. The filenames contain the person_id and they are always of the format: person_id.pdf or person_id-2.pdf. Sometimes there is only one of the files available or sometimes it is both of the files. The files are stored in a directory on our server Example. directory: letters files: 1111.pdf, 1111-2.pdf, 2222.pdf, 3333-2.pdf The user with person_id 1111: should receive …

Member Avatar
+0 forum 0

Hi, Is there a PHP script that doesn't allow the approver to be the same as the login e-mail? > $checkEmail = test_input($_POST["Approved_by_Email"]); > if (filter_var($checkEmail == session('session_staff_email'))) { > alert("Please do not use your e-mail as the approver."); > return false; > } I tried to solve the problem, but it's so difficult to do. Here is the code that I'm trying to do. "Approved_by_Email" is the text box.

Member Avatar
Member Avatar
+0 forum 1

I have read quite a few posts on how to do this (Retain Selected Value PHP Dynamic Drop Down List), but cannot quite understand what to do. What I have works, but it does not retain the selected. Any help appreciated. <form action="" method="POST" name="form1" id="form1"> <select name="selClass" size="1" id="selClass" onchange="form1.submit()"> <option value="">Select a class</option> <?php echo "<option value='" . "All records" . "' . >" . "all records" . "</option>"; while ($row1 = mysqli_fetch_array($rs5)) { echo "<option value='" . $row1["class"] . "'>" . $row1["class"] . "</option>"; } ?> </select> </form>

Member Avatar
Member Avatar
+0 forum 1

I have performed some query operations in nodeJS with mySQL and now I want to have a reactJS form to be embedded with it to display the results on web page. Can anyone give an idea how can I achieve the same? var mysql = require('mysql'); var con = mysql.createConnection({ host: "localhost", user: "root", password: "", port: '3307' }); con.connect(function(err) { if (err) throw err; console.log("Connected to mySQL"); con.query("CREATE DATABASE testNodeDB", function(err, result) { if (err) throw err; console.log("Database created by Jawad.."); }) }); con.connect(function(err){ if (err) throw err; console.log("Database connected finally.."); var sql = "CREATE TABLE customers_primary_key (id INT …

Member Avatar
+0 forum 0

You see the example below why the error not found namespace or class ? [url]http://www.mediafire.com/file/iiak7w5nhhab3ju/Namespace_asp_net.rar/file[/url]

Member Avatar
Member Avatar
+0 forum 2

how to receive confirmation mail if any user register or login using Nodejs?

Member Avatar
+0 forum 0

Hello everyone, I am new to this daniweb community and I really hope you guys will help me with this as I am baffled at what I couldn't come up with or was it not possible to do that? I want to have a checkbox on either PHP page or on modal like I did below to be checked, then save (submit), and stored in the mysql database so users can have ability to hide or show the product's description every time we go there without it coming back when the page refresh or whatever...Is there any possible that it …

Member Avatar
Member Avatar
+0 forum 2

Hi guys i am new here..i am not have more experience with php.I have one good script ,this search on folder from name the file,example pdf file.Worked ok all goood but i need add the limit rezult for show because i search pdf name for example and this show me all file pdf,no have limit on page for rezult.I need limit this only 15 rezults,and another question possible add the messsage file not found for rezult nothing existent. thanks you very much!! <?php $dir = 'data'; $exclude = array('.','..','.htaccess'); $q = (isset($_GET['q']))? strtolower($_GET['q']) : ''; $res = opendir($dir); while(false!== ($file …

Member Avatar
+0 forum 0

I'm looking for some alternatives to Swagger UI that I can use with my API's swagger file to generate our official documentation. So far I've been looking at Apiary and ReDoc. Does anyone have any favorites? Which are the most intuitive for api documentation? Ideally I'd be looking for one with a built-in console.

Member Avatar
+0 forum 0

My career was mostly COBOL with some FORTRAN, Assembler, and C thrown in. Around 1998 my internet service provider offered free, client side sites to its customers. I picked up HTML and JavaScript from books now almost twenty years old and have several dozen pages on my site relating to hobbies or problems I was interested in at some time. When I started, forms and tables were the way to format a page. I started to learn CSS and, while I can follow working code, I am a **long** way from saying I command it. Would I have any future …

Member Avatar
Member Avatar
+0 forum 1

How to use multer npm using Express js?

Member Avatar
Member Avatar
+0 forum 1

Hi, I want to make online shop and I made most of it but I have problem on product page.I want for "customers" ( this is my personal project so ... ) to be able to choese and then what they choese to be store into table. I struggling with this more then 3 hour , I try everyhing , this is my last shoot. (I used the echo because I want to show it , so after that I would put insert into, but ... I was not able to do it ) <?php $con = mysqli_connect("localhost","root","","basic"); $query = …

Member Avatar
Member Avatar
+0 forum 1

Here my form auto responce based on drop-down list, <tr> <th>Shipping Cost (Rs) : </th> <td id="findata"></td> <input type="hidden" name="shipping_cost" id="shipping_cost"/> </tr> <tr> Same page Ajax : <script> $(document).ready(function(){ $('#new').on('change',function(){ var zip = $("#zip_postal_code").val(); var country = $("#country").val(); $.ajax({ type: "POST", // url: "ajax_ship_cost_data.php", url: "sp_cost.php", dataType: "text", data: { zip_postal_code: zip, country: country}, success: function(data) { // Check the output of ajax call on firebug console //console.log(data); $('#findata').html(data); $('#shipping_cost').val(data); } }); }); }); </script> The field **Shipping Cost** is auto responce based following field, <tr> <th>I have : </th> <td> <select id="old" name="i_have"> <option value = "select_option">Select Option</option> <option …

Member Avatar
+0 forum 0

hello every one please can any body do this task for me please becouse our instructor in the university uploaded it and I dont have enough time becouse im studying for my final exams please any one and i will be helpfull for him/her :) this is the task Create a car rental system where customers rent cars for a given period of time. Car – a class for all cars. Holds car information and an array of rents. Implement several types of cars as subclasses: Small car – 4 passengers, Motor 1200, air-conditioner Medium car – 4 passengers, Motor …

Member Avatar
Member Avatar
+0 forum 2

I am working on a reservation app in Java and it is almost complete but I keep getting this error when running my app: Exception in thread "main" java.util.NoSuchElementException: No line found at java.base/java.util.Scanner.nextLine(Scanner.java:1651) at ReservationCalculator.main(ReservationCalculator.java:34) Full Code import java.time.LocalDate; import java.time.format.DateTimeFormatter; import java.time.format.FormatStyle; import java.util.Scanner; public class ReservationCalculator { double perNight = 115.00, totalPrice; long noOfDays; int m, d, y; LocalDate arrivalDate, departureDate; public static void main(String[] args) { System.out.println("Welcome to the Reservation Calculator"); System.out.println(); Scanner sc = new Scanner(System.in); ReservationCalculator rc = new ReservationCalculator(); String choice = "y"; while(choice.equalsIgnoreCase("y")) { rc.accept(); System.out.println(rc.getArrivalDateFormatted()); System.out.println(rc.getDepartureDateFormatted()); System.out.println(rc.getPricePerNightFormatted()); System.out.println(rc.getTotalPriceFormatted()); choice = sc.nextLine(); …

Member Avatar
Member Avatar
+0 forum 1

The End.