- Interests
- Software Engineering
93 Posted Topics
Hello, just created a code for login using encrypted password method when user is registering at that time i made a passsword encryption script. But the main problem is that when it comes to verify login how do i veryfy the password as that password is saved as encrypted password … | |
I have created a function for displaying the shortcode within my content same as like don in wordpress not totally like it but some the thing is that when the regex becomes true will display shortcode for the given name but what happening now is it's displaying all within the … | |
I tried to make a custom php shortcode coverter for my own cms but the shortcodes are not converting in a proper way in the output its not displaying anything though as in replacement of corusel it should display Rollercoaster but right now I am getting output as This is … | |
Hello, Just created a website and want some animations so i used keframe animation in order to do so on 1 row I made an animation for the portfolio to scroll up and stop right there but it goes again at the starting point like 1 to 100 once on … | |
Just started learning codigniter and as far I learned from tutorials and by reading documentation I got and idea a basic about how to develop websites using codigniter as far as we see by using MVC framework there are many advantages so my questions is let suppose if we start … | |
Hello. I have created a filter result using php but it is not properly working for me when i filter result it is not showing me up with any products <form method="POST" action="product.php?cat=<?php echo $cat; ?>"> <div class="price-box"> <h5>Price</h5> <input type="hidden" name='price_range' class="range-slider" min="0" max="600" value="23" /> </div> <div id="filters"> … ![]() | |
Hello, I am trying to create shortcodes in an easy way for my cms I am successfull to create and replace the shortcode with the content but what if there will be 2 shortcodes placed within the content I am confused to replace it if there are 2 shortcodes can … | |
developed an admin panel in which users can add products from there and I put fields over there as size and color for the dresses dresses sizes and color would be more then 1 so I made 2 more tables in the database named prod_size and prod_color here is the … ![]() | |
Helo, I have a confussion and I need to get it solved in core php we used to create a url parameter through which we would be able to get values from the url so hwo this could be happend in codigniter for example <a href="index.php?add=1">Add page</a> //setting up a … | |
Hello, I have created a quiz system where I tried to create a condition which is just simple one if time is up then correct answer will be shown up and the button would be disabled but I am confused and unable to make some logic about I need you … | |
Hello, I am confused about the php there is used to include a file like headers footers functions etc etc so I would like to ask what is the difference between the followings: require_once(); require(); include(); include_once(); Thank You | |
Hello, I tried to integrate api of aylien which is used for article extraction I installed the sk succesffuly but when I tried to run my code it gives me an error Trying to get property of non-object in C:\wamp\www\aylien\index.php on line 15 Notice: Trying to get property of non-object … | |
Hello, I have created a form using ajax and php but when I click on submit the values in the textarea remains as it not disappears so I found a way to make form reset once I click on submit here is my code and please let me know how … | |
Hello I have created an add to cart function but when I click on add to cart it replace the previously added products Here is my code Header Area details.php <?php require_once("includes/functions.php"); if(isset($_POST["addtocart"])) { $pid = $_POST["pid"]; $prod_name = $_POST["productname"]; $prod_price = $_POST["productprice"]; $category = $_POST["cat_name"]; if(isset($_POST['command']) == 'add' && … | |
Hello, I have developed a form which containts to input type files option 1 is for downloadable file and second one is for features image but the problem is that image name is saving into the database but second file is not moving into the database <input type="file" name="ft_img" style="margin: … | |
Hello, I have created a drag and drop file uploader acctually downloaded from the internet I am trying to save the uploaded files to the database but it's unable to do so can anyone help me out or find a way for me to do so as the files are … | |
Re: Please show us the code what you tried and where is that image you want to place navigation | |
Getting an unexpected error don't know what the hell is wrong as everything is perfect as far as I noticed Parse error: syntax error, unexpected '=' in C:\wamp\www\dropbox-sdk\index.php on line 18 <?php session_start(); require_once "lib/Dropbox/autoload.php"; $_SESSION["user_id"] = 1; $dropboxKey = ''; $dropboxSecret = ''; $appName = 'puttiapp/1.0'; $appInfo = new … ![]() | |
Hello recently I downloaded dropbox SDK and Ii's located in my downloads folder and it's dragging me to hell how do we install it no proper description provided nor a good details so we would be able to install it can anyone help me out there is no code to … | |
I created a rating system where users can rate the posts, but I want to make it restrict like one user can only rate the post once I beleive my punctuation is better to be understandable like before as I got many negative feedbacks here but I am trying to … ![]() | |
Hello, I have just created a form and the form data is submitting using Ajax as I wanted the user to be on the same page after he submits the form as there are bootstrap accordian tabs data is submitting properly and retriving as well no problem but when the … | |
Hello, Created a query for getting users list excluding the logged in user well I thought about creating a simple one but huh that didn't worked for me. Okay so what logic and for what did I created for. I tried to show the users that are friends with each … | |
Re: As you have used the with in px so it wont work on mobile devices please try to use the width in % or you can take another div inside you col and give the fixed size to thenm so it can be aligned easily .col-xs-4 img { width:100%; } … | |
Hi, I am trying to submit data and saving it to the database queries are inserting properly but the problem is that when I try to insert the data the message column Let suppose i Type in Hello World! In data base it show as undefined whhy is that so … | |
Hello, I tried to created a social networking system in which I created a part of adding friends so the problem I am having if the firend is not in his are like he searched a friend normally so that friend is not in his system so it show as … | |
Hello, I have created many functions and I am trying to show messages ie when user successfully registered invalid username password invalid this and that I tried to do so using the session_start concept please let me know if this is a good approach or should i do another way … | |
Hello, Recently I wa trying to develop an audio player of sound cloud as I got inspiration from here http://en.israelstory.org/episode/whats-love-got/ you can click file 1 by 1 and notice on the player hw is it playing I also tried to do the same but it's not orking when I clicked … ![]() | |
Hello I have created a website recently and my client is saying that your website is not secured I have easily created new tables and even a kid can get in to your database and modify your database. is this because I have used this <a id="svgtriangle_f9" xlink:href="mainpage.php?apart=1&floor=9" class="portfolio-link" onmousemove="ShowTooltip(evt, … | |
Hello, I am trying to update or delete item from cart but it;s not oking session_start(); include("includes/layout/header.php"); include_once("includes/connection.php"); function get_product_name($pid){ global $connection; $result=mysqli_query($connection, "select product_name from products where prod_id=$pid"); $row=mysqli_fetch_array($result); return $row['product_name']; } function get_price($pid){ global $connection; $result=mysqli_query($connection, "select product_price from products where prod_id=$pid"); $row=mysqli_fetch_array($result); return $row['product_price']; } function get_order_total(){ … | |
Hello, I created a method to show the products by category but the condition I placed is not working if condition is working properly but else if condition not working properly if(isset($_GET["catid"])) { $statement = "posts WHERE cat_name='$cat' ORDER BY pid ASC"; $results = mysqli_query($connection,"SELECT * FROM {$statement} LIMIT {$startpoint} … | |
Hello, I am using a bootstrap modal pop up box I just need to show the data from the data base in the modal box for that I hae used ajax to do that as in normal listing when ever users click on the records view button it should show … | |
Hello, I am loking for a concept to geting started is there a way of creating a notification like on user end any one updates his post update or upload an image then on admin panel it notifies the admin like on menu bar it shows 1 and when the … | |
Hello, I tried to create a gallery using php admins can upload multiple images all the images are uploading correctly like the image is saving in the database as much as I can but the problem is that the image is saving once in the folder Like loop runs images … | |
Hello the valuies are not echoing when I am out side the loop <?php if(isset($_GET["catid"])) { $catid = $_GET["catid"]; $query_cat = mysqli_query($connection, "SELECT * FROM category WHERE cat_name='$catid'"); while($row = mysqli_fetch_assoc($query_cat)) { $h1 = $row["h1"]; $h2 = $row["h2"]; $span = $row["span"]; $catslide = $row["cat_slider"]; $ct_name = $row["cat_name"]; } ?> <div … ![]() | |
I created an add to cart function but not working properly on submit i see these errors on the place of product details Notice: Undefined variable: product_id in C:\wamp\www\connectdemo\product_details.php on line 218 etc etc.... product_details.php <?php session_start(); include_once("includes/layout/header.php"); include_once("includes/connection.php"); include_once("includes/functions.php"); if(isset($_POST["addtocart"])) { $pid = $_POST["productid"]; $prod_name = $_POST["productname"]; $prod_price = … | |
Hello, Little tricky things I am trying to create want to add more then 1 image in the database admin can create a gallery but for that he can add mor then 1 image as in gallery he can add more then 1 image dont know how to explain but … | |
Hello, I have tried to create a way though which users can create there own photo gallery but for that i created a code via whihc users can create their own folder but things a i want to do in a litle tricky way. Wank to allow users to create … ![]() | |
Tried to create a user validation process using status . I created a condition like if user status is pending it should pull up a message if user status is deactiavated it should pull up any other message and when user status is active it should login though. I created … | |
Hello, I am trying to create a little bit tricky part I thought I would be sucessfull but it didn't happend. Okay so I created a form having multiple field with the same name like users adds package details so it depends on him how much he would be able … | |
Hello, I tried to verify if users or record already exist in the database so to do that I used a concept of in array fucntion but this was not successfull here is my code function adduser($connect) { $uname = $_POST['uname']; $pass = $_POST['pass']; $email = $_POST['email']; $query_get = mysqli_query($connect, … | |
Hello, I have created many section like update delete etc on the webpage i stored a message in the session variable so when users updates deletes etc on the page a message comes up logo updated sucessfully message posted successfully etc etc so that message is stored in session variaable … ![]() | |
Hello, I have no such information or you can say less information about the ajax can anyone help me out the thing is that i want to pass dir id in the get url but that get id will be selected by the user though from a drop down i … | |
Hello, I created a login script in which I set a condition of 2 authentication user and other one is admin but the redirection is not working properly it check if user type is admin it logsin but not redirect it moves all the way downword to else condition let … | |
$(window).resize(function() { var y = screen.width; if ( y >= 767){ $(window).scroll(function(){ var x = $(this).scrollTop(), transY = (x * 0.3), scale = 1 + (x * 0.00003), transform = 'translateY('+transY+'px) scale('+scale+') translate3d(0,0,0)'; $('#banner .col-sm-6 img').css({ opacity: 1 - (x * 0.0008), WebkitTransform: transform, MozTransform: transform, msTransform: transform, transform: transform … | |
Hello, I am developing and developed couple of websites in php succeccfully but many times I have seen a query a default function of php which i see in many tutorials it has been used but I am confused about it. The function is mysqli_inser_id() I mean can anyone explain … | |
Hello, I have created an ecommerce website can anyone help me out and let me know that how do i ake a product flter or refine search what ever we say using checkboxees or anyone could sugest any tutorial please. Thank You in advance ![]() | |
Hello, just making an update link using pop up box but dont know how would i be able to get the id though here is my code <?php $get_query = "SELECT * FROM shortenedurls WHERE uid=".$id; $query = mysqli_query($connection, $get_query); while($record = mysqli_fetch_array($query)) { $url = $record['url']; $longurl = $record['longurl']; … ![]() | |
Hello, I have tried to create a simple paggigation and now i am facing a problem, I am unable to show the number of pages i.e 1 2 3 2 when i click on last page the next button is still coming up can anyone help me out . <?php … | |
Hello, Worked on PDO everything as far as i see is correct why i am getting an error ) Fatal error: Call to undefined method mysqli::insert_id() $result = "INSERT INTO users(unique_id, firstname, lastname, email, username, encrypted_password, salt, created_at) VALUES('$uuid', '$fname', '$lname', '$email', '$uname', '$encrypted_password', '$salt', NOW())"; $connection->query($result); // check for … | |
Hello, I am trying to connect with the database but the file contains OOP programing that is little bit unfimiliar for me if anyone help me out in connecting with the database. Db_connect.php <?php class DB_Connect { var $dbuser; var $dbpass; var $dbname; var $dbhost; // constructor function __construct() { … ![]() |
The End.