39,323 Topics
| |
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 … | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 - … | |
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 = … | |
| 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 … |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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) … | |
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'])) … | |
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.... | |
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 … | |
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"]éè[/COLOR] ? Thing is : I want to put the name 'Hélène' … | |
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 … | |
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.. | |
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 … | |
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 … |
The End.