Hi All, As part of a university project I need to create a website that sells cosmetic products. The customer will need to go through the motions of selecting the items, placing them into a basket and going through the checkout process. However I wouldnt need to use a card merchant to process the transaction. customers would also need to sign up and create an online account. I have created simple websites before, with HTML and CSS, but thats it. What development langauges would I need to know other than the two above? I assume PHP and Javascript will be …

Member Avatar
Member Avatar
+1 forum 3

Hello All. I am new to Daniweb. I was wondersing if there are people who could help me with CouchCMS, a PHP based content management system. I am held up in an issue where I want to generate the receipts of fees being paid by the students. So by perspective of CouchCMS I have the following: 1. Student template (clonable page to store all students data) 2. Month & Fees template (clonable page to specify the respective month and its fees) 3. A Collect Fees template (for generating fees receipt using the data from Student and Month & Fees templates) …

Member Avatar
Member Avatar
+0 forum 1

how to use django web framework

Member Avatar
Member Avatar
+0 forum 1

I need help that how to make these assignment by html,javascript?? i have made admin and user login ..need codes for further more.. **description of assignment:** Salemanagementsystem have two panels.Admin login with specific id and Admin have rights to update product lists add, delete and update. Employees can create new account and login with register email. Employees can search and sale over products via sale button sales products can store in an array which display sales pages. Sales page can see admin and employees but only admin have a rights to restore or delete sales products. Use local storage to …

Member Avatar
+0 forum 0

<?php $msg=""; $image1=""; $image1_err=""; //if upload button is pressed if(isset($_POST['upload'])){ $target="images/".basename($_FILES['image']['name']); $db=mysqli_connect("localhost","root","","categories"); $image=$_FILES['image']['name']; $text=$_POST['text']; if(isset($_POST['electro'])){ $sql="INSERT INTO electronic(image,text) VALUES ('$image','$text')"; mysqli_query($db,$sql); } //move image to a file if(move_uploaded_file($_FILES['image']['tmp_name'],$target)){ $msg="Image uploaded successfully"; }else{ $msg="There was a problem uploading image"; } } ?> <!DOCTYPE html> <html> <head> <title>Image Upload</title> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div id="content"> <?php $db=mysqli_connect("localhost","root","","categories"); $sql="SELECT * FROM electronic"; $result=mysqli_query($db,$sql); while($row =mysqli_fetch_array($result)){ echo "<div id='img_div'>"; echo "<img src='images/".$row['image']."'>"; echo "<p>" .$row['text']."</p>"; echo "</div>"; } ?>

Member Avatar
Member Avatar
+0 forum 4

hello :) i wanted to know, how can i change the shutdown mode of my Windows Form Application, @ MS Visual studio 2010. i.e, my application should exit only when i close my last form.. & not when the main form is closed.. i remember, in .NET 2003 windows form application, i used to write following lines to move to forms to forms: private void button1_Click(object sender, EventArgs e) { All_Deposits ad = new All_Deposits(); ad.Show(); this.Close(); } this always worked perfectly.. but i'm in visual studio 2010, application exits, soon as this.Close() is called for the main form... so …

Member Avatar
Member Avatar
+0 forum 3

