38,020 Topics

Member Avatar for
Member Avatar for ankit1122
Member Avatar for saraazee

Can any one tell me the php code to retrieve data from database by month and year. it should be displayed all details of the table according to the selected month and date. i need php code and the database.

Member Avatar for diafol
0
251
Member Avatar for rchawdhari

I want to print series like A,B,C ......AB or T,U,V,.....AB or BA,BB,BC,.....CA in series i will input start and end characters can anybody give me logic Thanks

Member Avatar for diafol
0
278
Member Avatar for nagarajfloret

Hi, I need free API or Plugins using php for converting Webpage to Image. i.e. Jpg or png format I've tried api's like 1.webthumbnail.org 2.http://www.w3snapshot.com/support.php

Member Avatar for veedeoo
0
209
Member Avatar for ankit1122
Member Avatar for markii.borabon

Sir, i have a little problem regarding my queries.. I try to display data from two different table using left outer join. but I found some error.. here's my code please check and tell me what is wrong.. f(isset($_GET['id'])){ $id = preg_replace('#[^0-9]#i','',$_GET['id']); $result = mysql_query("SELECT A.cus_id, A.complaint, A.admin, A.datetime, B.firstname, …

Member Avatar for markii.borabon
0
347
Member Avatar for nikesh.yadav

I am tring to access http://182.18.175.29/CRM2011/XRMServices/2011/Organization.svc?wsdl I can able to see functions list. means i can access to webservice. But while i tring to write data using function create it through "an error occurred when verifying security for the message" my code is below <?php date_default_timezone_set("Asia/Kolkata"); ini_set("soap.wsdl_cache_enabled", "0"); $location = …

Member Avatar for nikesh.yadav
0
1K
Member Avatar for ankit1122

hello sir, i have a php code like <?php $count = 0; foreach($_POST as $item) { $count += (is_array($item)) ? count($item) : 1; } // echo "Items = $count"; $db=$_POST["db"]; $skills = explode(",", $_POST["skills"]); $table = explode(",", $_POST["table"]); $city = explode(",", $_POST["city"]); $region = explode(",", $_POST["region"]); $country = explode(",", $_POST["country"]); …

Member Avatar for almostbob
0
202
Member Avatar for kannan mangalar

in this table how to extract table data and mainly get value after the <b> tag like email id, tel, address <table width="100%" cellspacing="0" cellpadding="10" border="0" class="text"> <tbody> <tr valign="top" onmouseout="this.className = 'pa-nor'" onmouseover="this.className = 'pa-row-highlight'" class="pa-nor"> <td width="50%"> <span class="text1"> School name</span><br> <font color="#cococo"><i>Secondary School</i></font><br> <b>Principal Name:</b> kannan<br> <b>Name …

Member Avatar for diafol
0
340
Member Avatar for filipgothic

hey, I need help with this code, I have made database and code for inserting data, now I need code that will display data for group, in database I have groupnaziv, and id, here is code for inserting which works great, after that I will post code that I need …

0
135
Member Avatar for centenond

so i dont know how to explain what im trying to do... maybe this is why i cant find any information on google.. but ill try so i want to do for example i have 100 photos but i only wanna display 25 on each page and if is more …

Member Avatar for Bachu
0
204
Member Avatar for diafol

## Background ## Hi All, I 've been playing around with colour (color!) formats and needed to create a class for converting different formats, so I thought I'd share it. It seems to work quite well and accepts a number of different convenient formats. The class allows the conversion between …

Member Avatar for diafol
5
411
Member Avatar for filipgothic

