39,320 Topics

Member Avatar for
Member Avatar for tryphy

Hi, I have a javascript function to disable and enable a textbox. [CODE] <SCRIPT LANGUAGE="JavaScript"> function enable() { document.form1.tmphone2.disabled=false; document.form1.pmphone2.disabled=false; } function disable() { document.form1.tmphone2.disabled=true; document.form1.pmphone2.disabled=true; } </SCRIPT> [/CODE] I need to call the function in a php code, on condition Heres my code: [CODE] <?php $cc = $row['company_country']; $s …

Member Avatar for EvolutionFallen
0
2K
Member Avatar for eenceo

Can anyone think of a reason why a PHP // comment cancels the execution of a file? Here's the setup: I have an index.php file that loops through different commands. [CODE]if(in_array($act2, $a2)) { if($act2 == "prods") { require('prod.php'); } else if($act2 == "stats") { require('stats.php'); } else if($act2 == "cust") …

Member Avatar for eenceo
0
193
Member Avatar for darrylpatterson

Now that Perl is losing its popularity, which one the these languages will be the next to go: PHP or ASP? Which one of them do you like best? and why?

Member Avatar for digital29
0
139
Member Avatar for fobos

hello all, i have a problem. First off, i am able to upload 200mb to mysql database; so im good there. I changed the values in "my.ini" to 700mb. The problem is, when i try to download it, i get a error 404 or something like that. Its like the …

Member Avatar for cwarn23
0
95
Member Avatar for rpgwebsolutions
Member Avatar for rukshilag

hi im working on a search field in drupal for a system that maintains student information. i have one interface that has the search student info box and the other which is search results i wrote some php code to search the and there are no errors yet still its …

Member Avatar for rukshilag
0
157
Member Avatar for dillyfresh

getting this error: Parse error: syntax error, unexpected T_VARIABLE in index.php on line 3 here's the code: [code] <?php include("budget.php"); include("user.php"); ?> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> </head> <body> <div id="container"> <a href="user.php?action=register">Register</a><br/> <a href="action.php?function=transaction" id="add"><img border="0" src="img/plus-icon_small.jpg" alt="+" width="30" height="30"/> </a><br/> <?php if(isset($_GET['month'])) $month = $_GET['month']; else $month …

Member Avatar for OS_dev
0
73
Member Avatar for fawkman

Hey Guys I have been playing around with the google calendar API using the Zend Framework- Gdata library. I have had mild success in using this and have stumbled accross an issue I beleive is to do with passing variables through a URL. Basically, I can create several calendars and …

0
85
Member Avatar for SCoder1
Member Avatar for diafol
0
86
Member Avatar for mrjoli021

what is wrong with this form????? i can see the name and email but not the msg?? [code] <?PHP echo $_POST["name"]; //works echo $_POST["msg"]; //nothing prints out ?> [/code] [code] <form method="post" action="form.php" style="margin:0; padding:0"> <b>NAME:</b><br> <input name="name" type="text" class="form" id="name"> <br> <br> <br style="line-height:8px"> <b>E-MAIL:</b><br> <input name="email" type="text" class="form"> …

Member Avatar for diafol
0
112
Member Avatar for litlemaster

I need to select certain the rows from a table but need to show only just five of them. For example select * from table where user = $user; but i need only top five results

Member Avatar for litlemaster
0
101
Member Avatar for abhish2005

HI my project involves reverse geocoding and therfore i ve embedded the google maps api in my web site and am using their geocoder to get location names from coordinates. The geocoder and its functions are written in php. Now the problem is that i need to store the values …

Member Avatar for diafol
-2
118
Member Avatar for Excizted

Hey. I'm having an annoying problem, that I can't seem to figure out. In my page when I echo long messages, I do an in-code linebreak at around 100th character, to keep at all in my view. But when I do that I also get the line breaks and indents …

Member Avatar for almostbob
0
153
Member Avatar for NoID

