39,323 Topics

Member Avatar for
Member Avatar for AhmedHan

I heard a rumour that there is a program named "PHP Tripod" that does the same thing as PHP, MySQL and Apache. Like "three in one". The reason I am looking for this program is having troubles with Apache. Do you know how can I get this program? I searched …

Member Avatar for cwarn23
0
335
Member Avatar for ribrahim

Hello, I'm using fpdf library to generate pdf invoice. I manage to view the pdf invoice for one item row only. below is the code: $qry = "SELECT invitems.itemId, invitems.invoiceId, invitems.itemNumber, invitems.ChargesID, invitems.itemDesc, invitems.itemAmountO, invitems.itemAmountP, invitems.discountAmount, charges.ChargesTitle, invitems.itemqty FROM invitems LEFT JOIN charges ON invitems.ChargesID = charges.ChargesID WHERE invoiceId = …

Member Avatar for ribrahim
0
2K
Member Avatar for hareeshshinde
Member Avatar for Gideon_1
0
143
Member Avatar for Firmace

Hello Guys.... Im a first year student in web coding. Im making my exam project right now and i really need you guys help for this simple thing :D. In my school we are using PHP, and ofcause im making my menu with a database and php.. Well my problem …

Member Avatar for diafol
0
1K
Member Avatar for Stephano

CODE 1 <input name="input_19" value="Job Seeker" id="choice_19_1" tabindex="19" type="radio"></input> CODE 2 <input id="register_role_job_seeker" type="radio" checked="" value="Job Seeker" name="register_role"></input> Iwant to have code 1 two changed to be code 2, through assigning it in an if statement that i want to place in the functions.php , so that values that are …

Member Avatar for bnmng
0
148
Member Avatar for scorpionz

Hi this is scorpionz I am uploading an excel sheet file using PHP Now the file code is working fine for gif files but not working if i provive xls extension Here is the php main code [code] <?php // include 'config.php' include 'uploadcode.php'; if(isset($_POST['upload_file'])) { $user_file = $_FILES["car_info_file"]["name"]; upload_files($_FILES["car_info_file"]["name"]); …

Member Avatar for SuperGOAT
0
13K
Member Avatar for grakovski

Hello, I search wysiwyg editor with fully support of HTML and PHP. I dont want extra <p> and <b> tags after <?php and before ?>. I prefer to work with PHP to get the content with $_POST. I dont want ajax methods. I test some editors all morning and cannot …

Member Avatar for Gideon_1
1
680
Member Avatar for mattster

Recently I've stumbled on a nice tool that I really quite like, so I thought I'd share it: Personally, I love the power behind PHP. I find it a very simple to use yet possesses the techniques seen in the more complex desktop applications such as Perl/Python/C/C++/C# etc. PHP has …

Member Avatar for Gideon_1
7
1K
Member Avatar for veedeoo

This tutorial is intended for people who are looking for alternative to PHP template engines like smarty, twig, dwoo, TBS, and others. Not all developers are willing to take the extra efforts needed to learn the template engine syntax. Some are just left behind thinking that PHP is a template …

Member Avatar for Gideon_1
6
2K
Member Avatar for CodeAngry

# SEO URL Redirection Basics: TUTORIAL # First you can see/get/use some code here. <?php /** * Redirect the visitor to another URL using a proper status code. * * @param string $URL * @param int $StatusCode * @copyright Claude "CodeAngry" Adrian * @license http://www.wtfpl.net/ */ function RedirectURL($URL = null, …

Member Avatar for Gideon_1
0
571
Member Avatar for Devi_3

$str="james//bond"; $str= mysqli_real_escape_string($con,$str); //insert query after successful insert in database it value shows as "james/bond" how I can insert exact string

Member Avatar for Gideon_1
0
279
Member Avatar for paul-lucas

Hello, I'm looking for the download solution from data on MySql to file .ical aims to import to Outlook Calendar. Do you have something to share with me? Thank a lot.

Member Avatar for diafol
0
246
Member Avatar for jonlloydd

I am trying to log a user out of my CMS after a set amount of time. By inactive I mean has not clicked the mouse or typed on there keyboard. So after 30 minutes of inactivity my log out function is ran. There is already a log out function …

Member Avatar for tobyITguy
0
384
Member Avatar for hrushi9

I downloaded Simple Directory https://wordpress.org/plugins/simple-directory/ & Recommended Plugins to run the Simple Directory plugin INSTALLING SIMPLE DIRECTORY http://lautman.ca/simple-directory/ But it is not working well. After Installing plugin, when you add Listings, it gives problem with `archive-listing.php` while displaying listings. How to set up pages to create directory???

Member Avatar for hrushi9
0
292
Member Avatar for ramsiva

