39,316 Topics

Member Avatar for
Member Avatar for Sarama2030

just started out on php, kinda having problems configuring the language (php), the database server and the web server on windows 7. what could i not be doing right. I have edited apache's conf file to use php and stuff. One problem is that i have IIS running as the …

Member Avatar for dottomm
0
170
Member Avatar for dottomm

Hello everybody and thank you in advance for taking the time to read this. I am having trouble connecting to a remote MSSQL server from our web page server using the SQLSRV Connect. I have installed all the necessary php extensions and sql drivers, and they all appear as they …

0
83
Member Avatar for peterbata

Hello all. Forgive me if I have posted in the wrong section! Here is my setup: WAMP server - Dreamweaver CS5 I am designing an Intranet solution for a client which I had previously described in my Introductory post several weeks ago. Here is one of the situations that I …

Member Avatar for peterbata
0
159
Member Avatar for McLaren

Hi, I will try describe the algorithm. I have a website, with articles. Administrator can upload image files and then put them into the article. Sometimes it can happen that admin uploads file but does not save the article and closes the browser. So the file isn’t needed anymore - …

Member Avatar for McLaren
0
145
Member Avatar for ss90

i am doing select the data that you want ,then it will search the data in another drop-down list then to search the result~ but it cannot work ,,,can help me [CODE] <option value="0">-SELECT PROGRAM-</option> <?php require_once('../../../Connections/admin_db.php'); $q = "SELECT p_id,p_name FROM p_reg ORDER BY p_id asc" ; $res = …

Member Avatar for jkon
0
152
Member Avatar for jpknoob

Hi, I have been trying to debug this error all day and am having problems. The script connects to the database and displays the results as as it should, however, when it loops, I get the error "Warning: mysql_fetch_array(): 3 is not a valid MySQL result resource". I tried to …

Member Avatar for jpknoob
0
81
Member Avatar for Photek

Hello all! Some help would be greatly appreciated with a specific function. I would like my users to be able to bookmark specific lines of text content on my site into their profile. As an example this site [url]http://quotationsbook.com/[/url] allows you to create a profile and bookmark quotes which is …

0
31
Member Avatar for cliffcc

I have installed the smtp server and Xampp Warning: mail() [function.mail]: SMTP server response: 550 Invalid recipient: [email]xxxx@yahoo.com[/email] in C:\xampp\htdocs\emailtesting.php on line 4 [CODE] <?php ini_set("sendmail_from","xxxx@yahoo.com"); mail("xxxx@yahoo.com","Success","Thanks", "From: yyyy@yahoo.com"); ?> [/CODE]

Member Avatar for cliffcc
0
191
Member Avatar for saiprem

I have installed latest version of wamp server in my local, I have the following version for Apache - 2.2.17 PHP - 5.3.5 mysql - 5.5.8 I am recursively calling a function inside a class, It has end point after 1300 iterations. But I don't know in my new wamp …

Member Avatar for saiprem
0
323
Member Avatar for jacob21

I have the following issue: when a user Sign up on my site I want to send him a mail containing a link. In order to activate his account, the user has to check that link. The link should be accessible only once. How is that possible? What mechanism do …

Member Avatar for tiggsy
0
95
Member Avatar for gunnarflax

Hello everyone! Lately I've been working on my own custom CMS and development library for websites. I know that there are A LOT of CMS:es currently out there but the thing is that I've always wanted a simple CMS that doesn't need a lot of dirty tweaks to get it …

Member Avatar for gunnarflax
0
193
Member Avatar for youvi

id name 1 A4_HUMAN 2 ABC3H_HUMAN 3 22P1_RAT 4 5HT1E_HUMAN Hello , See above shows a database table contains 2 fields id and name.. I need to search these values and display the names with a keyword entered by user. The key word may b a string or even a …

Member Avatar for metalix
0
134
Member Avatar for codemonkey88

