39,323 Topics

Member Avatar for
Member Avatar for arafath077
Member Avatar for liphoso

i am running PHP Version 5.2.9, i want to create a barchart from data in mysql. i got this sumple and tried running it. am having a bit if trouble with json_encode(). i have an array that has numbers and strings but the numbers get printed back as strings. how …

Member Avatar for liphoso
0
576
Member Avatar for ravi142

Hi I make **FPDF output** of data in 3 simple columns with word wrap content. For E.g Like Table Structure. Title-1 | Title-2 | Title-3 Coln-1,Coln-2 | Coln-1,Coln-2 | Coln-1,Coln-2 If you given help with some snippets then better to understand. Thank you.

Member Avatar for ravi142
0
2K
Member Avatar for grakovski

Hello there :) I got this json: http://steamcommunity.com/id/spekat/inventory/json/730/2 In place of "spekat" - has different account names with different information. I want to get "classid" index with information (like numbers) Now my code is like this: <?php $urljson2 = file_get_contents("http://steamcommunity.com/id/$steam_acc/inventory/json/730/2/"); $json_decode2 = json_decode($urljson2); $inventory = $json_decode2->rgInventory->classid; ?> But not work, …

Member Avatar for gabrielcastillo
0
470
Member Avatar for tanklessgunit

I'm trying to solve a problem which I've now for 2days. But with any kind of success I want to create something where people can track their progress, so if somebody 'creates a progress' certain information need to be selected from the DB and inserted into other table. for now …

Member Avatar for veedeoo
0
287
Member Avatar for Zaki.cpp

I have a problem of connection between two application ( with c++ builder ), the apps are working good in a local network, but aren't work in the internet, `cause both of the client and the server are in deferent routers, and each one have an internal & external IP, …

0
164
Member Avatar for soomro_moon

hello, can anyone please help me with this piece of code, is not showing combobox value, why ??? its urgnt <tr><td>TERM</td><td><select name="term" ><option value="t_1">FIRST TERM</option><option value="t_2">SECOND TERM</option><option value="t_3">THIRD TERM</option><option value="t_4">FOURTH TERM</option><option value="t_5">FIFTH TERM</option><option value="t_6">SIXTH TERM</option><option value="t_7">SEVENTH TERM</option><option value="t_8">EIGHTH TERM</option></select></td></tr> <tr><td><?php if(isset($_POST['term'])) { echo $_POST['term'];} ?></td></tr>

Member Avatar for pclfw
0
242
Member Avatar for UK-1991

Hello guyz, I have created a security on a page like there are several password issued to the users like on join us page if the person click on it the prompt box and user enters the password users are on that page and password is wrong it redirects to …

Member Avatar for diafol
0
292
Member Avatar for Ryujin

Greetings. Trying to scrape data from search results in [a library catalog](http://pilot.passhe.edu:8042/), but cannot return anything at all. The same script below works fine pulling from *another* catalog, but not with this one. (It's a Voyager catalog by ExLibris, in case that helps.) Below for simplicity is a boiled-down version …

Member Avatar for cereal
0
975
Member Avatar for suha91

Greetings, I need a help on how to insert data from textbox when the checkbox checked. In my code there are few checkboxes where one checkbox is with textfield. Its means when i checked the "other" checkbox it will allow user to type. But the the problem here now is …

Member Avatar for diafol
0
3K
Member Avatar for Szabi Zsoldos

Hi guys, I have this weird .htaccess rule that is used for a dropdown search engine RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+) index.php?bla1=$1&bla2=$2... and so on [L] If I want to maintain the above rule, it is allright. The problem is that I want to creat a new rule with 3 variables, but the …

Member Avatar for Szabi Zsoldos
0
337
Member Avatar for t_thakar

