39,323 Topics

Member Avatar for
Member Avatar for gogs85

How to make searching for my blog with pdo? I try like this: <?php require('include/config.php');?> <?php $query = $_GET['query']; // gets value sent over search form $min_length = 3; // you can set minimum length of the query if you want if(strlen($query) >= $min_length){ // if query length is more …

Member Avatar for diafol
0
3K
Member Avatar for cdinarte

I'm developing a website which has support for the most talked languages in the world, but my problem is that in some machines instead of letters, rectangles are displayed. So far this problem has been seen mostly with chinese, japanese and korean languages. Somebody has an ideia on how to …

Member Avatar for cdinarte
0
166
Member Avatar for iamthwee

I'm intending on doing a database for hairdressers (as an example) So there will be: 1. Customers 2. The hairdresser can check their calendar to see who is booked on that day. 3. Customers can search of available times slots. 4. The hairdresser can enter customers onto the system, customers …

Member Avatar for diafol
0
367
Member Avatar for nikesh.yadav

Can anybody convert this code to php for me.. this is code is used to access a webservice but i only C# code they are not providing any documentation. Thanks in advance private CrmService CreateService() { cs = new CrmService(); string username = ConfigurationManager.AppSettings["Username"].ToString(); string password = ConfigurationManager.AppSettings["Password"].ToString(); string domain …

Member Avatar for BogdanCov
1
6K
Member Avatar for jKidz

Hi All, These days I am implimenting a Hotel Room Reservation system. I have a small problem in Check Availability' page. below I listed my database structure. *rooms* rid int(11) <--- AI name varchar(255) ppn varchar(50) facilities mediumtext *reservations* resid int(11) <--- AI rid int(10) arrival date departure date System …

Member Avatar for diafol
-1
5K
Member Avatar for faisal.qureshi.7121614

Hi ! I need to have a single mysql query which should get COUNT of two different values in a single field, suppose i have a field in a table 'approved', and there are only two values ie. approved=0 or approved=1, and have suppose 100 rows for them,so how to …

Member Avatar for faisal.qureshi.7121614
0
405
Member Avatar for ankit.baphna

I have MySQL search query which takes input from drop down values and pass on values to my search query. This works perfectly on my website. But the same when I run on my Mobile it does not give me results(blank) as well its not consistent in displaying results, means …

Member Avatar for ankit.baphna
0
214
Member Avatar for vipulasri.2007

Is there any open source code project of **WEB MAIL CLIENT** that i can use straight away by doing some of the modifications in its ui .I just want to configure **imap or pop3 or smtp** settings in that and i should start recieving my mails from the specified account.

Member Avatar for pritaeas
0
190
Member Avatar for [NOPE]FOREVER

I know that libraries contain functions for certian fields of work but what is a framework? Is it simply just a collection of libraries?

Member Avatar for catalinetu
6
172
Member Avatar for ankit1122

can i use submit button inside a form to access a function in other php file?because i have 2 buttons on same page but want them to do different function..one to query database other to update table..

Member Avatar for iamthwee
0
401
Member Avatar for SimonIoa

I have this on my error log. GET /wall/roves/378 HTTP/1.1" 404 212 i know it means that page its not found but i cant figure out why? its an Apache thing?

Member Avatar for SimonIoa
0
175
Member Avatar for camillee

i want to make a pop window like in javascript, when a user enters invalid username or password, a window appears requesting valid information. how can i do that please?

Member Avatar for diafol
0
5K
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
252
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
361
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
219
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
348
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
204
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
341
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
137
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
415
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
291
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

The End.