Hi, I have been developing a cms site for a client, which uses the adodb package to update the database. I have been doing this as below; [CODE] $updateSQL = sprintf("UPDATE tblSections SET Content = '%s' , ContentTitle = '%s' ,UpdatedDate = '%s' WHERE SectionID = %s", $Content, $ContentTitle, date('Y-m-d …

Member Avatar for codemonkey88
0
195
Member Avatar for karthik_ppts

Hi Frendz, I want to read data from servers port. I checked the port manually with TCP IP listener application. Its working fine and i can receive data. Now i need to develop this function in PHP. For that i just connect the server with the port and ip using …

Member Avatar for karthik_ppts
0
2K
Member Avatar for agriz

[code] session_start(); $facebook = new Facebook(array( 'appId' => 'keys', 'secret' => 'keys', 'cookie' => true, 'domain' => 'domainname.com' )); [/code] //What is cookie => true here? Does it gives session to only one folder? I want to have that session in the overall website. [code] $session = $facebook->getSession(); if ($session) …

0
84
Member Avatar for david_s

hello everyone, i'm new to php and i'm having hard time with sessions i'm trying to create a php file with a drop down menu and when you select an item from the drop down menu, you could retreve it from another page. for example: a1.php [CODE] <?php session_start(); if(isset($_POST['color'])) …

Member Avatar for david_s
0
148
Member Avatar for aya_may

how to create a carrymark system that have 2 user(admin and student)...where admin can update, delete, search, change psword.....for the student...they can update profile, search carrymark, view their carry mark....please help me...as soon as posible....

Member Avatar for chrishea
0
90
Member Avatar for rootseire

Hi, I have been trying to get a select menu to work for hours, and everything is working fine but for one little bit, everytime I select from the jump menu and load the same page again, the menu displays the first result that comes from the database instead of …

Member Avatar for rootseire
0
185
Member Avatar for Geertc

Hello, I have a problem with htmlentities(). I 'm missing something here, but I don't know what it is. In my webpage, which is set to utf-8, the result of [CODE]echo htmlentities('éè')[/CODE] is [COLOR="Red"]éè[/COLOR]. Why isn't the result [COLOR="Red"]&eacute;&egrave;[/COLOR] ? Thing is : I want to put the name 'Hélène' …

Member Avatar for Geertc
0
269
Member Avatar for amit.hak50

I have the below code [CODE]<script="text/javascript"><a href="costs_prices_rates_book_editing.php" onmouseout="turnoff(´pic2)" onmouseover="lightup(´pic2´)"> <img alt="Get a FREE Book Editing Sample" name="pic2" src="images/pricequote.jpg" style="border: 0px solid; width: 215px; height: 51px;" /></a></script>[/CODE] What is happening ? when I try to save onmouseover="turnoff'pic2'),the system is not able to save the file and the changes remains unchanged and …

Member Avatar for diafol
0
119
Member Avatar for rohit b k

hi guys.. in my project i am storing some data in database in a varchar field with field length 255 characters. i want to extract only few of these characters that are stored in database.. please help me how can i do that..

Member Avatar for diafol
0
130
Member Avatar for umeshMCA

hi i have a php dropdownlistbox (select button of html) which having three values on is all and second is activated and third one is deactivated. i want when use select all then show all values of database and when user click on activated then show only activated values and …

Member Avatar for diafol
0
213
Member Avatar for Mars1936

Is it possible to check a random query against another table through php? Say I pull a random query from table A and then transfer it to table B. Then I pull another random query from table A. Is there a way to check the 2nd random query against table …

Member Avatar for Mars1936
0
305
Member Avatar for narekm

Hello there..While installing Joomla i am facing this problem...These are the requirements [CODE] Directive Recommended Actual Safe Mode Off Off Display Errors Off On File Uploads On On Magic Quotes Runtime Off Off Register Globals Off Off Output Buffering Off On Session Auto Start Off Off [/CODE] As you can …

Member Avatar for narekm
0
174
Member Avatar for ahsan1

Error is: Warning: Invalid argument supplied for foreach() in D:\wamp\www\greenmusic\admin\sec.php on line 269. Code is: [CODE] <?php if(isset($_REQUEST['action'])) { echo $values=$_REQUEST['check']; foreach($values as $id) { $mdelete="DELETE FROM songs WHERE id='".$id."'"; mysql_query($mdelete); } } ?>[/CODE] Can anyone help me. I'll be thankful to you.

Member Avatar for Ezzaral
0
304
Member Avatar for kanio

Hello, i'm exporting mysql data to excel with php-excel library ([url]http://code.google.com/p/php-excel/[/url]). I don't know how to print new line in excel... i try "\n", "CHAR(10),"NEWLINE" without success. I have all exported data in one line, but i want to have each row in new line. Here you can look at …

Member Avatar for Wraithmanilian
0
2K
Member Avatar for ahsan1

[CODE]<?php if(isset($_REQUEST['action'])) { $value=$_REQUEST['check']; foreach($value as $ids) { $mdelete="DELETE FROM songs WHERE id='".$ids."'"; mysql_query($mdelete); } } ?>[/CODE]

Member Avatar for KamranArshad
0
373
Member Avatar for debasishgang7

I am designing a php,Ajax chat application with Mysql back-end.Its working fine.I wanna add an extra feature in this apps.I wanna show the users who is present in the chat room.When some one left the chat room it should write XXXX has left the chat room and his/her name should …

Member Avatar for debasishgang7
0
127
Member Avatar for jpknoob

Hi all, i am having issues with my php and sql script. I have created a an update form that is populated with the database contents, however, when i edit the fields, the update script fails to update the database. The form looks like; [CODE] <form action="update-stock.php" method="post"> <input type="hidden" …

Member Avatar for KamranArshad
0
145
Member Avatar for pallavibhoite

Plz frenz help me. I want to display timetable of college lectures using PHP/MySQL. I stored the information about lectures in Lectures_Info table. It has following fields: Subject_Name- name of subject, Lecture_Start-start timing of lecture(like 09:00), Lecture_Day-Day of lecture(like Monday,Tuesday). I attached image for the format of timetable. There are …

Member Avatar for pallavibhoite
0
2K

The End.