39,320 Topics

Member Avatar for
Member Avatar for styleest

Good day fellow programmers, please i need your help. I have a hidden field that holds both the destination and the id of the destination, i need help on how to send both the id and and value of the destination to the database The code for the form is …

Member Avatar for EvolutionFallen
-1
149
Member Avatar for ebanbury

Hi I'm having real problems getting one dropdown to populate a second dropdown based on different options being selected in the first. For it to work in a form. And for the dropdowns to take their data from mysql table. In the code enclosed I've hard-coded the categories, but obviously …

Member Avatar for ebanbury
0
104
Member Avatar for cecille1127

hello everyone, Help pls. I encounter "server error" with the last sql query statement in the last 'for' loop. Here is the code: $qdev=mysql_query("select distinct(device) from wipdataperarea where creation_date like '$today%' and gtc='AL' order by gtc,device"); $device=mysql_num_rows($qdev); while ($dev=mysql_fetch_assoc($qdev)) { echo "<tr>"; echo "<td>" . $dev['device']. "</td>"; $qarea=mysql_query("select distinct(area2) from …

Member Avatar for cecille1127
0
143
Member Avatar for Usmaan

Hi there, I'm trying to learn how to work with phpMyAdmin and Visual Studio. I've created a database in phpMyAdmin and called the database "business". I've also created a table called business information with some fields but no data. Any idea how I can connect to the database? Regards Usmaan

Member Avatar for Momerath
0
59
Member Avatar for abdulwajidck

I am not good at PHP or javascript, But, our club is going to start a webpage, we bought the domain. We are planned to use wordpress. I want to customise the wordpress to maximum. we want to develop the site at SNIP and i want to know which is …

Member Avatar for diafol
-1
137
Member Avatar for chemngng

I am just wondering what I have done wrong. I successfully installed Netbeans, PHP, MySQL, APACHE on Ubuntu 11.04 and I have been developing applications with them. Recently, Whenever I try to establish a connection with a MySQL using the following lines of code, and run the page from Netbeans, …

Member Avatar for chemngng
0
316
Member Avatar for amit.hak50

I have problem regarding redirect ,I want like when someone types [url]http://picmagazines.com[/url] ,[url]http://www.picmagazines.com,picmagazines.com[/url] ,It redirects to [url]http://www.picmagazines.com[/url] only ,I added the code from [url]http://www.jackborn.com/tools/canonical-urls.php[/url] in .htaccess file but it redirects to some strange url [url]http://www.picmagazines.com/index.php?/[/url] I need this to be [url]http://www.picmagazines.com[/url] ,how I can correct that,please advice me ,this helps …

Member Avatar for Gewalop
0
240
Member Avatar for coolest_987

How to read pdf file in a variable so that i can display that in php page ? Thanks in Advance :)

Member Avatar for chrishea
0
91
Member Avatar for rkayd

I need some extra eyes to help me figure out what is wrong! I have one entry form and a second form that does the updating. I have a checkbox for 'Entered' that works great but the checkbox for 'Proof' does not work. If I manually enter the value in …

Member Avatar for pzuurveen
0
212
Member Avatar for jrotunda85

Is there anyway to format Phone Numbers and/or Web Address [U][B]PRIOR[/B][/U] to inserting them into the database? For example, let's say a user puts one of the following telephone numbers into the box: (777) 111-2222 777-111-2222 777.111.2222 7771112222 I would like these to be stored in the database as: (777) …

Member Avatar for diafol
0
299
Member Avatar for begueradj

Hello people, I have a problem in displaying my images in the dimensions I wish: I used the following code: [CODE] echo'<td><a href="portsdetails.php?idImg='.$idphoto.'"><img src="'.$lien.'" width="10" height="10" border="0"/></a></td>'; [/CODE]

Member Avatar for begueradj
0
158
Member Avatar for coolest_987

Hi Everyone I am working on to read doc file in php but it return ������€������€������€������€�� ���Œ�� ���¸������ Please help me to read doc file line by line in php. Any Help will be appreciated. Thanks in Advance

Member Avatar for pritaeas
0
367
Member Avatar for StWa

Hi, I have the following situation; I made a website where I can manage the pages. One option, where I add more pages, is giving me problems. When working on my localhost everything works perfectly, and the generated file is being processed correctly. Online however is results in a very …

Member Avatar for urtrivedi
0
112
Member Avatar for coolest_987

<?php $word = new COM("word.application") or die ("Could not initialise MS Word object."); $word->Documents->Open(realpath("result1.doc")); // Extract content. $content = (string) $word->ActiveDocument->Content; echo $content; $word->ActiveDocument->Close(false); $word->Quit(); $word = null; unset($word); ?> Please Help

Member Avatar for coolest_987
0
369
Member Avatar for AndreRet

I have created a string, now I want to add data to the end of the string - [CODE]<p>This is the string</p>[/CODE] I now want to read from MySql from a field and add the data to the end of the string. Something like - [CODE]&Str1 = "This is the …

Member Avatar for AndreRet
0
178
Member Avatar for rakesh74888

i want to do remove friend from friend suggestion list after adding the in the friend list in php.how i can do that.Please help me as soon as....

Member Avatar for digital-ether
0
109
Member Avatar for saikishore

Hi.. is there anybody having free php source code..plz sned me.. its urgent plz.... thanks in advance..

Member Avatar for digital-ether
0
354
Member Avatar for Fresco Vivir

Greetings i'm sorry for bother you guys with my questions but i'm in the process of learning php and they say if you want to be the best learn from the best :) what i want to know is how can i copy a column "field" from a Table lets …

