39,326 Topics

Member Avatar for
Member Avatar for jacob21

Hi, I am new to php/ajax.What i am trying: I have one drop down list,one test box & a button more.if i click more button same drop down & textbox & more button should open $ further goes on.. I need suggestion ?? what should i use??I have to insert …

Member Avatar for pzuurveen
0
116
Member Avatar for jacob21

<td><input name="power" type="checkbox" disabled="disabled" <?php if($row['power_backup']=='on') echo "checked"; ?> /></td> <td>Power Backup</td> <td style="width:25px;"><input name="purifier" disabled="disabled" type="checkbox" <?php if($row['water_purifier']=='on') echo "checked"; ?> /></td> I have some checkboxes ,what i am trying to do if a checkbox is checked(its value is on) it should bold. need suggestions.

Member Avatar for pzuurveen
0
101
Member Avatar for bbman

Hi, I want to display my database, however I cannot used the conventional method (like this [url]http://www.siteground.com/tutorials/php-mysql/display_table_data.htm[/url] )as the structure is unkown. The user of the system can create and delete columns. Does anyone know how I would be able to display the columns with the stored data? If this …

Member Avatar for cereal
0
91
Member Avatar for daniel36
Member Avatar for cereal
0
51
Member Avatar for daniahmed

Parse error: parse error in C:\wamp\www\dani\add_invoice_Item.php on line 75 [CODE]<?php $q=$_GET["q"]; $con = mysql_connect('localhost', 'root', ''); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("dani", $con); $sql="SELECT * FROM invoice_item_details WHERE itemId = '".$q."'"; $result = mysql_query($sql); echo "<table border='1'> <tr> <th>ItemCode</th> <th>GoodsDescription</th> <th>UnitPrice</th> <th>Quantity</th> <th>TotalPrice</th> </tr>"; while($row …

Member Avatar for daniahmed
0
132
Member Avatar for kimmi_baby

Hi there, I need to create a website for a client using a CMS. This client is a manufacturer and wanting to have a website that is pretty much similar to an ecommerce website except they won't be selling anything. It will have categories and list all the products. It …

Member Avatar for kimmi_baby
0
106
Member Avatar for maggoteer

Hey guys, I've got a theoretical question. I've tried to work out how some of the code would work in my head, and I always stump myself. Maybe it's my lack of knowledge - who knows! I am trying to create an online forum inside of my application. Yes, I …

Member Avatar for kingsonprisonic
0
213
Member Avatar for d1lu5ion

hi everyone, I am trying to make 5 pages.. 1 is an html page and the last 3 are php pages.. the html page is called data_uploader.htm and contains: upload image upload html AD submit go to sender When you up click submit loads the files and then it returns …

Member Avatar for jmichae3
0
194
Member Avatar for fcvolunteer

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 …

Member Avatar for fcvolunteer
0
899
Member Avatar for Awah Mohamed

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 …

Member Avatar for diafol
0
156
Member Avatar for kadriirdak

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 …

Member Avatar for veedeoo
0
172
Member Avatar for Vielardz

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 …

Member Avatar for jmichae3
0
197
Member Avatar for momo219

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 …

Member Avatar for jmichae3
0
127
Member Avatar for rajeesh_rsn

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.. …

Member Avatar for PatrikIden
0
172
Member Avatar for patk570

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. …

Member Avatar for pritaeas
0
973
Member Avatar for sugumarclick

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 …

Member Avatar for cereal
0
944
Member Avatar for rrlogu

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 …

Member Avatar for rrlogu
0
167
Member Avatar for abhinav1986

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.

Member Avatar for abhinav1986
0
4K
Member Avatar for MDanz

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?

Member Avatar for hijabihtohai
0
140
Member Avatar for daniel36

I need to implement video streaming in my page with adobve flash player.IN this a user can seek any part part of video.

Member Avatar for daniel36
0
153
Member Avatar for sbhatt

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 …

Member Avatar for cereal
0
104
Member Avatar for kay19

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 …

Member Avatar for cereal
0
133
Member Avatar for davy_yg

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']) ? …

Member Avatar for davy_yg
0
250
Member Avatar for vaanipala

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? …

Member Avatar for ThLFR
0
2K
Member Avatar for amulet_john

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(" …

Member Avatar for amulet_john
-1
265
Member Avatar for em_dai_kho

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" …

Member Avatar for simplypixie
0
119
Member Avatar for davy_yg

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 ?

Member Avatar for davy_yg
0
133
Member Avatar for usboy2903

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) …

Member Avatar for niranga
0
221
Member Avatar for vaanipala

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? …

0
106
Member Avatar for ebanbury

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? …

Member Avatar for ebanbury
0
105

The End.