39,320 Topics
| |
I've looked extensively for an answer to this but have gotten nowhere. Here’s what I’m trying to do: I’m having people submit a form on my Wordpress site telling me their pledges for a volunteer campaign. When they submit their volunteer project I want to have a counter track the … | |
hi guys, how can i get the difference between two strings in PHP? i mean lets say string 1 = "hello world" and string 2 = "Hello World" the php code should compare these two strings and output something like: the difference between the two strings is 20%... so how … | |
Hi There, I have an XML data [code] <coordinators branch="xx"><coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> <coordinator cnum="xx"> <value key="role" type="string">BC</value> <value key="role_desc" type="string">role</value> <value key="name" type="string">xx</value> <value key="tel_number" type="string"/> <value key="email_address" type="string">xx</value> </coordinator> </coordinators> [/code] I need to … | |
Hello there, I'm new to the community and kinda new to PHP and I'll leave it at that. I am currently developing an E-Leave System for my final project course of my university. I'm having difficulties in designing a form for a leave application which consist of two date picker … | |
I hope you guys can help me, basically... I have 2 database tables (note: the [B][U]U & B[/U][/B] here are my particular fields of interest - the id and fk_id are the PK and FK) (main)Table 1 gives the MAIN_TITLES (id, [B][U]TITLE[/U][/B], positioning, created, modified) (list)Table 2 (id, [B][U]FK_ID[/U][/B](= T1 … | |
Hi I had a real estate web site and user/visitor can post their property into the database. Now What I need is After 15 days the post will be delete automatically. Please any give me the idea for doing this. "How to do delete using Date ?" Please Help me.. … | |
I have a basic search result page going right now, but i want the code to generate a html link on the search name so I can see all the data associated with the customer name. I have a simple DB set up with Customer Name, Computer type, Model, etc. … | |
Hi All, I installed php 5 in my linux pc. My phpinfo() says libXML support active libXML Version 2.6.23 libXML streams enabled But still I cannot use DOMDocument in my script. When I use it in my script, Class 'DOMDocument' not found in /var/www/html/getcontent_3.php Any pointers will be very much … | |
Hi, I have two PHP pages, in first page I have a textbox which will accept the Google Map Embed Link and I want to accept the entered value in the second page and display the corresponding Google Map. But the second page is not receiving the full code, please … | |
Hello to all, I have a problem that how can i fetch value from database when i select dropdown list option related information should be show in textbox in php. Value should be retrieve from database. In dropdown list values are also coming from database. | |
i've done this [code]RewriteRule ^([A-Za-z0-9-]+)/?$ profile.php?user=$1 [L][/code] to make [code]www.example.com/profile.php?user=testing[/code] into [code]www.example.com/testing[/code] What i'd like to do is change.. [code]www.example.com/profile.php?user=testing[/code] into [code]www.example.com/user=testing[/code] What is the RewriteRule to accomplish this? Also if i used $_GET['user'] with the second clean url would it still work? | |
I need to implement video streaming in my page with adobve flash player.IN this a user can seek any part part of video. | |
Hi, I have downloaded the latest dev build of Google Chrome (Version 17.0.942.0) which is the latest dev build. Thanks.which supports the hybi 10 websockets protocol. After running the websockets server (IP 192.168.2.12), if I try the websocket client program on the server itself, it works. However if I run … | |
Hello all. Well, I posted about search results and thanks for the help. I modify even more that it includes a select option next to the person's name. This is where I have the trouble. Objective is the person that I search, I can click "select" on that person, and … | |
product_edit.php [CODE] <?php // DATA BARU //if ($_REQUEST[mode]=='edit') //{extract ($_REQUEST); //do something //echo $_REQUEST['id']; //will give us the valid id from the previous page. //} $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $kategori = isset($_POST['kategori']) ? $_POST['kategori'] : ''; $harga = isset($_POST['harga']) ? $_POST['harga'] : ''; $gambar = isset($_POST['gambar']) ? … | |
i'm getting the following errors: Notice 8: Undefined variable: student_info [APP\controllers \motor_developments_controller.php, line 7] i'm getting the same notice in \motor_developments\search.ctp as well. The student_info data in $this->redirect is not getting passed from merry_parents_controller's login function to motor_developments_controller's search function. Does anyone know on why student_info is not getting passed? … | |
Hi Everyone... I need your help please... I want to store my extracted string using list() function... Here is my code below and it doesn't work.. Is there a list() function in Javascript? [code] var Mystring; var H; var M; var S; Mystring="01:00:00"; list(H,M,S)=Mystring.split(":"); document.write("Hours: "+H); document.write(" Minutes: "+M); document.write(" … | |
I want to design a form to select the products for each step, such as select products, then page the next page to select accessories. My english is not good, so if you do not understand, this is what I want to do [url]http://www.vbcover.com/icart.php?do=order&productid=53[/url] Here is my form: [CODE]<form action="cart.php" … | |
Hi, I wonder how to create a search box like the following website: [URL="http://www.ferron-pharma.com/?q=en"]http://www.ferron-pharma.com/?q=en[/URL] The search box is on top right corner. Is it using jquery ? Besides the codes, how to create the outlooks ? | |
Hi, well im working on a project for school but I can't seem to get it to work. Its an app that is connected to a DB with 3 tables, this is my sql syntax of the db: [CODE] Table structure for table `income` CREATE TABLE `income` ( `idincome` int(11) … | |
i'm trying to get mongodb to work with cakephp. I'm not sure on where to place ichikaway's mongodb driver for cakephp. The following is my directory structure: under c:/websites/ I have cakephp folder and my project merry_flowers folder. am i supposed to place the mongodb driver in cakephp/app/plugins or merry_flowers/plugins? … | |
Hi I would like the following action to happen without having to have a 'submit' button. This would avoid users having to go from one page to a second page and the action could just happen on the first page by clicking on the word? How could it be done? … | |
Hey everyone, I have a function that has an error reading "Parse error: syntax error, unexpected '}' in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\test5\func\blog.php on line 31" here is the code for that function: [CODE]function get_categories($id = null){ $categories = array(); $query = mysql_query("SELECT `id`, `name` FROM `categories`"); while( $row = mysql_fetch_assoc($query)) { … | |
Not even sure if this is the right spot to post this, but I didn't see any other place. (might have missed them) I have WAMP installed on my computer per the instructions from the book I'm using from Site Point. After I installed it, everything ran just fine up … | |
I have guestbook with two columns, username and Message Suppose multiple visitors are inserting their comments/message how to display latest message first as soon as it is inserted into database and others below without refreshing page? (Exactly same like [URL="http://www.facebook.com/"]facebook [/URL]home page) Please help Thanks! | |
Hi, As part of my university project i am doing a literature review that looks at the vulnerability of data contained by websites. It will contain the threats to the data and how it can be protected. Wondered if anyone can recommend any journals, websites, books or any other sources … | |
how to create a live streaming site with php and what are thing we need for that. | |
Hi . I surprised what why my lastIdRows method doesnt work .Please take alook at it's definition and tell me do you see any syntax error [code]public function process($query){ $result=mysql_query($query,$this->connection); if(!$result){ die("Database query failed".mysql_error()); } return $result; }// End "process()" method public function lastIdRows($column_set,$table_name,$last_id){ $query="SELECT '{$column_set[0]}','{$column_set[1]}','{$column_set[2]}','{$column_set[3]}' FROM '{$table_name}' WHERE id>'{$last_id}'"; … | |
Hi, I want to create Arabic to English dictionary with having pronunciation feature for the English words. How it is possible to implement using PHP and MySQL? Thank you, | |
Hi again, I am migrating my site from ASP to PHP. Things have been going OK, till I hit the login page. Can anyone please help me convert this thing to PHP? The live page is here: [url]http://www.regina.nu/visa.asp[/url] [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Inloggningssida</title> … |
The End.