39,320 Topics

Member Avatar for
Member Avatar for mathieu67

I have this issue with this little bitcoin ticker code I'm trying to put on my site [bitcoinvalues.net](http://www.bitcoinvalues.net), I used to work pulling the data from Mt.Gox but not anymore cause they shutdown their site. What I want to do now is replacing Mt.Gox with either bitstamp.net/api/ticker/ and blockchain.info/ticker ticker. …

Member Avatar for mathieu67
0
337
Member Avatar for Suzie999

Taking some baby steps in php. Here is my simple code... <?php $data = file_get_contents('http://www.blankwebsite.com'); //$regex = '/<TITLE>(.+?)\<\/TITLE\>/'; $regex = '/TITLE>(.+?)TITLE/'; preg_match($regex,$data,$match); echo "blah"; echo "<br>"; echo $match[1]; ?> The target source is basically this... > <HEAD> > <TITLE>Blank website. Blank site. Nothing to see here.</TITLE> > <META HTTP-EQUIV="Content-Type" CONTENT="text/html; …

Member Avatar for Suzie999
0
177
Member Avatar for morfious90

I just have one month for preparation. 1-What to prepare most part in asp.net and php to cover in one month.I have basic knowledge of asp php and c#.sql server 2005/08.Quick way to prepare 2.What type of demo project should i make to show them. 3-How to show my 2 …

Member Avatar for morfious90
0
426
Member Avatar for gogs85
Member Avatar for hriti

hello. i have some problem while uloading song or image in php...if i have a song name like "05.Judaiyaan [MusikMaza.Com].mp3" then it have double dots...and i am unable to retrieve mp3 extension...can anyone help me out???

Member Avatar for diafol
0
161
Member Avatar for filipgothic

<?php //Provjerava da li se korisnik vec ulogovao. Ako nije, ispisace gresku. session_start(); if (!isset($_SESSION['korisnik'])) { die('Za pristup ovoj stranici morate se prvo ulogovati.'); } if ($_SESSION['korisnik'] != 'administrator') { die('Za pristup ovoj stranici morate se prvo ulogovati kao administrator.'); } //Podaci o bazi podataka $hostname = ""; $db_username = …

Member Avatar for filipgothic
0
429
Member Avatar for filipgothic

I am unable to login even tho I provided correct username and password, this is error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a9752689/public_html/zadatak/index.php on line 79 (I am not sure what this error means, since I don't want to show any rows, I don't …

Member Avatar for filipgothic
0
295
Member Avatar for arafath077

how to display this array.i tried sevaral way.does not working. Array ( [0] => Array ( [date] => Array ( [epoch] => 1401197400 [pretty] => 7:00 PM IST on May 27, 2014 [day] => 27 [month] => 5 [year] => 2014 [yday] => 146 [hour] => 19 [min] => 00 …

Member Avatar for delta_frost
0
270
Member Avatar for ravi142

Hello I have use 'LIKE' query in Model $this->db->like('job_title','keywords','both'); $query = $this->db->get('job_description',$data); which generate Query Output like SELECT * FROM (`job_description`) WHERE `job_title` LIKE '%keywords%' LIMIT 1 **Problem:** How could i remove the LIMIT that automatic generate in Query **OR** can i given Infinite LIMIT in CI Query. Can you …

Member Avatar for veedeoo
0
581
Member Avatar for ankit1122

hello i have a textarea named skills.. i wanna get values from skills and put it in a array ..my code <html> <head> <title>TODO supply a title</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <form name="f1" action="wel.php" method="post"> <textarea name="table"></textarea> <textarea name="skills"></textarea> <textarea name="city"></textarea> <textarea name="region"></textarea> <textarea name="country"></textarea> <input …

Member Avatar for babbu
0
167
Member Avatar for ankit1122

index.php code <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 id="s1"type="text" name="skill[]"placeholder="skill or item or spec"> <input id="s2" type="text" name="skill[]" placeholder="skill or item or spec"> <input id="s3" type="text" name="skill[]" placeholder="skill or item or spec"> <input id="s4"type="text" name="skill[]" placeholder="skill or item …

Member Avatar for Excizted
0
370
Member Avatar for grant.baker

So I've got a php script that emails me a daily database backup via cron. The script will either output success or failure upon mail->send(), and it always succeeds. However, no email ever is delived *if* the domain name is the same (i.e. www.example.com and myself@example.com), but if I send …

Member Avatar for Borzoi
0
226
Member Avatar for patk570

Hey Guys, I am looking for a file manager that will allow me to customize the top level folder( to the user that is logged in) as the top level. The folder structure should be something like username Folder 1 Sub folder 1.1 Sub folder 1.2 Folder 2 Sub Folder …

Member Avatar for pritaeas
0
468
Member Avatar for hiiiiii@

hi i am working in a project it is about online ordering of food .. I have problem in createing the cart. I have these tables Member-will have the username and password, member id. Fooddetails- will have foodid,foodname,fooddescrtion,foodimage,price. Cartdetails-cart id ,quantity ,price,total,member id, Orderdetails-order id,total,member id. cart details has the …

Member Avatar for hiiiiii@
0
201
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
268
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
192
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
199
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
217
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
279
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
124
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
40
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
455
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
414
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
231

The End.