17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Lau_1

Hello, i not sure what is the problem with my code. Below is my code. <?php if(isset($_SESSION["products"]) && count($_SESSION["products"])>0){ $total = 0; foreach($_SESSION["products"] as $product){ $product_name = $product["name"]; $product_price = $product["price"]; $product_code = $product["product_code"]; $product_qty = $product["product_qty"]; $currency = "RM "; $img = mysqli_query($link, "SELECT img FROM internet_shop where id=$product_code"); …

Web Development ecommerce javascript json
0
228
Member Avatar for Webville312

Hi, I need to have passwords encrypted whenever a user signs up. How can I attain that? Any ideas? Thanx in advance.

Web Development mysql php
Member Avatar for Dini_1
0
17K
Member Avatar for sahilmohile15

Hello guys, Here i am having another error. Error is undefined index on my products.php page i tried everything i can to define it but if i define it code doesn't work so here's the code products.php: <?php require_once $_SERVER['DOCUMENT_ROOT'].'/Online Store/core/init.php'; //Including database path stored in init.php include 'includes/head.php'; //Including …

Web Development mysql php
Member Avatar for pritaeas
0
461
Member Avatar for mblan180131

hello, fellow computer geeks. I seem to be having a problem with this javascript code. It's for a new game that I am making in cloud9.io's developer. when I run it, it executes everything up to the document.write("<img src='loading.gif' id='load' />"); and ignores everything else. I can't seem to get …

Web Development javascript
Member Avatar for mblan180131
0
223
Member Avatar for sahilmohile15

Hello, i am having an in closemodal function don't know what it is function closeModal(){ jQuery(#details-modal).modal('hide'); setTimeout (function(){ jQuery(#details-modal).remove(); jQuery(.modal-backdrop).remove(); },500) } please help

Web Development php
Member Avatar for hericles
0
304
Member Avatar for sahilmohile15

Hello i am developing a project but getting an error i don't know why is this happening and i have tried everything i can. please help me i am providing code below it requires 3 files to understand it so i am sending them: index.php <!-- Main Content--> <div class="col-md-8"> …

Web Development javascript-jquery mysql php
Member Avatar for hericles
0
439
Member Avatar for James_43

Hi all, Something disturbing is happening... I make an AJAX call to a page and it returns unprocessed PHP, not HTML. However, when I navigate to the page manually, the PHP is processing as expected. This must be a huge security vulnerability? My AJAX call is: $('#forgot').click(function(e){ e.preventDefault(); lFormContainer.load("ajax/?page=authenticate/username"); }); …

Web Development javascript javascript-jquery php
Member Avatar for James_43
0
680
Member Avatar for sahilmohile15

Hello, I am working on a project for online store but i am getting the error Fatal error: Call to a member function querry() on a non-object i have tried everything i can think of, please help me, i am in a bit hurry. Here's my code init.php : <?php …

Web Development mysql php sql
Member Avatar for sahilmohile15
0
554
Member Avatar for priyanka85

I have this function call which I need to convert to POST request because this is getting popped up in query parameter in SSL security threat. Could you please help ? Thanks LoadYearMakeModelUsingAutoVin(controlId, 'RequestXml.aspx?name=GetVehicleInfoUsingVinCanada&VinOrSerialNumber=' + vinOrserialnumber); ------------------------------------ function LoadYearMakeModelUsingAutoVin(controlItem, dataSourceUrl) { var xmlDoc; var xmlDoc2; if (window.ActiveXObject) { var xmlHttp …

Member Avatar for AleMonteiro
0
352
Member Avatar for FarrisFahad

Hello, I am trying to understand PayPal IPN proccess. I have built this simple script to test with the IPN simulator in the developer section of PayPal. I have tried different type of transaction status but it keeps returning VERIFIED. Can someone please explain to me how does this work? …

Web Development php
Member Avatar for FarrisFahad
0
378
Member Avatar for SagarSe7en

Hello All, I am currently working on developing an authentication system. Below are the details: This code inserts the details (username and password) to the database. the password is hashed and stored in the db package org.controller; import java.io.IOException; import java.io.PrintWriter; import static java.lang.System.out; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; …

Web Development java-jsp
Member Avatar for SagarSe7en
0
384
Member Avatar for rouse

In this HIML I am flipping an icon on a hover using CSS3 transform. When this HTML is run, the hover is contained in the vertical dimension but not in the horizontal dimension. I wonder if anyone know why? <!DOCTYPE html> <html> <head> <title>Flip Card Demo title</title> <meta charset="UTF-8"> <meta …

Web Development html-css
Member Avatar for rouse
0
246
Member Avatar for FarrisFahad

I want to integrate PayPal IPN and payment getaway on my website. I want my website users to be able to sell ad space through my website using PayPal. I want the payment to be from my user (Advertiser) to my user (Publisher). Here is what I have done so …

Web Development mysql php
Member Avatar for FarrisFahad
0
352
Member Avatar for Faile

I'm trying to figure out how to make the following code work: <ul> <li id='anvil1' class='locked' onclick='anvil1.countCheck("anvil1", "defense", 10, event.button);'>+10 Defensive Ability</li> <li id='anvil4' class='locked' onclick='anvil4.countCheck("anvil4", "[\"defense\", \"constitution\"]", [10, 20], event.button);'>+15 Defensive Ability <br />+20 Constitution</li> </ul> These links are accessing methods from the the star object. I need the …

Web Development javascript
Member Avatar for diafol
0
3K
Member Avatar for Tameat614

Hello, I am unable to fetch and display images in my wordpress blogs as its shortlinked by IFTTT in format "http://ift.tt/22lveRw", can someone please help me out with this, the follow code does fetch the image if its in normal format i.e "http://i.imgur.com/Z2aGVEl.png", what changes do i need to make …

Web Development first-post image php wordpress
Member Avatar for rproffitt
0
270
Member Avatar for SimonIoa

Hello i want my website to be responsive i have made media querries for several devices. There is one thing i cant understand on my mobile phone that says analysis 720X1280 and its 5.0 inch sreeen phone here are the media querries. <style type="text/css"> .box { width:80% } .block { …

Web Development html-css ipad iphone
Member Avatar for gentlemedia
0
454
Member Avatar for divyakrishnan

Hi , I am using following script to get the values of the language details. <FORM action="final.php" method="post"> <div align="center"> <table width="434" border="0"> <tr> <td>Languages Known</td> <td>Speak</td> <td>Read</td> <td>Write</td> <td>Delete</td> </tr> <tr> <td> <select name="lang[]" id="select"> <option value="">-Select-</option> <option value=1>Hindi</option> <option value=2>English</option> <option value=3>Tamil</option> <option value=4>Telugu</option> <option value=5>Kannada</option> </select></td> <td><input …

Web Development php
Member Avatar for p@user
0
284
Member Avatar for Stuugie

Hi All, I have a simple form that I want to send me an email when the button is clicked. I have two questions, 1. How can I make the fields Name and Email mandatory? 2. It does not send an email to me when used with my smartphone, which …

Web Development android email smartphone
Member Avatar for Stuugie
0
299
Member Avatar for joshl_1995

Hello Daniweb, I feel kind of awkward asking this but, I've been offered to make an adult portfolio website and I was wondering if I should display that I've made it, as well as display it on my websites portfolio. I'm thinking not because I don't really want "smutt" related …

Web Development
Member Avatar for jkon
0
721
Member Avatar for showman13

I would like to be able to have a script that could run as a CRON job that would check the price of an item on a site like eBay or Amazon to keep a watch on it for fluctuations. Does anyone have a suggestion as to how to implement …

Web Development php
Member Avatar for showman13
0
205
Member Avatar for zachattack05

On our site we have a "News and Information" section at the top of our landing page. Right now it looks like this: ![news.PNG](/attachments/large/2/edb1aaabb260ba04b597c3a2f4a351b3.PNG "align-center") I'd like to change this to look something like the image below, but I'm having a hard time figuring out how to do this, or …

Web Development asp.net css-bootstrap
Member Avatar for zachattack05
0
522
Member Avatar for James_43

A theoretical question about connecting to hidden services through PHP. Say I am writing an application on the clearnet that relies on data stored within a mySQL database that is hosted on a hidden Tor service. How would I initiate this connection? Some brief research has pointed me towards the …

Web Development mysql php
Member Avatar for cereal
0
1K
Member Avatar for mrcniceguy

I want to create a single profile page for members. The way I want it is when any user logs in he will automatically be taken to that single profile page. I am wondering if there is a way I can make the code IN PHP extract only the profile …

Web Development display php
Member Avatar for Carsten_1
0
7K
Member Avatar for Lau_1

Hello, my bootstrap right panel cannot switching well. when i click #food link, it show the item, and when i click #drink link, it still ok to show the item, but, when i want to click #food link again, it doesnt work. Can anyone help me? <div class="panel-body"> <ul class="nav …

Web Development css-bootstrap
Member Avatar for Lau_1
0
237
Member Avatar for Nomorewine

Hello everyone. Please help me. Select box <select> is not working in phonegap app only on gingerbread. It works on iOS and Adroid ice cream sandwich + jelly bean. I use jquery 1.9.1 and iscroll 4.2.5 and phonegap 2.3.0. Does anyone has any idea why would it work in ics …

Member Avatar for diafol
0
2K
Member Avatar for pezzinae

Hello everyone pleas help me with this I need a formula that can convert my data into barcode with crystal report in visual studio 2013 and Connectcode trial version I'm new with this so any help will be great

Web Development asp.net visual-studio
Member Avatar for pezzinae
0
164
Member Avatar for ravi142

Hello, I have one website that i have transfer to subfoder of second parent website. but permalinks still takes parent url. As bellow. [Subfolder_website](http://nitrohits.com/blog) [parent_website](http://nitrohits.com/) When you seen /blog and click on menu that redirect to parent website. I dont want to inherite parent htaccess. Both website have htaccess files. …

Web Development php
Member Avatar for rproffitt
0
110
Member Avatar for abhi10kumar

How I can convert ? Tue Mar 15 2016 05:30:00 GMT 0530 (India Standard Time) into 2016-03-08T00:00:00+05:30

Web Development php
Member Avatar for cereal
0
122
Member Avatar for mario90

hello great community, i hope my question is clear .... i use banner rotator for my site but i want to see which banner get better ctr (click through rate) . also to not confuse the vistor with the other links i would need to hide the <a href target> …

Web Development javascript javascript-jquery
Member Avatar for mario90
0
430
Member Avatar for rouse

Anyone familiar with Compass to help solve a problem with sprites loading. The markup in the compile CSS points to the wrong address for the loading of the sprites. Here is the generated CSS /* ===================================================== */ /* Sprites /* ===================================================== */ .spr-sprite, header h1 { background-image: url('/images/spr-sf52e1e883c.png'); background-repeat: no-repeat; …

Web Development html-css
Member Avatar for rouse
0
186
Member Avatar for James_43

Hi all, I just have a question about how PHP works. Say I have several classes that I call but don't `unset()` once I've finished with them, how long will the server hang onto that data. Is it completely dependant on the client connection to the server? Similarly, I understand …

Web Development php
Member Avatar for jkon
0
206
Member Avatar for Stefce

I have host on 000webhost when i will try to connect it gives me this error i cannot figure out whats the problem ? `Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/1130): Host '31.170.161.176' is not allowed to connect to this MySQL server in /home/a2548020/public_html/includes/connection.php on line 6` here is my connection script <?php …

Web Development client-server php
Member Avatar for Stefce
0
348
Member Avatar for pezzinae

Hello again Please your support with the next statement in vb.net and access database this is part of the code can you help me the error code is missing operator in query expression str = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=\\MXDTBTZ3XC1\Users\MXDTBTZ3XC1\Desktop\refacciones web\surtido.accdb" con = New OleDbConnection(str) sql = "select * from material where IDDOS …

Web Development asp.net microsoft-access vb.net
Member Avatar for pezzinae
0
591
Member Avatar for pezzinae

Hi all can you help me I really don´t know why my web app is being deformed when a message is shown I Been trying the update panel but it just does nothing when try to retrieve information from a database in access

Web Development asp.net javascript sql
Member Avatar for pezzinae
0
150
Member Avatar for RudyM

Hi again, So I finally get a live site set up locally for development and it's mostly ok. What I just noticed is that the links do not seem to work. So I go to the permalink settings through the dashboard, just to view, and suddenly Voila! All links work …

Web Development wordpress
Member Avatar for RudyM
0
290
Member Avatar for rpv_sen

Hi I am trying to update the ON / OFF status through the below code. If i change the OFF status to ON, its getting a value is OFF. can any one please help to fix the issue. **toggle.php** <div id="setQuickVar1"> <input type="checkbox" data-switchery <?php if($SCYQ64EV01=='Y') echo 'checked'; ?> /> …

Web Development css-bootstrap javascript php
Member Avatar for rpv_sen
0
9K
Member Avatar for James_43

Hi all, just a quick question. I believed that `$('#value')` was a jQuery function equivalent to `document.getElementById('value')` however, in the code below, only the second function gives the desired result. Can someone explain why this is? $('#value').value = "1"; document.getElementById("value").value = "1";

Web Development javascript javascript-jquery
Member Avatar for AleMonteiro
0
223
Member Avatar for James_43

Hi all, I'm having some serious issues with AJAX forms. I'm currently using jQuery 2.2.0 and the jQuery Form plugin. I have a simple php file: <?php if(isset($_POST)): print_r(json_encode($_POST)); endif; ?> I have a simple html form: <form method="post" id="regform"> <input id="login_name" name="login_name" type="text" > <input id="login_password" name="login_password" type="text" > …

Web Development javascript javascript-jquery php
Member Avatar for James_43
0
235
Member Avatar for prakash2813

I have working struts1 dispatch action and a form having two submit buttons which have parameter and value which calls method name with value. Well there is no problem. But when clicking on delete button, I want to confirm with bootstrap dialog. $('.btnDelete').on('click', function(e){ var $form=$(this).closest('form'); e.preventDefault(); $('#confirm').modal({ backdrop: 'static', …

Member Avatar for prakash2813
0
453
Member Avatar for James_43

Hi all, I have two square <div> containers one under the other. When I click a button, I would like the second <div> to fade on top. Because the top <div> is transparent, the bottom <div> needs to be hidden first. I have given the second div a Z-index of …

Web Development javascript
Member Avatar for James_43
0
510
Member Avatar for Niloofar24

Hello. With running this command: `python manage.py validate` I faced with this error: `Unknown command: 'validate'` What should I do now? For more explanations: - Linux - Virtualenv - Python 3.4.3+ - Django (1, 9, 2, 'final', 0)

Web Development python python-django
Member Avatar for Niloofar24
0
327
Member Avatar for vivek.vivek

I have written a code to automate my webpage to do a search and download a report. Till selection of the report everything works fine. But download click is not working after clicking checkbox. It works well if i keep the download click bust before checkbox select. But I need …

Web Development perl
0
311
Member Avatar for RudyM

Hi all, I'm having an issue with a local copy of a live WordPress site. The local site itself "http://localhost/mywordpress/" works, but when I try to access the wp-login.php page, it redirects me to the production site. I do the following under a local XAMPP setup: copy the production WP …

Web Development mysql wordpress
Member Avatar for RudyM
0
399
Member Avatar for janicemurby

hi all i have got a problem with my profile photo upload script after converting to mysqli everytime i go to upload a image i get the following error: Strict Standards: Only variables should be passed by reference in /home/matureco/public_html/registration2.php on line 11 and the code for that section is …

Web Development file-system php
Member Avatar for janicemurby
0
279
Member Avatar for squeak24

Hey Everyone. I am having issues with a responsive SVG and wondering if any of you can help. Bascially, I have an SVG image. I have tried to add it into an object: <object type="image/svg+xml" data="svgfile.svg" width="99%"> Your Browser does not support SVG</object> But the problem with this, I have …

Web Development seo
Member Avatar for squeak24
0
307
Member Avatar for referag

please i need to query 2 tables at once and display the content in table. here is the code: <?php include 'database.php'; $pdo = Database::connect(); $sql = 'SELECT producs.*,validation_superviseur.* FROM products ORDER BY product_id DESC ,validation_superviseur ORDER BY id DESC'; foreach ($pdo->query($sql) as $row) { echo '<tr>'; echo '<td>'. $row['cat_id'] …

Web Development mysql php sql
Member Avatar for drjohn
0
383
Member Avatar for keanan

Hello, I have been searching far and wide but am yet to find a solution, my php mail sends email to all addresses except hotmail (not weven junk). Code: $message = "Welcome to Sky Crew, Your personal account for the Skye Crew has been created! Your personal login ID and …

Web Development email php
Member Avatar for swati_7
0
3K
Member Avatar for Thomas_31

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Thomas' Story</title> </head> <body style="background-color:lightblue;"> <h1 style="color:Orange; text-align:center;"><B>Thomas'Story Page</B></h1> <h1 style="color:Orange; text-align:center;"><B>Let's Make a Story Together!</B></h1> <h2 style="color:Black; text-align:center;">You fill in the blanks and we'll go from there!</h2> <hr> <h3>Now, just fill in the boxes below and when you're finished click the button for …

Web Development gui javascript
Member Avatar for kgweb
0
247
Member Avatar for london-G

Hi Guys, I am currently trying to find out what the problem might be [here:](http://5th-floor.co.uk/circle_test/index.html) I basically want the other circle to display the images properly like in the first circle. My code is as below: HTML <head><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/component.css" /><script src="js/modernizr.custom.js"></script></head> <div class="container"> <!-- …

Member Avatar for rubberman
-1
306
Member Avatar for Richmond_1

Can anyone help me for this problem ?.. I have a Log-in form and i want to validate the username and password to log-in but the account is default. This is my Code <html> <head> <title></title> <script> function LogIn(){ user = document.getElementById("User").value; pass = document.getElementById("Pass").value; use = "1"; if(user == …

Web Development
Member Avatar for Richmond_1
0
207

The End.