Any body help me how to use stored procedure and sample code for how to use. I dont know usage of stored procedure. Currently i am facing interview questions on stored procedure

Member Avatar for ramsiva
0
369
Member Avatar for ehpratah

Hi Im having a hardtime making my query work the way it should be.i'm getting wrong output. basically what im trying to do is a simple user statistic that will show the user inputed data and user processed data base on the date range the user selected. heres the screenshots …

Member Avatar for ehpratah
0
284
Member Avatar for paul-lucas

Hello, please help me sold this issue. It can read the content on the MySql table but when I change the value on the input, then click on Submit, nothing is updated on the table. I don't know why. <?php global $wpdb, $current_user; $user_id = get_current_user_id(); $sql = 'SELECT `slot`, …

Member Avatar for tobyITguy
0
254
Member Avatar for Roldan_1

Hello to all, i have my problem using php in updating mysql database, i have codes here. my problem is, when i click update, all data update altogether, i dont know what is wrong on my codes, your help is much appreciated. <?php if(isset($_POST['req_code'])){ $servername = "localhost"; $username = "root"; …

Member Avatar for Gideon_1
0
339
Member Avatar for paul-lucas

Hello, after print my query print_r ($code_2); I have received the result which has the duplicate array. Please help me to merge them! Thanks. Array ( [0] => stdClass Object ( [id] => 1 [name] => admin [phone] => 353534545 [notes] => ) ) Array ( [0] => stdClass Object …

Member Avatar for paul-lucas
0
323
Member Avatar for Roldan_1

I have my codes here, i cant update my database using this codes please help. if(isset($_GET['submit'])){ $servername = "localhost"; $username = "root"; $password = ""; $dbname = "elev8groupportal"; $conn = new mysqli($servername, $username, $password, $dbname); // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } //$req_code = $_POST['req_code']; …

Member Avatar for lps
0
219
Member Avatar for berserk

I cant seem to understand the issue with this statement, admittedly i have not written this code myself but have found it and modified it to work with what im doing, as most open source code is. This is for a secure login script that will pull a salted password …

Member Avatar for berserk
0
1K
Member Avatar for ribrahim

Hello, I hope that I can get an answer for this question. I have a MYSQL table for charges which contains the following fields: ChargesID, ChargesTitle, OfficialFees and ProfessionalFees. What I need is to make a dropdown list which contain ChargesTitle and upon selection to autofill the OfficialFees and ProfessionalFees. …

Member Avatar for ribrahim
0
4K
Member Avatar for praba_web
-1
159
Member Avatar for Betterwebsites4u

Please help I am creating this contact form where everything is working fine but I am not getting attachment in the email, What am I doing wrong? Here is the code Here is the script I am using <script type="text/javascript" src="js/jquery-1.11.0.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $("#submit_btn").click(function() { //get input field …

Member Avatar for lps
0
635
Member Avatar for lily4nero

<?php require_once('includes/dbconn.php'); error_reporting (E_ALL ^ E_NOTICE); session_start(); $userid = $_SESSION['userid']; $username = $_SESSION['username']; ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Home</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body> <!--Header--> <div class="header"> <div class="logo"> <img src="images/logo.gif" alt="logo" /> </div> </div> <!--Start of content--> <div class="content"> <div class="padding"> <div class="contentarea"> …

Member Avatar for Gideon_1
0
161
Member Avatar for SimonIoa

I have a problem with mysqli syntax. I really can't see what the problem is in this code. I dont know much about it. When i use it on a function like this public function Somefunction() { $query=mysqli_query($this->db,"SELECT title,url,img FROM table WHERE status='1' ORDER BY id DESC")or die(mysqli_error($this->db)); while($row=mysqli_fetch_array($query,MYSQLI_ASSOC)) { …

Member Avatar for SimonIoa
0
175
Member Avatar for info@infotech
Member Avatar for Gideon_1
0
78
Member Avatar for sam1

hi, I am creating a form for user to update their details which is saved in the database. So far i can show their details in the form where i have a submit button but the updating part doesnt work(it doesnt update at all). here is the code: [CODE] <html> …

Member Avatar for diafol
0
3K
Member Avatar for Gideon_1

Hello everyone, I have been using xampp for my web app developments for quite a while now. Usually after the app development is done, I upload my files to paid hosting. Now, this is the case I'm designing a school's accounts managements software which will be used on an intranet. …

Member Avatar for broj1
0
1K
Member Avatar for praba_web

Hi there, I follow this tutorial for my web app. link: http://www.thesoftwareguy.in/creating-multi-user-role-based-admin-using-php-mysql-bootstrap/#comment-4583 Can anyone give me idea to do this same app using codeigniter.? Thanks.

Member Avatar for diafol
0
1K

The End.