Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
6
Posts with Upvotes
6
Upvoting Members
6
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
4 Endorsements
Ranked #402
Ranked #1K
~38.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for GhostDragon

Hello, I'm new into PHP. Just migrated from Java recently. I'm trying to make a conversion machine that conver number to romans number. Here is the code I wrote : !DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Latins to Romans Conversion</title> </head> <body> <h2>Latin to Romans …

Member Avatar for bobgodwin
0
448
Member Avatar for zebnoon1

Dear friends, Please guide me I want to display data in PHP form from mysql database. my code is below <?PHP //connect to database $username = "root"; $password = ""; $database = "mydatabase"; $server = "127.0.0.1"; $conn= mysqli_connect($server,$username,$password,$database); // checkintin connection if($conn->connect_error){ die("".$conn->connect_error); } // select data $sql = "SELECT …

Member Avatar for zebnoon
0
4K
Member Avatar for davy_yg

Hello, I am trying to troubleshoot this problem using codeigniter. I am following a tutorial and getting this error after installing the ready-to-use-uncomplete-ci-script. Therefore, I still have to edit things out to make it work, which not all of them is being taught in the tutorial. ---------------------------- // all of …

Member Avatar for davy_yg
0
350
Member Avatar for koneill

All, I have one question and one issue with my below php email script - the script currently has the two images side by side when displayed in the e-mail - I'd like the CSS z-index values as well as the transformation to be picked up in the HTML e-mail …

Member Avatar for koneill
0
297
Member Avatar for davy_yg

Hello, I am trying to create a table which has a sort feature. I mean whenever someone click the table header, the table content must be sorted based on the header. how to do so? Here is my table codes: index.php <!-- Insert New --> <br><br><br><br> <div id="inputberita"> <p>&nbsp;</p> <p>&nbsp;</p><center> …

Member Avatar for davy_yg
0
340
Member Avatar for Nurul_2

Hello. I need some help to update two table.. This is my coding: $query = "UPDATE br.discharged_Date, b.book_Status SET br.patron_ID = b.patron_ID FROM borrow br INNER JOIN book b ON br.patron_ID = b.patron_ID WHERE b.patron_ID = '$patron_ID'";

Member Avatar for kamini_1
0
179
Member Avatar for destination0014

i have 5 rows and i want to store all row data into database but it is storing only last row data instead of all four

Member Avatar for gabrielcastillo
0
126
Member Avatar for munchlaxxx

If checkForm is false, I don't want the form to submit. And if checkForm is true, I would like the form to submit and the action=POST to work. I've seen several examples online where people have VERY similar code and theirs supposedly works. So what am I doing wrong? Is …

Member Avatar for minitauros
0
386
Member Avatar for nadiam