I have a soap call which returns an object which has a xml string. an example is shown below: <?xml version="1.0" encoding="utf-16"?> <LoginResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <StatusCode>1</StatusCode> <StatusMessage>Login Successful</StatusMessage> <AuthKey>b2365767-ae42-1a44a6436575</AuthKey> </LoginResponse> I would like it to convert it into an associative array which will be similar to: array( "LoginResponse"=>array( "StatusCode"=>1, "StatusMessage"=>"Login …

Member Avatar for t_thakar
0
1K
Member Avatar for chrisschristou

hello friends, i need to do one more step in web developement, it is about CMS or (WCMS), i create web site with php/mysql using dreamweaver so i had facility to creaty template.... my question is how to create a MCS or a just form that will allow me to …

Member Avatar for diafol
0
261
Member Avatar for zebnoon1

dear friends, I am developing Online registration form... I want to display data record vice not row vice...my code is below <?php include "conn1.php"; $sql = "SELECT * FROM reg"; $result = $conn->query($sql); if ($result->num_rows > 0) { echo "<table style='border: solid 1px black;'>"; echo "<tr><th>Id</th><th>Firstname</th><th>Lastname</th><th>Email</th><th>Reg date</th></tr>"; // output data …

Member Avatar for hericles
0
214
Member Avatar for davy_yg

Hello, I am trying to create a login box that processs the form to another file after login: index.php <form action="login.php" method="POST"> <input type="text" class="form" name="username"><br> <input type="password" class="form2" name="password"></div> <input type="submit" class="login" name="submit" value=""></input></div> <div style="margin: -235px 0 0 850px;"><a href="create_account.php">Create an Account</a><br><a href="forget_password.php">Forgot Password</a></div> <div style="margin: 20px 0 …

Member Avatar for diafol
0
182
Member Avatar for softwaredeven

hello guys ... i have a problem regarding on this error 1. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 104 2. Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 120 3.Notice: Undefined index: d1 in C:\xampp\htdocs\final year project 2\collection.php on line 163 4.Notice: Undefined index: …

Member Avatar for almostbob
0
619
Member Avatar for garyjohnson

Here is a link to a list of college names and their .edu email http://pastebin.com/LND21t5F I want to take those lines of code and put the .edu part into one coloumn of a database and the name of the college into another coloumn. My database is structure like this (id, …

Member Avatar for broj1
0
116
Member Avatar for Simon180

Am trying to make a simple categorys script but am not having much luck . CREATE TABLE `portraits` ( `n` INT(11) NOT NULL AUTO_INCREMENT, `category` VARCHAR(25) NOT NULL DEFAULT 'Main', `collection_id` VARCHAR(5) NOT NULL DEFAULT '00000', `collection_name` VARCHAR(55) NOT NULL DEFAULT 'Free Gallery 1', `permissions` INT(1) NOT NULL DEFAULT '0', …

Member Avatar for broj1
0
2K
Member Avatar for rjusman90

<ul class="sf-menu"> <?php $menu_query ="SELECT * "; $menu_query .="FROM `menu`"; $menu_query .="WHERE `Status` = 'Enabled'"; $menu_query .="AND `ParentMenuID` = '0'"; $menu_result = mysqli_query($connection,$menu_query); while($row = mysqli_fetch_array($menu_result,MYSQLI_ASSOC)){ $PageID=$row['PageID']; $ID=$row['ID']; $LW=$row["LinkWidth"]; $menu_qry_for_page ="SELECT * "; $menu_qry_for_page .="FROM `page`"; $menu_qry_for_page .="WHERE `ID` = '$PageID'"; $menu_qry_for_sub ="SELECT * "; $menu_qry_for_sub .="FROM `menu`"; $menu_qry_for_sub .="WHERE …

Member Avatar for rjusman90
0
235
Member Avatar for zeeshan009

Hi All, I want to do pagination in php can any one tell how to do this?

Member Avatar for veedeoo
0
99
Member Avatar for toxicandy

I have the code: $VolunS = array('aro','clergy','intskills','interpt','bus','child','law','cpr','cpryn','data','security','emergency','computer','mechanical','administration','firstaid','faid','translation','translate','construction','basicclean','foodprep','animalcare','heavy','other3'); foreach($VolunS as $skill){ if($person["$skill"] != ""){ echo $person["$skill"] . ", "; //this is the line where echo is replacing $row .= } } And my problem is that I am adding an extra comma at the end of the list. The purpose of …

Member Avatar for diafol
0
161
Member Avatar for ravi142

Hello, I want help for recursive in php which like structure is attachment file.. [1] **Sire (Parent)** > Sub1 ->nChild.. > Sub2 [2] **Dam (Parent)** > Sub1 ->nChild.. > Sub2 ->nChild.. Do you have some example of code so its better for me. Thank You.

Member Avatar for Taywin
0
220
Member Avatar for Tunnleram

Hi, I'm getting an error that I generally understand in a situation that makes no sense to me. I was hoping for some direction - to see if anyone had any ideas. I have a profile page users can edit. When they do it uses user_action.php to commit those changes …

Member Avatar for Tunnleram
0
226
Member Avatar for Jake.20

Greetings pros, Can someone give me an idea on how to create a notification like the comments on facebook? What i have in hand is; The Counter increases when the database updates. But the counter only updates when the user hovers it. So What i need to do is. When …

Member Avatar for Taywin
0
493
Member Avatar for Azii

Hi, The question is regarding PHP and Javascript/Jquery. I have a php page which process the form data and displays it on SUBMIT. I need to collect that data into javascript. how should I proceed? **//Php file** <?php @session_start(); $uname = $_SESSION['sessionVar']; ?> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> …

Member Avatar for Taywin
0
239
Member Avatar for AdanPuente

Hi! I would like to send SMS messages from Sharepoint when a server goes down. I have found this website that explains how to integrate it with this Ozeki NG SMS gateway. The software is ok when trying to connect the JDBC with my database, and this whole configuration looks …

Member Avatar for stultuske
0
253
Member Avatar for Ashok_10

hii, i want to create groups in user account with facebook application (php api) and i want to add friends of particular user to newly created group... Thanx

0
62
Member Avatar for ravi142

Hello, In php code generate output completly but when user click on 'PDF' Button then Output generate in PDF file or Click in 'Excel' button then generate Excel file as download. Thank You

Member Avatar for diafol
0
160
Member Avatar for steven.gray.10236

I hope someone can help me. I have been working on this for several days and can not figure it out. I made a blog and I am trying to get SEO friendly URLs. I have tried the mod-rewrite and it seems to have no effect. is there something else …

Member Avatar for edbr
0
526
Member Avatar for Safer Heart

I need to pay someone for a live counter that adds one each 1.7 seconds. https://www.daniweb.com/web-development/php/threads/68355/live-web-counter-increment-a-number-by-x-every-x-seconds It is the real time count of Heart Failures worldwide. Gary@HealthyHeartTissue.com Gary

Member Avatar for veedeoo
0
187

The End.