39,323 Topics

Member Avatar for
Member Avatar for designingamy

Hello everyone! I am new to JavaScript and have been using PHP, but needed to use a dynamic form for information about County/State. Here is part of the code (keep in mind I did all 50 states this way-that's well over 3000 counties): [code] <script language="JavaScript" type="text/javascript"> <!-- //first combo …

Member Avatar for designingamy
0
184
Member Avatar for squarkman

Happy Holidays! I have a one field form. Upon submission with the submit button, I wish to drive this field value into my SQL database table called MEMBERS and field called NAMES, thus adding a new record. Can this be done with an OnSubmit() call to a function, in the …

Member Avatar for Aamit
0
375
Member Avatar for pocnib

I am trying to insert a date into a mysql table field using [CODE] <?php $date=date(Y-m-d); mysql_query("INSERT INTO table VALUES('$date')"); ?> [/CODE] but when I open up mysql and run SELECT * FROM table; it returns a date value of 0000-00-00 instead of the current date at time of insert. …

Member Avatar for danishbacker
0
134
Member Avatar for nil_gh_80

Hello All, Anyone here who can help me in word press MU..... If yes plzzzzz reply.. Thanx..

0
83
Member Avatar for rakeshkn123

Hello friends Iam KNR i require code fopr adding check boxes in the database can u please help me Thanks in advance Bye KNR

Member Avatar for rakeshkn123
0
70
Member Avatar for 83apple

Problem: I installed an sms script at earthbane.com/sms. the script sends the sms as it should but when it gets to my cellphone the from sections says [email]atmail@server1.earthbane.com[/email]. Is there anyway that I can change this so that it says something other than [email]atmail@server1.earthbane.com[/email]. I appreciate any help you can …

Member Avatar for 83apple
0
66
Member Avatar for veledrom

Hi, I have downloaded Drupal but i have some questions. 1. I have read the installation but didn't get it. I need help to install it. I run WIN XP with WAMP server. 2. Can i use it in my local compuer with WAMP for test purposes. I just need …

Member Avatar for sikka_varun
0
157
Member Avatar for xarz

Is there anyway to get metadata of an mp3 file using php? Even just the track length. Thanks.

Member Avatar for xarz
0
161
Member Avatar for mikeabe

Hi (In my php form, i'm getting a bunch of data to Mysql, all of which is working correctly except id and name. id and name are fed from Mysql to the form.) Here's the problem area: I'm getting an id AND name from a dropdown menu using EXPLODE. With …

Member Avatar for mikeabe
0
120
Member Avatar for finance-blogs

I've downloaded some of my site, to transfer it to a new site, however when I upload it to the new site, I've found that if I zip it all up, it complains that the headers have already been written when I view the site, however if I just straight …

Member Avatar for sDJh
0
63
Member Avatar for daveg8

I have a website where most pages will load on Macs but a few of the pages will not. All of the pages will load on PCs. Any ideas why? -Dave

Member Avatar for sDJh
0
98
Member Avatar for JayJ

I'm trying to grab a value from a mySQL database and put that value on the end of a url path e.g. http://url.com/$valuefromdb Is there any tutorials to how to do this or can anybody recommend how to tackle this? Kind Regards JayJ

Member Avatar for sikka_varun
0
109
Member Avatar for virspy

Hi friends iam new to PHP can any one help me in the code for add category please iam not getting exact things please Viru bye

Member Avatar for sikka_varun
0
67
Member Avatar for ina_rizoaica

Hi, hope you can help me. I am working with a database (mysql) already created, pictures were stored in a longblob field, but this is the only field related to pictures (so I have no info about their size). I manage to extract and display the pictures - using a …

Member Avatar for ina_rizoaica
0
97
Member Avatar for mcx76

Hi, I am insearch of script which can add/remove products without shopping cart. I want Add/Remove Product Add/Remove Product Picture More information link to next new page open with large picture and description. Something similar to [URL="http://www.winbodigital.com/Products.asp?BigClassName=CCD%20Cameras"]this website script[/URL]. (its asp. I am insearch for php) please suggest any script.I …

0
67
Member Avatar for Jhon100

I'm looking for a script written in php directory. Somebody knows any interesting? Thanks

Member Avatar for compdoc
0
93
Member Avatar for veledrom

Hi, I created a XML file and trying to write into it. It does write but, without the values from database. For example code below writes only <Title></Title> without the value. It should be <Title>My name</Title>. I do echo and the variable is full. Value [code] ........ $xmlFileName="test.xml"; $process=fopen($xmlFileName, 'w'); …

Member Avatar for veledrom
0
80
Member Avatar for php2sheik

hi i developed some webpages in php. before it i use http://<my path>, but now i want to use https://<my path>.. i use https://<mypath> . it displays the page cannot be found.. how to avoid it..

Member Avatar for cwarn23
0
144
Member Avatar for xty

how can i make : [code=php]header("Location: cppassemail.php?user=$this->pSession->whoAmI('username');&pass=$password&quota=5");[/code] work? somebody told me to make it like this: [code=php]$user = $this->pSession->whoAmI('username'); $pass = $password; $quot = 5; header("Location: cppassemail.php?user=".$user."&pass=".$pass."&quota=".$quot); exit;[/code] but it dosen't work. it results just a blank page, no errors, no redirecting.. nothing. thank you! ps: please tell me the …

Member Avatar for Anamika1
0
328
Member Avatar for EddieX

hi, i'm trying to create a form generator from mysql database, i'm already made database and table selector now im trying to generate form elements based on generated fields, so in short : select database > select table > list fields >> in list field, people can choose what form …

0
60
Member Avatar for sikka_varun

Hi.. Does any one have any idea how to refer our webpages without their extensions... Im not typically asking like http://abc.com/pagename Im basically asking about the blog sites, sites having archived newsletter... They have a url like http://abc.com/archives/2008/10/2/building-websites-with-html And the page opens with the same title as url but without …

Member Avatar for somedude3488
0
80
Member Avatar for veledrom

Hi, This (DOM) display the data stored in XML formatted with a XSL file. Ik works fine. [code] $xslDoc = new DOMDocument(); $xslDoc->load("bookstore.xsl"); $xmlDoc = new DOMDocument(); $xmlDoc->load("bookstore.xml"); $proc = new XSLTProcessor(); $proc->importStylesheet($xslDoc); echo $proc->transformToXML($xmlDoc); [/code] I want to do it with (simplexml) with also including XSL. Code below displays …

0
59
Member Avatar for spokie

Hey guys thank you for the help you have been giving me it is much appreciated!!! Now can someone help with some code, im developing a website using php and mysql and id like to know how do you limit the amount of data that the php script takes from …

Member Avatar for sikka_varun
0
96
Member Avatar for designingamy

Hello all, I am having a hard time trying to figure out why I can't get my code to successfully check my email address. It seems I can plug in anything and it won't give me an error. This is my code for that line: [code] <?php session_start(); if((!empty($_POST['email']) && …

Member Avatar for designingamy
0
83
Member Avatar for gtamawale

i am beginner. i dont know how to configure mail server. would u please explain about mail server and also about smtp and pop3 server and their configuration with example.....

Member Avatar for gtamawale
0
188
Member Avatar for squarkman

Hi Gurus, I have a form that works well. But there is no validation. Can validation be added on after the fact? I'm sure it's not ideal but can it be done. General suggestion appreciated on how. Here's the code [code=php] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $toaddress …

Member Avatar for sikka_varun
0
125
Member Avatar for arshadshaikh

I am using apache2triad 1.5.4. I need to use MS SQL Server 2..5 database with my php application. How do i use it and how to configure it. Please let me know ASAP. Thanks

0
42
Member Avatar for macokovac

for example,,, banner and in there should be : site stat: members, total paid... and - member xyz earned xyz $ so far... Do you know guys where could I find it on script ? thank you

0
60
Member Avatar for mm2409

lines of code is: [code=php]$que_id = uniqid(); $que['Yes'] = No; $que['No'] = No; $que[$_POST['r1']] = Yes; $que_words1= $_POST['q1']; $sql = "INSERT INTO `tbl_CT_Questions` (`Question_ID`,`Questionnaire_ID`,`Question_Words`,`Answer_Type`) VALUES (0,'".$que_id."','".$que_words1."','".$que[$_POST['r1']]."')"; $result = mysql_query($sql) or die(mysql_error()) ; echo mysql_error(); echo $sql; echo "<br>";[/code] whr query returns : [code=sql]INSERT INTO `tbl_CT_Questions` (`Question_ID`,`Questionnaire_ID`,`Question_Words`,`Answer_Type`) VALUES (0,'494220e779547','Conflicts Questionnaire','Yes')[/code] as …

0
75
Member Avatar for elbuhleini

Hi, N00b in need for some help :) I would like to do this: our affiliate inputs an url of his choice and submits. The script gives him our app with his affID embeded in it. When his visitor installs this app, he is redirected to url, which was submitted …

0
94

The End.