39,393 Topics

Member Avatar for
Member Avatar for david.roun.7_1

Ok, so here is the problem. Below is a fairly simple code that will count the number of members registered to a site. The html works just fine but the php doesn't display anything unless I do something like `if($result>0)`--- then it will display everything to the right of the …

Member Avatar for david.roun.7_1
0
1K
Member Avatar for seotheo

Hi, Having a bit of trouble with breadcrumbs in Wordpress, the theme has the breadcrumbs feature enabled but only includes the object page and the homepage, I want to add the parent page into the breadcrumbs. Here is the code: <div id="breadcrumbs"> <?php if(function_exists('bcn_display')) { bcn_display(); } else { ?> …

Member Avatar for ko ko
0
271
Member Avatar for skusobny

Hello please i need some help to rewrite this code in PHP to Python i am totally new in this and need this baddly please help if u can. Thanks a lot. <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>phpChart - Basic Chart</title> </head> <body> <?php function array_delete($array, …

Member Avatar for itsnauman
0
198
Member Avatar for filipgothic

Hey guys, I need example of simple site that stores registration of students and for each student shows what class can he/she go depend on what college they are registered to, so its bassicly just words and everything static. The registration page and database is not problem, but checking to …

Member Avatar for filipgothic
-4
6K
Member Avatar for ankit.baphna

Code1: <input id="text" type="text" name="fname" value="First Name" onclick="this.value='';"/> Hi Friends, Code1 - this print in my text box value "First Name". onclick this value gets erased so I can type Name. but if I go to second text box and come back to this text box to modify or add …

Member Avatar for patk570
0
202
Member Avatar for ankit1122

` <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <meta charset="UTF-8"> <title>Our Local site</title> </head> <body> <form action="welcome.php" method="post"> <input id="t1" name="t1"type="text" placeholder="table name"><br> <input …

Member Avatar for diafol
0
220
Member Avatar for vish akha

Hii, i am new here. I have an assignment and now i am confused so is here anyone who can helpp me. I have created the code lyk- {<?php include 'header.php' ?> <?php include 'connection.php'; ?> <form name="f1" method="post" > <b>COURSE:</b> <select name="select" id="course"> <option value= "MCA" selected > MCA …

Member Avatar for diafol
-1
282
Member Avatar for nishad yasmin

<html> <head> </head> <body> <script type="text/javascript"> function ajaxFunction(choice) { var httpxml; try { // Firefox, Opera 8.0+, Safari httpxml=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { httpxml=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { httpxml=new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) { alert("Your browser does not support AJAX!"); return …

Member Avatar for diafol
0
126
Member Avatar for Sultan Nasir

i want to update a check boxes but i want when i click the update button then show the checkd list that already checked and then after i change it in php

Member Avatar for diafol
0
41
Member Avatar for saravananosiz

Hi i am new to paypal , my client need to pay the payment in the date which was set by the admin , is it possible to do this using cron . is any method is there in paypal . i search in google but i didn't find the …

Member Avatar for saravananosiz
0
457
Member Avatar for davies.alex1

I tried updating my data like so but it doesn't work <?php require("config.inc.php");//this piece of code us for authentication and it works fine. if(!empty($_POST)) { /** the values below in the POST are valid not empty values **/ $shell = $_POST['shell']; $reporter = $_POST['reporter']; //query $query = "UPDATE `shellingdb` SET …

Member Avatar for davies.alex1
0
2K
Member Avatar for ayesha789

Hi, I am using XAMPP for developing my Inventory management system. I have stored the XAMPP in Drive C in Windows. But there is a risk if windows corrupt I will lose all my data , So I want to save the XAMPP in Drive D and acces all the …

Member Avatar for mukul127
0
21K
Member Avatar for Jay_7

hi i created login page using php and mssql but i got an error **"Fatal error: Call to undefined function mssql_query() "** **heres my log in code** <form name="log" action="log_action.php" method="post"> Username: <input class="form" type="text" name="name"><br /> Password: <input class="form" type="password" name="ssn"><br /> <input name="submit" type="submit" value="Submit"> </form> **log_in form** …

Member Avatar for veedeoo
0
427
Member Avatar for Raadha

i have a result of say.. 6 records.. fectched from db. each containing values a 10 b 20 c 10 a 30 c 50 a 05 i need to get printed as a 45 b 20 c 60 how to get the distinct results with the sum in the next …

Member Avatar for Raadha
0
143
Member Avatar for MBRaja
Member Avatar for igmuska
-1
208
Member Avatar for davy_yg

Hallo, I wonder how do you create a scrollable website like: [scrollable website](http://www.nexgardfordogs.com/Pages/offers.aspx) I mean I would like to design a tall portrait website then whenever people click the navigation bar it will take them to certain section of the portrain website just like in the link example. How to …

Member Avatar for <M/>
0
232
Member Avatar for malatamil

below this link i have a ratting thing. in this its working but here update and disply part. http://www.namshimoga.com/searchdetails.php?idval=399&maincatid=147&maincateg=Testingmp#details in another page http://www.namshimoga.com/searchbycat.php?catagory=Testingmp&maincateg=Testingmp&maincatid=147 i want to display only final rating without updation. its my display part <div class='headstar'> Rate It ! <ul class='star-rating'> <li class='current-rating' id='current-rating'><!-- will show current rating …

0
150
Member Avatar for nan01

Hi. I am creating a database where a user can store up to 50 names of their family members. I have two table structures in mind and curious which one is the more efficient structure for using with php. ==================================================================================================== TABLE A: userid-firstfamilymemberid-firstfamilymembername-secondfamilymemberid-secondfamilymembername Note:(the columns would repeated until the fiftiethfamilymemberid …

Member Avatar for nan01
1
272
Member Avatar for oskido2010

Hi Guys I am trying to display friends of a logged in user for my website, the user(person1 is friends with person2 and I would like this to display when either person1 or person2 log in( this should be under the hyperlink) Friends. and also to be able to see …

Member Avatar for diafol
0
237
Member Avatar for iamthwee

So what are your thoughts. I've recently been looking at things like expression engine, http://buildwithcraft.com http://statamic.com and http://modx.com Purely because, writing my own CMS from scratch is one helluva ballache. The above sites look appealing because they afford enough flexibility to write a CMS to control pages using templating in …

Member Avatar for diafol
0
150
Member Avatar for davy_yg

Hallo, How to decrypt md5 password? I have a password stored in mysql in md5 then would like to retrieve it and decrypt it. How to do so? Thanks in advance.

Member Avatar for diafol
0
398
Member Avatar for pspwxp fan

Hi Daniweb, I have a checkbox that is dynamically generated using php using inputs on previous pages. <form name=partselect action="JavaScript:checkmate()" method="post"> <table> <?php while(oci_fetch($stmtgp)){ $idpart = oci_result($stmtgp, "PART_ID"); $stmtparts = oci_parse($conn, "select * from PARTS where PARTID='".$idpart."'"); $execparts = oci_execute($stmtparts); if(!$execparts){ echo 'unable to fetch part'; } oci_fetch($stmtparts); $tpartcost = …

Member Avatar for iamthwee
0
381
Member Avatar for PankajSanam

Hello everyone! This is Pankaj from India. I'm a PHP Developer. Right now I'm working in Jaipur as a PHPfox Developer. I joined this community to explore the world of knowledge. It's always good to learn things and eventually make friends out of it.

Member Avatar for happygeek
0
95
Member Avatar for Nigam_1

I am creating a website wherein Admin is supposed to create a Form and the other users are supposed to fill it and submit it. My main goal is to the give the Admin user a webpage where he will type the question , select the type of answer to …

Member Avatar for iamthwee
0
487
Member Avatar for aquilina

i have problem with my index id for class_student.php.. i not sure where it missing smth.. kindly look it for me. there is an error with index id at line 3 which mean $get_id = $_GET['id']; <?php include ('session.php'); ?> <?php $get_id = $_GET['id']; include('header.php'); $user_query = mysql_query("select * from …

Member Avatar for aquilina
0
877
Member Avatar for Matthew34

Hi, Anyone can explain what is ion cube loader? and how it works for encryption and decryption? Thanks in advance..

Member Avatar for diafol
0
351
Member Avatar for dhani09

I'm trying to do a username availability check on my website, i.e during registration, it checks if a username is taken or still available. However when i execute i get no result at all,nothing happens. My code: **Registration page** ***register.php**: * //this form posts to the same script. //In this …

Member Avatar for iamthwee
1
488
Member Avatar for zein1212

i'm new learn php and mysql and i got stuck can't get better logic for my brain i want to get message from page if i type url like **index.php?user=user1** and page will show with data table and if username doesn't exist and page show no username found so this …

Member Avatar for zein1212
0
534
Member Avatar for mattster

Dear All, This must be a very common problem, but yet nowhere on the internet wishes to display a working answer. I am in a sticky situation. I have the following .htaccess file on my local webserver: http://localhost/testsite/.htaccess DirectoryIndex home.php?view=home RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} …

Member Avatar for mattster
0
353
Member Avatar for malatamil

any one know about star rating with updation for particular (i.e)product,etc.. if you have any sample code share with me

Member Avatar for diafol
0
89

The End.