39,326 Topics

Member Avatar for
Member Avatar for Aeterna

I'm trying to create a countdown timer that uses datetimes from a database. So far I have the endDate as a DateTime object. What I want to be able to do is pass this into javascript as a javascript DateTime, then find the difference between the endDate and Now, and …

Member Avatar for Airshow
0
219
Member Avatar for Ender330

Hello, I need to find a way to use regex to exclude a phone number like this: +558499608822 I want any number that starts with the country code 55 to be excluded. For some reason \+55 does not work. Thanks for the help...

Member Avatar for pritaeas
0
66
Member Avatar for azegurb

hi, All. I know that how to use public, protected and private variables. for ex: public i can use it another class, protected i can use in main and being inherited class and private only the class where it declared. but i dont understand what is purpose to it public, …

Member Avatar for MooGeek
0
122
Member Avatar for rayidi

echo "<form action='' id='customForm' method='post'>"; echo "<div>"; $mobile = $_SESSION['mobile']; echo "<label for='name'>From : $mobile</label>"; echo "</div>"; echo "<div>"; echo "<label for='name'>Sender Mobile number</label>"; echo "<input type='text' name='recipient' id='mobile' class='error'>"; echo "<span id='nameInfo' class='error'> Mobile number must contain only 10 digits</span>"; echo "</div>"; echo "<div>"; echo "<label for='email'>Message &nbsp; &nbsp; …

Member Avatar for cereal
0
486
Member Avatar for jorjah

gudpm,,hi every one!!!i just want to know if there are codes that will make a graph for our decision support thesis.thank you

Member Avatar for vibhaJ
0
95
Member Avatar for kamalbasha.v
Member Avatar for gunnarflax

Hi everybody! I'm creating a minor feed reader and I wonder how I can best store information on which feeds have been read or not? I was thinking of storing an url to the feed, the post title and the time it was posted. Would this be sufficient?

Member Avatar for vibhaJ
0
113
Member Avatar for surjeetk27

hi friends.... I'm getting this type of error n running my program... Warning: include(include_fns.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\index.php on line 7 Warning: include() [function.include]: Failed opening 'include_fns.php' for inclusion (include_path='.;C:\php\pear') in C:\wamp\www\index.php on line 7 Can Anyone plzz Tell me what this …

Member Avatar for vibhaJ
0
118
Member Avatar for mwenyenia07

in Microsoft sql server 2005 or later,it is easier to generate unique numbers using the database server directly. you only specify the IDENTITY specification say 10000 and an incremental value say 1. this will generate numbers from 10000 upwards and at no time a number can be repeated or used …

Member Avatar for vibhaJ
0
116
Member Avatar for cali_dotcom

Hi, i know youtube does not really have an API as such like FB does, and thats why this is being so difficult. i have a youtube channel and i am looking for a way to give subscribers to the channel some free gifts on my website. i am looking …

Member Avatar for cereal
0
177
Member Avatar for Clanstrom

