39,323 Topics

Member Avatar for
Member Avatar for tulipputih

Hi, I am trying to apply ranking to the output of my search result based on the relevance of the searchterm & record in database. when I run the below code..there was a query error [code=php]$searchterm=$db->escapeString($_GET['searchterm']); $result = $db->query("SELECT subject, learningArea, ability, MATCH(subject, learningArea, ability) AGAINST('$searchterm') AS relevance FROM lesson …

0
46
Member Avatar for ayesha789

Is it possible to design a search box which suggest the values from the database. Its very cool. can show the data from the page but its difficult to show from the MYSQL Database Table. If you have any example please share with me. [CODE=html]<html> <head> <script type="text/javascript" src="clienthint.js"></script> </head> …

Member Avatar for ayesha789
0
150
Member Avatar for coolest_987

hii everybody can any one tell me how to read RSS of any page. Any HELP will be appreciated.

Member Avatar for farhan.foxtrot
0
97
Member Avatar for prawin@123

Hi I am new bee to JS and PHP, i have a code to display the images from directory in the path C:\wamp\www\prawin\new\locations\test\admin But this code didnt works . can any one help me. My code is [ICODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> …

Member Avatar for mysoogal
0
117
Member Avatar for littletechie

Hello all I am creating a site for user registration to a class. As classes are added and removed, I have a dynamic table that updates to list the available dates. [code=php] $result = mysql_query("SELECT date, time, type FROM class"); while($row = mysql_fetch_array($result)){ printf("<tr>"); printf("<td><a href = 'registration.html'>%s</a></td> <td>%s</td> <td>%s</td>", …

Member Avatar for littletechie
0
115
Member Avatar for sarithak

Hi frnds... When i was inserting data into mysql table, i used [B]NOW()[/B]... It displays as today date and time..[B] DD-MM-YYYY hh-mm-ss[/B] ... Now, I want to fetch all records from table, which having date as today...i.e [B]DD-MM-YYYY[/B] in this formate... Plz solve this problem... Thanks in advance..

Member Avatar for diafol
0
87
Member Avatar for christophertheo

Hi i am new to web developnment and fortuantely i was able to create a website for my friend i have used dreamweaver to do the entire site in HTML now i am using an enquiry form where a person types his info and submits the same which needs to …

Member Avatar for christophertheo
0
343
Member Avatar for sarithak

Hi frnds.... I need code for PHP AND MYSQL POLL... It should contain admin part for inserting poll quetion, and saving all data into database.. In the user part also having graphical bar representation... ex:This is the way i want.. [B] [url]http://www.ndtv.com/news/polls/poll_details.php?pollID=505003&poll_saved=1#postcommentarea[/url][/B] Plz give some URLs regarding POLL.. or Plz …

Member Avatar for sarithak
0
149
Member Avatar for lifeworks

Hi My problem is actually in an ActionScript3 system, but I think the concept is the same. I am creating instances of an object repeatedly, and I want to give each new instance a unique name. As the loop runs, it calls a function which creates a new instance. Currently, …

Member Avatar for somedude3488
0
66
Member Avatar for gagan22

Hi all, I am in confusion i am using calender in one of my application but calender is working in all other browser but it is not working in IE . In this i am using two calender in form one calender for[B] date from[/B] and other calender for [B]date …

Member Avatar for diafol
0
90
Member Avatar for mana_panigrahi

Hi All, Can any body suggest or share code for following scenario: - In a php file I am getting some message. - once the message arrives it should popup a dialog or window with the message. - if poped up is an window it should not have close button …

Member Avatar for mana_panigrahi
0
92
Member Avatar for Dio1080

Hello, I'm trying to figure out how to convert this php file_get_contents command to visual basic script. I tried googling it but no luck. This is the command down below. <? $page=file_get_contents('http://www.example.com/page?user=cwarn23&pass=820578wxz56240358'); ?>

Member Avatar for ithelp
0
123
Member Avatar for mana_panigrahi

Hi, In PHP I need some help on radio button. I am trying to put two radio buttons in a php file.By selecting first radio button the page should display radio button selected and one text field.By selecting the second radio button it should display the second radio button selected …

Member Avatar for sarithak
0
89
Member Avatar for sarithak

Hi frnds... This is my project flow...plz set the path.. [B]Main Project[/B] a)[B]Gallery[/B]/gallery.php [B]Gallery[/B]/photos/ b)[B]admin[/B] [B]gallery[/B]/uploadphotos.php In this i am having two gallery folders..one for User panel ,another one is for Admin panel.. I want to access photos folder from admin panel..means uploading photos should directly goes to [B]User(photos)[/B] folder... …

Member Avatar for sarithak
0
106
Member Avatar for Dio1080

Hello everybody. My question is does anybody know any script commands that will allow me retrieve information from an website that has a user name and password? For example, I write a script that ask the user to enter in a user name and password, then the script goes to …

Member Avatar for cwarn23
0
184
Member Avatar for mrcniceguy

I have a login script,which after a member login successfully session is registered. The problem is that if user dont use the page for a certain time from 30 minutes. session a getting lost,and member should login again. So what can i do to lengthen the session time,if its possible …

Member Avatar for somedude3488
0
135
Member Avatar for Aamit

Hi, I have four inputs. 10 20 and 10 "NA" i want to show that 10+"NA" [COLOR="Red"]> [/COLOR] 10+20 How to do this??

Member Avatar for m-soft
0
116
Member Avatar for andrewsCWD

Hello, My php script seems to be dieing at the database connection using this code but it's not printing my error. It will print all php code before the connection code, but it prints nothing after it making me think this is my problem: [CODE]$DBConnect = @mysqli_connect("localhost", "user", "pass") Or …

Member Avatar for somedude3488
0
62
Member Avatar for somedude3488

I am working on a personal framework and I have been trying to move all of my configuration variables into one central file and read them from there. I created a config class that traverses a large array, but I feel as I add more configurations to the application, its …

Member Avatar for somedude3488
0
353
Member Avatar for talisien

I was just wondering if it would be possible to protect an directory and its content with php http authentication. Let's say I have created for each user an directory and only that user can access the content in that directory using a mysql database table to get access. How …

Member Avatar for talisien
0
95
Member Avatar for dev_plant

I'm taking a course in Web development, learning to write PHP and I been working very hard on trying to find the errors in this script. I'm very new to programming and I get confused on where '," belong in the code. Any suggestions you can give is very helpful. …

Member Avatar for cwarn23
0
151
Member Avatar for sarithak

Hi frnds... I saw previous threads regarding photo gallery in this forum.. All threads start from errors in code.... But i want Image gallery total code with db...I was also doing gallery, but it looks not good..code is working fine..but look and feel is not good...also it takes more time …

Member Avatar for mrcniceguy
0
159
Member Avatar for mickel200

hi there, I have a phpbb forum . and I want to install a new style for it. I have tried to do that , have not sucessded. please how can I do that ?

Member Avatar for mickel200
0
152
Member Avatar for thewebhostingdi

Hello All, I am upgrading my VBUlletin and I am receiving this Error: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8835301 bytes) in /home/user/public_html/includes/adminfunctions.php on line 3209 I edited the php.ini file and tried allocating memory_limit upto 1400M, but no luck(yes, I tried upto this!!!). …

Member Avatar for cwarn23
0
159
Member Avatar for jlasker

Hi there, I have a fairly simple question. I have a registration form on my site and I want to send the new user a confirmation email so that I can confirm they agree to my terms etc. I am using mail() and for the most part it works just …

Member Avatar for cwarn23
0
79
Member Avatar for rupeshpradhan

I know that it is possible to launch a file browser from PHP script (when selecting the file to upload), but is it possible to Is it possbile to launch a 'Browse for Folder' dialog box from PHP script? Since I did not find any functionality in the PHP, I …

Member Avatar for somedude3488
0
114
Member Avatar for thecodingbee

[ICODE]<?php $con = mysql_connect("localhost","teachms_fooduse","science0"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("teachms_foods", $con); $result = mysql_query("SELECT * FROM Foods"); echo "<table border='1'> <tr> <th>Name</th> <th>Shop</th> <th>Price</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td>" . $row['Name'] . "</td>"; echo "<td>" . $row['Shop'] . "</td>"; echo "<td>" …

Member Avatar for emarshah
0
99
Member Avatar for gingank

Hi guy can anyone help me this code i get the error. It suppose will come out the java script alert first if the use did not fill up the phone number or the subject but it will send the mail also if the user did not fill up the …

Member Avatar for emarshah
-1
117
Member Avatar for jcanaway

alright im making a sortable displays in my website but i am trying to figure out how to pass my javascript array to and external php script through POST method so i can update the column, position, hidden, or closed in the database i am using jQuery Sortable Portlets located …

Member Avatar for sysel
0
6K
Member Avatar for ayesha789

Hi, This is a code which shows all the records from database and also show EDIT and DELETE Button for each Record, Now I want only one DELETE Button for ALL Records and use check boxes to select and DELETE. Please Check this Code: [CODE=php] <?php $server="localhost"; $user="root"; $pass="root"; $database="new"; …

Member Avatar for emarshah
0
151

The End.