39,316 Topics

Member Avatar for
Member Avatar for Harman_2

In my code below I am using javascript and php for building registration form. There are two files register.php that contains html code for form, javascript library and javascript code. Second file reghand.php handles php code for validation and inserting data. Data is inserted correctly into database after form validation …

Member Avatar for Taywin
0
607
Member Avatar for Anoopgupta

I am trying to build a web application that can also run on mobile phones. Is the html code generated by imgmap_desktop can be run on both web and mobile? or rather web responsive type?

0
137
Member Avatar for UK-1991

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: …

Member Avatar for minitauros
0
199
Member Avatar for kashif farooq

[code=php]// display records page wise code starts: $adjacents = 3; $tbl_name="feedback"; // $display = "SELECT COUNT(*) as num FROM $tbl_name"; $display = "SELECT COUNT(*) as num FROM $tbl_name"; $total_pages = mysql_fetch_array(mysql_query($display)); $total_pages = $total_pages[num]; /* Setup vars for query. */ $targetpage = "dispfeed.php"; //your file name (the name of this …

Member Avatar for dineshkumar R
-1
790
Member Avatar for shany0786

There is no problem in my code it's running fine but i want some suggestion.I have edit profile page for user when user is login he can click on edit profile button to edit his profile but i have what i we generally see is when user click on edit …

Member Avatar for shany0786
0
2K
Member Avatar for LibraryCode