I need code that will after pressing submit display concerts for selected group (grupanaziv), which includes number of sold tickets for that concert, place, and date, in database they are called place=mesto, date=datum, and tickets=karte <p align="center"><font color="#0000FF">Pregled grupa</font></p> <p align="center">Grupa kojoj koncert pripada: <select name="grupa_select" id="grupa_select"> <?php while($row = …

Member Avatar for filipgothic
0
161
Member Avatar for <M/>

I am trying to create a way so that I can collect 5 points within the (x,y) format. Then, I want to take those points and plot them on a coordinate plane. I am not sure how to write this, espicially when I am only planning on PHP. I have …

Member Avatar for diafol
0
288
Member Avatar for Man Event

<?php extract($_POST); if (isset($price)){ $xml = "<?xml version='1.0' encoding='UTF-8'?> <TKKPG> <Request> <Operation>CreateOrder</Operation> <Language>EN</Language> <Order> <Merchant>WAYTELL</Merchant> <Amount>".$amt."</Amount> <Currency>566</Currency> <Description>".$prot."</Description> <ApproveURL>http://localhost/integration/approved.php</ApproveURL> <CancelURL>http://localhost/integration/declined.php</CancelURL> <DeclineURL>http://localhost/integration/declined.php</DeclineURL> </Order> </Request> </TKKPG>"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,"https://196.46.20.36:5443/Exec"); curl_setopt($ch, CURLOPT_SSLVERSION, 3); curl_setopt($ch, CURLOPT_VERBOSE, '1'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 0); curl_setopt($ch, CURLOPT_TIMEOUT, 5000); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); …

Member Avatar for Man Event
0
334
Member Avatar for everton.retweets

I have been looking around the web today to see how I could get a list of followers from twitter. Apart of the code is - $tweet->get('followers/ids', array('screen_name' => 'YOUR-SCREEN-NAME-USER', 'cursor' => 9999999999)); My Question is, How do I create a loop to display "Screen_name" of all my followers

Member Avatar for diafol
0
218
Member Avatar for poshka

It is the student_info table CREATE TABLE student_info ( s_id varchar(50) NOT NULL, c_id varchar(50) , sem_no varchar(50), quiz_mark varchar(50) , att_mark varchar(50), total_mark varchar(50), exam_mark varchar(50), grade varchar(50), ); insert into student_info values('0006','chem1115','1','15','9',' ','59 ',' '); insert into student_info values('0006','cse101','1','15','9',' ','70 ',' '); insert into student_info values('0006','cse111','1','15','9',' ','49 ',' …

Member Avatar for jstfsklh211
0
152
Member Avatar for Raadha

can any one help me.. how to export a table echoed in php to an excel through a button ??

Member Avatar for diafol
0
92
Member Avatar for jitusorout

I want to take students attendance. i had made a page attendance.php This is coding part <?php $report = mysql_query("SELECT id, name, rollno FROM registered_members") or die(mysql_error()); ?> <form action="attendinsert.php" method="post"> <table id = "attendance" width="567" border="1 bold"> <tr> <th width="83" scope="col">ID</th> <th width="83" scope="col">Student Name</th> <th width="55" scope="col">Student Roll.No</th> …

Member Avatar for diafol
0
1K
Member Avatar for hanspeare

Hello PHP fanatics, The browser shows Warning: mysql_numrows() expects parameter 1 to be resource, array given in C:\xampp\htdocs\a\Student_Home.php on line 13 here is the line 13... the LINE 5 is the LINE 13. include 'Connect.php'; $student_id = htmlentities($_REQUEST['id'], ENT_QUOTES); $result = mysql_query("SELECT * FROM student_information where student_id='$_GET[id]'"); $data = mysql_fetch_array($result); …

Member Avatar for hanspeare
0
333
Member Avatar for gdp

Hi, i am working through Christian Daries PHP and Mysql Ecommerce chapter 4 and am receiving a Fatal Error. [I]Fatal error: Class 'Catalog' not found in C:\xampp\htdocs\myshop\presentation\departments_list.php on line 23[/I] Can anyone please help me with this error? Many thanks in advance. Here is the code from the files associated …

Member Avatar for veedeoo
0
4K
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
417
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
293
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
268
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
561

The End.