Member Avatar for lyrico
0
87
Member Avatar for klemme

Hey everyone! After some research I have found that I need some javescript help to process a users click from a html drop down select list.. I am trying to create an admin area for a website in php and using mysql database. In my admin home page, I have …

Member Avatar for P0lT10n
0
219
Member Avatar for mightysnake

Hi all, I want to calculate the difference between two dates but can't achieve what I want ... I'll explain to you what's the problem.. $date1 = "2007-02-05 20:32:15"; $date2 = date("Y-m-d H:i:s"); $diff = $date2 - $date1; I've already done that but let's suppose if the difference is 24h …

Member Avatar for diafol
0
143
Member Avatar for baig772

is it necessary to install any other s/w like apache etc if i have WAMP or XAMP on my machine to connect php with oracle?

Member Avatar for Stefano Mtangoo
0
83
Member Avatar for Fresco Vivir

Greetings i make a code to show spacific fields of a table is there anyway to make all fields with its records appear ? this is my code [CODE]<?php $db_host = "localhost"; $db_username = "root"; $db_pass = ""; $db_name = "el"; @mysql_connect("$db_host","$db_username","$db_pass") or die ("could not connect"); @mysql_select_db("$db_name") or die …

Member Avatar for Fresco Vivir
0
162
Member Avatar for Sarao

Hello, I dont know any PHP or MYSQL, but I had created a script for my business with the help of you Gurus. Now I am stuck with a problem once again. I hope you will help me again. I have a MYSQL DB, 'shipments' and Table 'info' with a …

Member Avatar for diafol
0
97
Member Avatar for eoop.org

Hi, need some help with the a php code i made to a search engine, i get a error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/eoopoedt/public_html/sok/search.php on line 49 Can some one fiks my code, and give me the right code: [CODE]<?php $button = …

Member Avatar for diafol
0
125
Member Avatar for BleepyE

I have a script that checks so see if a range websites so see if it has some a sample of code in it. Is it possible to repeat the script once every 24hours? (CRON?) If so is it possible to post the website and the result it got in …

Member Avatar for BleepyE
0
130
Member Avatar for shelexelex

I have been trying to fix this code for my feedback form, but its not working i dont know what else to do now, Is there any settings i need to do? I am using an EasyPHP 2.0 [CODE] <?php // Contact subject $subject ="$subject"; // Details $message="$detail"; // Mail …

Member Avatar for shelexelex
0
86
Member Avatar for andrewliu

Hello, I'm building an ecommerce site with php and I'm trying to build an account page so users can manage their credit card info, shipping info, orders, etc... I wanted to design my own Manage Payment options on my site and not have to redirect the user to like paypal …

Member Avatar for andrewliu
0
135
Member Avatar for comondx

hi friends, my database names are like that: --name surname date account--- i want to send 5 or more user info send database with form. form.php <input type="text" name="name" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="surname" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="account" size="8" class="auto-style5" style="height: 20px"> <input type="text" name="date" …

Member Avatar for smantscheff
0
155
Member Avatar for cliffcc
Member Avatar for epicrevolt
0
161
Member Avatar for jacob21

Hello, I am sending a mail on localhost but getting error given below. Please suggest me solution for that. Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\xampp\htdocs\project\contact2.php on line 261

Member Avatar for epicrevolt
0
78

The End.