39,326 Topics

Member Avatar for
Member Avatar for xxreenaxx1

I am able to upload a file and echo these. But now I would like to upload these to my database. How would I go onto doing this. I found something like this for C++. but not sure how to convert this to PHP. this is what I found [CODE] …

Member Avatar for xxreenaxx1
0
182
Member Avatar for mbarandao

Good day: Need some assistance with an idea which seem to be complicated as I think of it and can't seem to figure out an appropriate implementation. I'm working on a hosted service app which requires a php logging system to identify the user and their respective account. On this …

Member Avatar for mbarandao
0
108
Member Avatar for jacob21

Hi, query showing error [CODE] "SELECT * FROM admin INNER join category on category.cat_id=admin.cat_id where admin.company=".$_REQUEST['company'].""; [/CODE] thanks

Member Avatar for kekkaishi
0
74
Member Avatar for hotice47

HI i am try to delete multiple data by using check-box in php i tried but is don't works not getting the ids from the check-box.. my code is [CODE] <tbody> <?php while ($row = mysql_fetch_array($res)) { ?> <tr class=" <?php echo $class = ($class == 'even') ? 'odd' : …

Member Avatar for coolest_987
0
149
Member Avatar for anooptech

I am a beginner to PHP, I have a table dyn_menu to store menu items in the database. The parent_id is the id of the parent menu item. I need to generate an array like, array[ -1 --3 -2 --4 ---6 -5 ] The table shown below.Please help me to …

Member Avatar for vibhaJ
0
142
Member Avatar for mdminternet

Hi guys, I'm currently building a Wordpress site and I have a very minimal knowledge of PHP. I'm wondering if anybody can tell me or knows of code which I can insert into my template to make the top 30 posts appear but in 3 columns rather than just straight …

0
64
Member Avatar for justin_petrulis

Hello, i have centos server with installed webmin, php, apache, mysql. I have configured php without soap and now i need to install php-soap-5.3.4-1.el5.remi. I have searched all over the internet but not found that rpm. I would be very grateful if you could give me a link if you …

Member Avatar for justin_petrulis
0
268
Member Avatar for nitnayak

can any one help me with this code, I am using this code for display No.of days in given date date format is 25/04/2011 [CODE]function month() { var date = document.getElementById('datetxt').value; var curr_month = parseFloat(date.substring(3,5)); var curr_year = parseFloat(date.substring(6,10)); var day = cal_days_in_month(CAL_GREGORIAN, Number(curr_month),Number(curr_year)); document.getElementById('nodaytxt').value= day ; }[/CODE] Its not …

Member Avatar for youvi
-1
50
Member Avatar for emhmk1

Hi Everyone. I'm having a hard time getting my head around the concept of this and kind of need it spelling out for me. as things stand the user uploads a video and then my script converts it without the user being able to do anything, however this, i know, …

Member Avatar for emhmk1
0
170
Member Avatar for P00dle

g'mornin peeps. I'm going for an interview tomorrow at a company that uses the ZEND framework. As such, I have been reading up on it, as well as MVC among other things. The question I'm asking is about the ZEND controller action. Could someone please point me to an example …

Member Avatar for P00dle
0
196
Member Avatar for floatingDivs

Hey guys, I'm interested in PHP and was wanting to get better. I figure there is at least a handful of active members who are college students and wouldn't mind learning more PHP. My offer is to create our own, unique, open-sourced educational CMS similar to Blackboard or Angel. It …

Member Avatar for jogesh_p
0
152
Member Avatar for Bazzaah

Hi I'm building a site that contains access to some mp3 files of people speaking English. I would like a media player that is able to handle a variable that results from a database search. I can use <a href etc> to link to the relevant file but would like …

Member Avatar for Bazzaah
0
106
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
171
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
193
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
325
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
196
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
135
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
149
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
186

The End.