I wanted a good search engine ranking and, in one of my websites i created index.html file and (1) placed this code: [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="Habehsa, Abesha, Ethiopia Website, Eritrea Website, Ethio Media, Eri Media, Ethio Web, Website Ethiopia Eritrea, …

Member Avatar for limohire
0
238
Member Avatar for manishbq
Member Avatar for manishbq
0
146
Member Avatar for Aardwolf

I have 3 MySQL database 1 is friends, 1 is dashboard and 1 is user what i want is to do a recurrng loop to display all of dashboard, except if you are friends with them. I have this: [CODE=php] $queryy = mysql_query("SELECT * FROM dashboard ORDER BY time DESC …

Member Avatar for rv1990
0
89
Member Avatar for tarmer

First off let me start by stating I am a complete newbie so I appreciate the help anyone can give me (as well as advice) I am toying with a fantasy soccer site (just for a bunch of friends) and I am trying to set up some dynamic pages to …

Member Avatar for rv1990
0
123
Member Avatar for phorce

Hello, I'm trying to create a script that counts the number of people in an array by using a variable called "counter" I am using functions to display the information, however it won't display.. [code] <?php function main() { $people = list_people(); echo 'There are currently: ' . $counter . …

Member Avatar for phorce
0
118
Member Avatar for vizz

I am using following code to UPDATE database and upload file. It updates fields in database name,email,phone. But query does not work for photo field. It gives error. And considers [COLOR="Red"]'$pic'[/COLOR] as empty. Help Plz. Database [CODE]CREATE TABLE employees (name VARCHAR(30), email VARCHAR(30), phone VARCHAR(30), photo VARCHAR(30)) [/CODE] [CODE]<?php //This …

Member Avatar for vizz
0
5K
Member Avatar for jogesh_p

hello friends, i trying to change the extension .php into .html in my local server but it still shows the .php extension. i have test.php and after the mod_rewrite it just show the test.php but if i type in url test.html then it also show the same content of test.php, …

Member Avatar for cereal
0
152
Member Avatar for Espenij

Hi, The $SERVER['HTTP_REFERER'] do not work i php5. I upgraded my page from Php4. I want to register where my visitors have seen me, therefor I want to register the http referer site. Don't this function work in php5 ? What is the difference ? Espen J

Member Avatar for minitauros
0
79
Member Avatar for abhi10kumar

I have to do a PHP project which based on research paper.. Please suggest me unique topic but easy one based on computer science..

Member Avatar for Netcode
0
53
Member Avatar for Mona Ali

I have stared the work to insert the data in the database from php file. Database connection is established successfully but data is not inserted in the database. Some sort of error like "Error: Column count doesn't match value count at row 1" occurs. Our database name is request_license, table …

Member Avatar for coolest_987
0
3K
Member Avatar for sibymary

pls help me.... i want to search books from the database...but it shows some errors. Error is Notice: Undefined variable: searching in C:\xampp\htdocs\project\opac1.php on line 10 Code: <html> <body> <form name="search" method="post" action="opac1.php"> <div align="center"></div> <div align="center"></div> <div align="center"> <table width="300" border="0"> <tr> <td width="81">Author</td> <td width="209"> <label for="textfield2"></label> <input …

Member Avatar for dragonlee
0
138
Member Avatar for thanhdo49th

Help me: [CODE]<input type="checkbox" name="cd[]" checked="checked" value="1"> JAVA<br> <input type="checkbox" name="cd[]" value="0"> PERL<br> <input type="checkbox" name="cd[]" value="0"> PYTHON<br> <input type="checkbox" name="cd[]" value="0"> C#<br> <input type="checkbox" name="cd[]" checked="checked" value="1">[/CODE] i want to get all value(check and uncheck). But my array show array(1,1). i need array(1,0,0,0,1). And when i checkbox is checked(change …

Member Avatar for divyakrishnan
0
61
Member Avatar for wfray

The iPage ISP places limits on sending emails (200 in 1 hour 2000 in 1 day). I've built a PHPMailer application for a small retirement club that needs only to send out about 250 emails twice per month. iPage will not budge on allowing this to occur. They purport it's …

Member Avatar for TrustyTony
0
873
Member Avatar for bizfreak22

I am a newbie, really need your help. I've been working on this for 2 days and can't get it to work correctly. I have a form that I want to submit to the database "New Lead" form. I am using the submodal feature for the customer notes. For some …

Member Avatar for ananthaninfo
0
129
Member Avatar for Nahiyan

Hi, I am making a mini cms for managing my website and to increase my php skills so I wrote some code to give out the result of a query by using mysql_result(..,..,..); but when I tried to echo it out, the php code which is stored in my database …

Member Avatar for leakbali
0
203
Member Avatar for gry

Hi, I coded a script and I have started to use it with facebook apps. I want to set cookies while users are using my app. In firefox, cookies are working normally;however, the application do not set cookies in Internet Explorer and users cannot have any restriction. There are my …

0
194
Member Avatar for ppetree

Hey All! I'm having trouble getting the nodeValue of a specific set of nodes. The xml looks like this: [ICODE] <root> <SpecialParameter>Some Text</SpecialParameter> <SpecialInfo someNumber="123456789"></SpecialInfo> <book> <title>Rusty Bedsprings</title> <author>I. P. Knightly</title> </book> <book> <title>Rush To The Out House</title> <author>Willie Makeit</title> </book> </root> [/ICODE] What I need to get are the …

Member Avatar for iamthwee
0
191
Member Avatar for Clanstrom

Hi there, since recently i have been trying to master HTML, and now i am full ready to take on PHP therefore, just like HTML instead of making many .html files | i want to use the PHP dynamic page function that can show me pages from database. usually as …

Member Avatar for Clanstrom
0
596
Member Avatar for jacob21

Hi, I have 4 checkboxes. red black brown white What i am trying suppose if red is checked then my query execute "Select * from tbl where color='red'"; similarly for black "Select * from tbl where color='black'"; Need suggestions.I have knowledge of PHP,Mysql but not of java script,ajax

Member Avatar for AAREN1975c
0
515
Member Avatar for m_shanak

Hello , have any one know how to develop a zend framework site, the include admin(control panel) and visitor sections . thanks

Member Avatar for Ezzaral
0
119

The End.