I'm a newbie in php and I want to create a single login page for Admin and user.When admin log in it should go to an admin page and when user log it shoult go to index page.I want help with my code, it works fine login normal users but i try it addind the admin part and it doesn't seem to work .Please help and Thanks in advance .. This is my validation code for the login <?php if(!empty($_POST)){ if(isset($_POST["username"]) &&isset($_POST["password"])){ if($_POST["username"]!=""&&$_POST["password"]!=""){ include "conexion.php"; $user_=null; $sql1= "select * from user where (username=\"$_POST[username]\" or email=\"$_POST[username]\") and password=\"$_POST[password]\" "; $query = …

Member Avatar
Member Avatar
+0 forum 6

Hi 1.am able to run using XAMPP on PC. When i run from my board, am not getting proper data. I mean it is not fetching the file index_1.txt.html and index_1.txt file are available in same path in sd card. Anything wrong 2.Instead of using second argument with file name, is it possible to use as a function and call it in same file in below code xhttp.open("POST", "index_1.txt", true); Please suggest Thanks and Regards Rizwan Syed

Member Avatar
Member Avatar
+0 forum 2

I have tried my best to find an info about this on the internet, but had no luck, sadly. So I would ask here: Please take a look on this [spam link removed] Can anybody tell me please how to make the same contact form (at the bottom-right corner)?

Member Avatar
Member Avatar
+0 forum 1

Hi Every Body i have a server and a numbers of clients and i when i want to open a page on the clients machine it is open in the server insted of the specified client machine. i am using host to open the required page and i am trying to use web.show_document but it is not working. i am using oracle developer 10g Any help please?????? thankyou very much

Member Avatar
Member Avatar
+0 forum 1

This the code in products <?php require_once("inc/header.php"); require_once("inc/navbar.php"); /* if user is logged in then only allow the user to view the page */ if (!isset($_SESSION['id'])){ echo "<h1 class='text-center text-upper text-bs-primary'>please login to view your cart <a class='text-black' href='login.php'>Login</a></h1>"; exit(); } else{ $user_id = $_SESSION['id']; } $carts = $db->FetchAll("*","cart","user_id='$user_id' AND active='y'","`id` DESC"); if (empty($carts)) { echo "<h1 class='text-center text-bs-primary text-25 text-upper'>your cart is empty <a class='text-black' href='products.php'>Go Shop</a></h1>"; exit(); } ?> <div class="container padding-10"> <div id="cart-container-main"> <div class="text-center text-20 text-bold" id="cart-message"></div> <table class="table"> <th>Product image</th> <th>Product detail</th> <th>Price</th> <th>Tax</th> <th>Subtotal</th> <th>Remove</th> <tr> <?php $cod= 0; $main_subtotal = 0; $main_shipping_charge = …

Member Avatar
+0 forum 0

I want to create a form on in a separate window that will then disappear on submit and update the index page??? Any help will be gratefully received

Member Avatar
Member Avatar
+0 forum 2

How do I get members on my site and forums

Member Avatar
Member Avatar
+0 forum 1

Hello .Im a final year student in bachelor of science computer in web technology. I need your suggestion for my final year project title.Do you have any related ideas?

Member Avatar
Member Avatar
+0 forum 13

Hi how do i automate data sharing or airtime using php. E.g i want a third party to able to share my airtime or data from my website. For instance if i dial *600*mobileno*amount*my secret pin# will automatically share my airtime with d owner of this mobile number. So my question here is how do i automate this using php?

Member Avatar
Member Avatar
+0 forum 2

Hi I am struggling how to list all the permissions and with checkboxes. if anyone can help me with it this is the code echo "<table cellpadding='0' cellspacing='0' width='100%' class='table table-bordered'>"; echo "<tr>"; echo "<th>PERMISSION</th>"; foreach($user_groups->rows as $row) { echo "<th class='checkbox'>".$row['title']."</th>"; } echo "</tr>"; $users_permission_query = $this->db->query("SELECT * FROM users_permission"); foreach($users_permission_query->rows as $row) { $group_permissions_rows = json_decode($row['permission'], TRUE); echo "<tr>"; echo "<td>".$row['module']."<br />"; foreach($group_permissions_rows as $key => $value) { echo "{$key}<br>"; } echo "</td>"; echo "<td>"; echo "<table cellpadding='0' cellspacing='0' width='100%'>"; for($i=0; $i < count($group_permissions_rows); $i++) { foreach($group_permissions_rows as $key => $value) { echo "<tr>"; echo "<td><input type='checkbox' name='permissions[" …

Member Avatar
Member Avatar
+0 forum 4

<body class="bg-dark"> <div class="container"> <div class="card card-login mx-auto mt-5"> <div class="card-header">Change Password</div> <div class="card-body"> <form method="post" action="change-password.php"> <div class="form-group"> <label for="username">Username</label> <input class="form-control" id="username" type="text" name="username" aria-describedby="nameHelp" placeholder="Enter username" required> </div> <div class="form-group"> <label for="New Password">New Password</label> <input class="form-control" id="newpass" type="text" name="newpass" placeholder="Enter new password" required> </div> <div class="form-group"> <label for="Confirm Password">Confirm Password</label> <input class="form-control" id="confpass" type="text" name="confpass" placeholder="Enter confirm password" required> </div> <div class="form-group"> <div class="form-check"> <label class="form-check-label"> <input class="form-check-input" type="checkbox"> Remember Password</label> </div> </div> <div class="form-group"> <button type="submit" name="submit" class="btn">Submit</button> <br> </div> </form> <div class="text-center"> <a class="d-block small mt-3" href="login.php">Login</a> </div> </div> </div> </div> <?php $con=mysqli_connect("localhost","root","","goods_management_system") or die(mysqli_error()); …

Member Avatar
Member Avatar
+0 forum 4

Hello! I'm learning to program. I'm watching courses on how to create blogs in "laravel". I created an admin panel with the function of adding the article "form html". it is: title, description, text field - name is "section" I would like to add a button to add another "section". after clicking "add" will appear again: title, description, text field. after adding a few sections and publishing the article, each section would be a separate "row" with a class of 100% to be visible on the whole page. moving the mouse would move to the next section. unfortunately I do …

Member Avatar
+0 forum 0

The Code was made in notepad++ and made intoa .batch file. I want to add more questions but find it difficult. can some help @echo off title game :menu echo 1) start echo 2) intro echo 3) exit set /p menu= if %menu% == 1 goto game if %menu% == 2 goto help if %menu% == 3 exit :help cls echo hit the correct answer and press enter. pause :game echo what is your name? set /p name= echo hello %name%! pause cls echo who was the first president of the USA? echo 1) George Washington echo 2) Pierre Desperau …

Member Avatar
Member Avatar
+0 forum 1

Im working with two different servers. I'm facing difficulty in transferring files between them. Please help me with the same.

Member Avatar
+0 forum 0

**-EIQ Studio's-** is looking for new/semi-new web developers looking to further their skills and experience in Web Development by assisting the Community with our Website. Once completed, A percentage of all profits that come through the website will be awarded to the developers.

Member Avatar
Member Avatar
+0 forum 2

hi i used this simple form which are these..but i want to protect password from oracle database if user enter wrong name and password then not login otherwise login <!DOCTYPE HTML> <html> <head><br> <style> .error {color: #FF0000;} </style> </head> <body style="font-family: verdana, sans-serif;";> <hr /> <div style="width: 77%; height: 300px; padding: 30px; border: 5px solid #e3e3e3; background-color: #F8F8F8 ; color: #000; margin: 100px;" align="center"> <br> <h2>Login</h2> <form method="post" action="login.php"> <font size="3">name:<input type="text" name="name" style="padding: 4px;"/><p> password: <input type="password" name="password" style="padding: 4px;"/><p> <input type="submit" value="Login" style="padding: 4px; width: 5em; height: 1.9em;"/></font> </form> </div> </body> </html>

Member Avatar
Member Avatar
+0 forum 1

I have been making sites and learning code for the past couple years or something like that. For the most part little individual stuff, yet I as of late made and customized a wordpress site for a relatives business. Presently I have been getting calls and reached about doing some wordpress creation/advancement for other nearby organizations and individuals I know. I have been doing this very "non professionally" by simply tweaking the youngster subjects code in wordpress itself, or by signing into Bluehosts cpannel document chief. I know this isn't the correct approach to do it and I need to …

Member Avatar
Member Avatar
+0 forum 1

Whenever i execute this, only the last row of the loop gets inserted even if i click on the first row or any row. What i need is: if i click register, the entire selected row must store in another table Whats wrong here? Please help me.. <table class="table table-striped jambo_table table-bordered"> <thead> <tr> <th width="75px">Semester:</th> <th width="110px">Subject Code:</th> <th>Subject Name:</th> <th width="110px">Exam Type:</th> <th width="110px">Marks:</th> <th width="75px">Action:</th> </tr> </thead> <?php $view_users_query="select * from details WHERE regd_no='" .$_SESSION['regd_no']. "'";//select query for viewing users. $run=mysqli_query($dbcon,$view_users_query);//here run the sql query. while($row=mysqli_fetch_array($run))//while look to fetch the result and store in a array $row. …

Member Avatar
Member Avatar
+0 forum 1

I've been learning and experimenting with NodeJS, and the project I'm using is to port a homemade content management system (CMS) written using the Linux/Apache/MySQL/PHP combination. One of the areas I am trying to update is protecting against spam on a contact form. The NodeJS version is based upon Linux/Mongo/Nginx/Javascript (why Mongo? because I wanted to learn how to work with it!) I have a server side check that helps to reduce spam by assigning a unique ID to each form downloaded and having that ID entered into the database along with a pointer to the form handler. Each form …

Member Avatar
Member Avatar
+0 forum 2

hi everyone.. please my code is having an issue... i made a select query and its displaying the error in the IMAGE attached... the code is also attached... pls what could be the error.... the image ain 't uploading....so below is the error... ( ! ) Warning: mysql_fetch_array() expects parameter 1 to be resource, object given in C:\wamp\www\testpro\admin\categories.php on line 91 Call Stack # Time Memory Function Location 1 0.0025 143568 {main}( ) ..\categories.php:0 2 0.0620 153304 mysql_fetch_array ( ) ..\categories.php:91

Member Avatar
Member Avatar
+0 forum 2

If a table contains field's like name,age tuition fee,bus fee,year, 1,2 When I tried to update 1 year details it is updating but when I try to update the entire fields it's not updating in form of jsp page

Member Avatar
Member Avatar
+0 forum 5

Hello Everyone. Please how can i make a Like button in PHP.. i want the button to be clicked. the button see the far i 've gone with the attachements... like feature starts from... line 84 - 107

Member Avatar
Member Avatar
+0 forum 3

Hi I have the following form at [http://test.genealogyresearchassistance.co.uk/newLinks.php](http://test.genealogyresearchassistance.co.uk/newLinks.php) The code is <form id="add" action="add.php" method="get"> <label for="name" id="name">Name of site</label> <input type="text" name="name" required="yes"><br/> <label for="link" id="link">Link of site</label> <input type="url" name="link" required="yes"><br/> <label for="desc" id="desc">A bit about the site</label> <textarea name="desc" required="yes"></textarea><br/> <label for="location"> Location:</label> <?php include 'database_conn.php'; $sql = "SELECT Lo_ID, Lo_Name FROM location"; $queryResult = $dbConn->query($sql); if($queryResult === false) { echo "<p>Query failed: ".$dbConn->error."</p>\n</body>\n</html>"; exit; } else { while ($rowObj = $queryResult->fetch_object()) { $Lo_ID = $rowObj->Lo_ID; $Lo_Name = $rowObj->Lo_Name; echo "<input type='checkbox' name='location[]' value='$Lo_ID'>$Lo_Name<br/>"; } } $dbConn->close(); ?> <label for="type"> Type of site: </label> <?php include 'database_conn.php'; …

Member Avatar
Member Avatar
+0 forum 4

Hello, I have two submit buttons(submit OTP & Resend OTP) in form. I need model validation(submit OTP) on one button(if OTP is not entered) and on second button(Resend OTP), it should post/submit(send OTP in Email) the form. on server side, I'll check formaction and will do diff. operations for both buttons. Thanks.

Member Avatar
Member Avatar
+0 forum 2

The End.