Hi all , could you help me to create update function from these code: Controller: <?php class BooksController extends CI_Controller{ public function __construct() { parent::__construct(); // $this->load->helper('url'); // $this->load->helper('form'); // $this->load->library('form_validation'); // $this->load->helper('html'); // $this->load->model("BooksModel"); } function getAuthors(){ $config['base_url']=site_url("/BooksController/getAuthors/"); $config['total_rows']=$this->BooksModel->record_count(); $config['per_page']=3; $this->pagination->initialize($config); $data['Authors'] = $this->BooksModel->getAuthors(3,$this->uri->segment(3)); foreach ($data['Authors'] as &$row) { …

Member Avatar for diafol
0
398
Member Avatar for lucky_@

i am new to php development ,today i faced trouble to sent email from localhost using xampp kindly solve my problem plzzz if u need more info about it comment me soon really need of help

Member Avatar for diafol
0
185
Member Avatar for Aeonix

I'm working on certain PHP-skill-teaser. No background is really needed as error is purely PHP-based. The [PasteBin](http://pastebin.com/N8UKt1JW). I have double do-while in there, however I can't modify variables from within that loop, they simply don't affect the variable anyhow. I have tried a lot of solutions, including those about `$GLOBALS` …

Member Avatar for cereal
0
234
Member Avatar for praba_web

Hi there, I want to make rest api in codeigniter .Already have created backend for web app.I need to fetch json data from third party(Request Response).Can you give me the idea how to integrate rest api in backend?

Member Avatar for cereal
0
442
Member Avatar for richardelectrix

Hi there, I need to add a custom Breadcrumb to my WooCommerce product pages as the standard one links back to Category pages that I don't use. I need the breadcrumb to be: You are here: Home > Products > Product Name The code below displays the page/product title separately …

0
137
Member Avatar for infoitmanoj
Member Avatar for diafol
0
3K
Member Avatar for iamthwee
Member Avatar for UK-1991

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 …

Member Avatar for UK-1991
0
226
Member Avatar for UK-1991

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 …

Member Avatar for diafol
0
261
Member Avatar for vijiglad

This is the code to delete image in a folder... [CODE]<?php $path = "uploads"; if(isset($_POST['file']) && is_array($_POST['file'])) { foreach($_POST['file'] as $file) { unlink($path . "/" . $file) or die("Failed to <strong class='highlight'>delete</strong> file"); } header("location: " . $_SERVER['REQUEST_URI']); //redirect after deleting files so the user can refresh without that resending …

Member Avatar for Sujeet_1
0
17K
Member Avatar for slrobinson1983

hello all. i have the following code... SELECT * FROM data WHERE no_2 = no_1 + 1 AND no_3 = no_2 + 1 AND no_4 = no_3 + 1 AND no_5 > no_4 + 1 UNION SELECT * FROM data WHERE no_2 > no_1 + 1 AND no_3 = no_2 …

Member Avatar for invisal
0
252
Member Avatar for best4earn

I have a software which demands this extensions on server , i tried by using xampp but failed. In the beginning it demands zend Guard Loader . I have tried to install on xampp but it can't be installed. I have already read this topic and follow and many topics …

Member Avatar for diafol
0
238
Member Avatar for richardelectrix

Hi there, I am currently building a website using Wordpress, Woocommerce, and Woocommerce's Tab Manager plugin. On the product pages, you can see a tab called "IP Ratings..." which should have a little symbol next to it (which we creat using the sup html tags). However, the tags themselves are …

Member Avatar for Taywin
0
204
Member Avatar for UK-1991

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 …

Member Avatar for cereal
0
287
Member Avatar for Jiby_1

while using below code the error is : Warning: Cannot modify header information - headers already sent by (output started at.......................) please help frnds.......................plz <?php header('Location:index.php?menu=18');?>

Member Avatar for diafol
0
104
Member Avatar for shashigowda

Hiiii,Good Evening I have a code that search for data in the database but I can search for only 1 keyword in a time,which is working fine for single keyword. if I type 2 keywords separated by a space or comma's which return blank page. I would like to modify …

Member Avatar for pritaeas
0
2K
Member Avatar for jeffersonalomia

I have problem with my PHP AJAX code for uploading file. At first, it works fine then after a few months and reinstallation of my wampp server the code produces an error Error: Undefine variable ls_no, ch_no, grp_co, browser Heres the code that I wrote // upload_file.php <?php include_once("db_connect.php"); $chars …

Member Avatar for diafol
0
307
Member Avatar for vinomashwin

I want to know how to create a registration page and login page ... any tutorials about this and i need some complete web templates too(not just home page)... can any one help me.....any ref plz

Member Avatar for diafol
-5
3K
Member Avatar for joshmac

I am hoping that someone can point me in the right direction for this. I have a system that has default .po/.mo files located here: *./app/lang/es_ES/LC_MESSAGES/default.mo/.po*. The system has a plugin system where the plugin's .po/.mo files could be loaded here as an example: *./app/plugins/helpdesk/languages/es_ES/LC_MESSAGES/helpdesk.mo/.po*. As you can see, they …

Member Avatar for joshmac
0
141
Member Avatar for Simon180

Hello am trying to encrypt my strings in delphi I already encrypted my needed strings in php but am having a little trouble getting the matching string from my delphi test application below is the php code am using to encrypt on website then following code is my delphi app …

Member Avatar for Simon180
0
1K
Member Avatar for jeffersonalomia

I am wondering if it is safe to debug a c++ code on my website? If theres an article that talk about that pls. post the link together with your reply. Thank you :)

0
103
Member Avatar for Testt

Hi all, I was trying to create a kill switch for hours but with no success i wasnt able i have tried css killswitch and ajax killswitch, this is the tutorial http://menacingcloud.com/?c=ajaxKillSwitch2 i tried but wasnt able to make it work i also researched and found csskillswitch.com but also that …

Member Avatar for gentlemedia
0
564
Member Avatar for phoenix254

Hi, I Have this php code: <?php //require('dbconnection.php'); $conn = mysqli_connect('localhost','root','','user_registration'); if (mysqli_connect_errno()){ echo "Failed to connect to MySQL: " . mysqli_connect_error(); }else{} ; function getUsers() { //return require('online-users.txt'); $getAllUsers = mysqli_query($conn,"SELECT * FROM login"); if($getAllUsers === FALSE) { die(mysqli_error()); // TODO: better error handling } while($rows=mysqli_fetch_array($getAllUsers)){ echo $rows["firstname"]; } …

Member Avatar for cereal
0
12K
Member Avatar for shashigowda

i have installed wordpress in localhost,till yesterday it was working properly.but now i have tried to login to admin panel using **localhost/destin/wp-admin**,it is simply redirecting to http://localhost/destin/login/?redirect=http%3A%2F%2Flocalhost%2Fdestin%2Fwp-admin%2F this url.i have also a tried **localhost/destin/wp-login.php** in this case also it is redirecting to some strange URL.pleasehelp me ASAP

Member Avatar for shashigowda
0
597
Member Avatar for LibraryCode

![NetbeansCI.png](/attachments/large/4/aad0aaa52fdee4151cdd4fc9b8eab22c.png "align-center") I have netbeans,xampp is running,database is ok.All functions running no problem,but this one,keep getting 404 error.Double checked the spelling and the code.Can not figure out the problem.

Member Avatar for cereal
0
168

The End.