Hi. i am trying to show a hidden element using a button. but i want to make it so that everytime the button is clicked the hidden element get shown that same amount as button clicked. example: <input type="button" value="Click me" id="clickme"> <input type="text" id="textbox"> <script> $(document).ready(function() { var element …

Member Avatar for AleMonteiro
0
16K
Member Avatar for ernesto22

im new to php . plz help. i have a page where people fill in a form and check on checkboxes. i also have a page where i edit. i want to know if its possible that on my edit page i could see the checked box checked ? example …

Member Avatar for diafol
0
230
Member Avatar for an00p

Hello guys, I have a doubt regarding the tabs I have in my project. Its a user view page with multiple tabs in it. Each tab is having details like user basic info, social profile info, skills etc. The current setup is PHP tabs with $_GET['tab'] value. There are different …

Member Avatar for veedeoo
0
339
Member Avatar for malatamil

after login i want to display logout and username. but here if i login again its showing login. please some help me index.php <?php session_start(); $city=$_SESSION['city']; $userl = $_SESSION['username1']; <?php if(!isset($userl) == '') { ?> <div class="header_nav_left">Welcome <?php echo $userl; ?> | <a href="logout.php" id="clicklogin" title="Logout" onClick="NewWindow(this.href,'loginwindow','500','500','no','center');return false" onFocus="this.blur()">Logout</a></div> <?php …

Member Avatar for toxicandy
0
147
Member Avatar for ma.da.7140

Can someone help me with below script, this is script for change password. But it always can't recognize the old password. i'm really thankfull for your comments.. <?php include("plogin.php"); //$_SESSION["userId"] = $_POST['id']; //$userId = $_POST['id']; session_start(); include("config.php"); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; if(count($_POST)>0) { $result = mysql_query("SELECT …

Member Avatar for Adrian_5
0
267
Member Avatar for davy_yg

Column 'group_id' in where clause is ambiguous. I wonder why? invoice.php <?php //LOAD GROUP $result2 = mysql_query("SELECT group_name FROM `group` INNER JOIN invoice ON `group`.group_id = `invoice`.group_id WHERE group_id = '".$_GET['group_id']."' ORDER BY group_date") or die(mysql_error()); $result = mysql_query("SELECT * FROM `invoice` WHERE group_id = '".$_GET['group_id']."' ORDER BY group_date ASC") …

Member Avatar for Adrian_5
0
559
Member Avatar for edwinthomas25
Member Avatar for johnef_sh

I am try to figure out how to check current time against time in database and header the user to "expired page" if the current time is greater than the one in database "1 hour" $email = $token = $check_time = ""; $crossToken = $db->prepare("SELECT email, token, check_time FROM pw_reset_company …

Member Avatar for johnef_sh
0
269
Member Avatar for wikit

Hi again guys please forgive my unknowing, i tried but simpply got errors. I downloaded this upload script ( [Click Here](http://www.phpkode.com/scripts/item/es-simple-uploader/) ), it works great except it's for single file uploads, not multi-file uploads The website I'm working on requires the ability to upload multiple files at the same time, …

Member Avatar for Adrian_5
0
271
Member Avatar for Dani

Trying desperately to get CodeIgniter and Nginx to play nice. I was able to get it working once a long time ago and I cannot seem to reproduce what I had. I am trying to follow: http://wiki.nginx.org/Codeigniter However, it works fine where / gives me the default controller/method, and I …

Member Avatar for Adrian_5
0
2K
Member Avatar for aquilina

I have a problem with login issue that when i loggin as student from index.php it should bring me to student_home php.. but it doesnt show anything and just bring me to index.php back.. i mixed up about header and session part.. my index.php <?php include('header.php'); //Start session session_start(); //Unset …

Member Avatar for Adrian_5
0
356
Member Avatar for paulogaiski

i have a simple php login script with session but all i get is just a white blank page after running my login,php script. Here is the login,php page <?php error_reporting( E_ALL ); ini_set( 'display_errors', 1 ); include('connect.php'); session_start(); if (isset ($_POST['submit'])) { $UserName=$_POST['uname']; $Password=$_POST['pswd']; $result=mysql_query("select * from bizness_profile where …

Member Avatar for Adrian_5
0
255
Member Avatar for jaspertan

here is my code foreach($test as $t=>sid) $sid->'name of table' $sid->'name of table' $sid->'name of table' $sid->'name of table' when i use this code i can only retrieve the last inserted data. i want to retrieve all the data on my html table. Thanks in advance.

Member Avatar for Adrian_5
0
84
Member Avatar for amit.chaudhari.71

dear friends m using strtotime () function to compare two dates , but it is not working for the date greater then '19-jan-2038'.my os is win 7 32 bit and php 5.2 and apache 2.2.plz if any body having any solution , kindly share it

Member Avatar for amit.chaudhari.71
0
389
Member Avatar for faisaldss

I have come accross this website. http://en.colette.fr/women/just-in.html If you notice, the products are loaded with lightning speed. I understand they are using Magento. However, its still not clear how the products are loaded so fast. Can you guys give an idea what's hapening there. Is it the server or a …

Member Avatar for vikiweb
0
273
Member Avatar for minghags

Hello! I have a problem with sorting mysql queries into pages. So i wanna set every query that is passed to screen to be divided with 30 rows per page. Here is what i come up with: <?php $con=mysqli_connect("*","*","*","*"); // MySQL connect if (mysqli_connect_errno()) { echo "MySQL: no connection! " …

Member Avatar for Adrian_5
0
443
Member Avatar for mexabet

I'm trying to prevent the user from purchasing any share, if the cash in his/her account is less than the desired stock cost (price * shares). However, I'm getting the following error: Warning: mysql_query() expects parameter 1 to be string, array given in /home/jharvard/vhosts/pset7/public/buy.php on line 39 Here is the …

Member Avatar for Adrian_5
0
317
Member Avatar for iamthwee

Hi I am using codeigniter and I want to use a constant defined in the config>constant file. For example, my color theme for my view might be blue, so I save this in the constants file. define('blue', '#3fsefe'); Now I can use this in all my views... works fine. But …

Member Avatar for iamthwee
0
4K
Member Avatar for iamthwee

I'm just wondering what the codeigniter caching library does and where it might be useful, or what problems people have encountered with it are.

Member Avatar for Dani
0
386
Member Avatar for pooja.naik.1297
Member Avatar for munchlaxxx

This is my code: <!DOCTYPE HTML PUBLIC "-//SQ//DTD HTML 2.0 HoTMetaL + extensions//EN"> <HTML> <HEAD> <TITLE>Courses Radio Button Project</TITLE> <SCRIPT Language="JavaScript"> <!-- function choiceChecker(){ var message = "A course can only be one choice!"; var returnval= true; for (var i = 0; i < form.Choice1.length; i++){ if ((form.Choice1[i].checked && form.Choice2[i].checked) …

Member Avatar for Adrian_5
0
252
Member Avatar for veedeoo

Hello Everyone, I wrote this script way back in 2008 as Version1. However, I was forced to forget about this, because it was criticized by many developers with BS, MS, and "Seasoned PHP Developer" under their names. During those days, I couldn't stand up for my own reasons, because I …

Member Avatar for veedeoo
2
2K