Hello Guys, I have found this counter, but i want it to refresh the number every 1minute, so for example it says "19" and the end user keeps refreshing the page, he wont see the number changing untill its been 1min. [code] <?php function randomGen($min, $max) { // setup our …

Member Avatar for BeachyUK
0
93
Member Avatar for jazz_vill

I have this table forum and topic and i want to query forumname, description, total topics in the Forum idk how to do this i tried an sql statement like this SELECT f.forumname,f.forumdesc,max(t.forum) as total_topics from Forum as f INNER JOIN Topic as t WHERE f.forumid = t.forumid; of course …

Member Avatar for urtrivedi
0
236
Member Avatar for s_kanika

Hello everyone I have created a basic chat window in that i used textarea to enter message but by default it is taking a tab i.e., initially cursor isone tab ahead instead of being at initial position of textarea . Can anyone help me??????

Member Avatar for s_kanika
0
100
Member Avatar for tejateja

here is my code ajaxtest1.php <!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> <script type="text/javascript"> function getXMLHttp() { var xmlHttp try { //Firefox, Opera 8.0+, Safari xmlHttp = new XMLHttpRequest(); } catch(e) { //Internet Explorer try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlHttp …

Member Avatar for diafol
0
544
Member Avatar for Alena112001

I have a php site with around 12 pages - where I wish to put a nice song from the index to the all pages without be interrupted by a click outside from index page. How I have to do or where I can find the script? Thank you for …

Member Avatar for diafol
0
229
Member Avatar for ya.basha

Hello All, Is there a way to print the http header? I want to print realm parameter from the header. Regards,

Member Avatar for ya.basha
0
150
Member Avatar for Technerd_Shawn

Well I have 3 Database tables I am working off of 1 is for Users, It contains IDs, Names, ect, ect 1 is for the skills they are trained in, it has 2 columns, One for skill_id and one for Description (portal_userSkills) The last table is a joiner it joins …

Member Avatar for Technerd_Shawn
0
127
Member Avatar for selvasoft

Am using wordpress for web hosting. Stil now am using mysql database. But now i want use oracle is it possible or not please reply me any one... Thank you..

0
42
Member Avatar for brijendra1

hello how to open resume in php or javascript or ajax or how to open .doc file in php or how to read .doc file in

Member Avatar for chrishea
0
232
Member Avatar for sam1

hi, I want to write one file which is .html to .php extnsion right now i have this [CODE]RewriteRule ^(artist.html*)$ /artist.php?%{QUERY_STRING} [L] RewriteRule ^$ /artist.php?%{QUERY_STRING}[/CODE] but this effects all html files any help please

Member Avatar for samarudge
0
61
Member Avatar for faraz101

Hi friend.I m faraz here for the first time. I m new in PHP and doing some basics. I m writing small scripts. I have prolem with $_POST varivle. I wanna get name from the form and print it on the screen. But my script iz not working. Plz check …

Member Avatar for Fbody
0
110
Member Avatar for veledrom

Hi, I just installed Karmic Koala Ubuntu. Can I have PHP4 and PHP5 runing on my machine at same time? I ask this question because, some web applications use PHP4 others PHP5. If not, do I have to have 2 separate computer? If it is possible, how do I do …

Member Avatar for jmo
0
71
Member Avatar for ChintuChowdary

Hi To All, I want import contacts from gmail,yahoo,rediff,hotmail,e.t.c.., to my site.And inivte the friends[Contacts]. Thanks in Advance...

Member Avatar for mrcniceguy
0
75
Member Avatar for rukshilag

I am doing a system in drupal - and i am also coding in php in the drupal pages i create to connect to a database and display results for various requirements. How do you redirect a certian page to another page in drupal? do we use the node number …

Member Avatar for untitledking
0
192
Member Avatar for JSHGROUP

Hi there, I'm setting up a multiple outlet online food ordering website and have a question regarding delivery charge options... Each individual outlet is going to have different delivery options, from FREE Delivery to £X cost. I simply would like to know how I include a simple piece of code …

Member Avatar for JSHGROUP
0
107
Member Avatar for rpgwebsolutions
Member Avatar for Benjip

I'm stumped with a somewhat complicated 'lookup table' situation. I've tried many different methods to output the data I need (and in the order I need it) but I think I'm just going around in circles. Basically I'm trying to output a <select> dropdown form element, with serveral different <options> …

Member Avatar for darkagn
0
257

The End.