39,402 Topics
![]() | |
up to 3am last night, any help appreciated!!! have a html form created in dreamweaver. want users to complete their details on a form. do not need a dynamic page or sql d.base as only one way traffic. i just want to receive date in either email or excel format. … | |
Hi, I am new to PHP and need some help regarding some issues which I am facing in development of the contact form. Please look at the diagram at [URL="http://www.Photo-Host.org/view/392565untitled-1.gif"][/URL][URL="http://www.daniweb.com/techtalkforums/"]http://www.Photo-Host.org/view/392565untitled-1.gif[/URL] [IMG]http://www.Photo-Host.org/view/392565untitled-1.gif[/IMG] for the exact problem which I am facing. I have tried [B]header()[/B] for that issue but it didn’t worked … | |
Hi, I had heard about manu traffic generator php scripts. How to make a php script to generate traffic or is there any free php script for generating traffic. Thankyou | |
I NEED HELP PLEASE PLEASE PLEASE THE PROBLEM IS [B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/mounted-storage/home23a/sub003/sc21979-KVVZ/www/ghhookup/functions.php[/B] on line [B]28[/B] [PHP]<? $conn_id; $sql_res; $sql_res2; $sql_query; $HTTP_REFERER=$_SERVER["HTTP_REFERER"]; $REQUEST_METHOD=$_SERVER["REQUEST_METHOD"]; function sql_connect(){ global $conn_id,$sql_host,$sql_user,$sql_pass,$sql_db; $conn_id=mysql_connect($sql_host,$sql_user,$sql_pass); mysql_select_db($sql_db); } function sql_execute($sql_query,$wtr){ global $conn_id; $sql_res=mysql_query($sql_query,$conn_id); if($wtr=='get'){ if(mysql_num_rows($sql_res)){ return mysql_fetch_object($sql_res); } else … | |
body> <form name="wfwd"> <select name="wcode" onChange="disp(document.wfwd)"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> </select> <?php [B]$id=$_get['id'];[/B] [B]echo $id;[/B] ?> </form> </body> <script> function disp(Object) { var index=Object.wcode.selectedIndex; var value=Object.wcode.options[index].value; var item=Object.wcode.options[index].text; [B]document.wfwd.action='worksfwdtogovt.php?id=item';[/B] [B]document.wfwd.submit();[/B] }//disp can i return the value of item into the form using this javascript. i want to echo … | |
I'm having a problem outputing from a database I'm trying to get a text field from the MySQL data base My input was "Come join us for John's birthday" But the actual out put was "Come join us for John's birthday" How do I fix this? When i do " … | |
Ive got the code: [php]mysql_query("UPDATE members SET gold=gold+$sellprice WHERE email='$player[email]' ")or die(mysql_error());[/php] To add gold to a users account in the database but this doesn't work every time I run the script instead of adding on the new value to the old one it just sets the gold to zero, … | |
Hey, Im trying to set up a forum using phpBB2 on a free web hosting server. The problem is, when anyone attempts to register with the forum, an error occurs refering to emailer.php. I've researched the problem online and found little helpful results. I emailed the web provider I am … | |
For a program I'm working on, I need to do the following: 1. Starting with a single set of fields in a form, I need to be able to dublicate them (multiple identical form entries) without necessarily knowing how many there will be. I managed to do this, by incrementing … | |
Im having a problem that my while loop is not finishing even when the conditions have been meet. [php]$turn = "0"; while ($player['health_n'] > "0" OR $opponent['health_n'] > "0" AND $turn < "25"){ $turn = $turn+1; $hitfor = $youatk / $oppdef; if ($hitfor <= "0"){ echo "$turn. $opponent[name] blocked.<br />"; … | |
How can i get a selected value from combo box ? i used combo.selectedItem.But it is not working.will u pls give me a solution for this | |
I have googled for anyoneexperiencing the same error. Apache2.2 works fine as stand alone. Now, when installing php5.x and after making the changes in the httpd.conf file for Apache, Apache doesn't read the php file. Changes in httpd.conf file were : # For PHP 5 - Added on Oct. 13 … | |
Hi to everyone, I have been trying to activate "remember me" option in login page of my site. But I have some errors while executing this option. Can anyone help me to solve the problem or any correct URL for activating cookies. Thanks to all.. Bye.. | |
Hi Php gang! Got an amature question and hope one of you can kindly help me: (My tech guy is very sick and I need to have this up and running) I have a php site and the address ends with something along the lines of : mysite/directory.php?cat=123 We have … | |
Hi, folks. I input an RSS news feed on to my site and I use a PHP routine to parse the input. I barely know PHP; basically, I learned just enough to get the feed working. I would now like to make a small edit to the code and am … | |
Hello... I have one curiosity that I need to solve. I hope anyone who know the problem tell me reason why is this so. I have done a php/mysql application some time ago and I encounter this problem while testing on using coding with register_global on and register_global off. I … | |
[B]First Issue: Problem[/B] So on a forum, i've condensed the date of a certain event to $date = $month . " " . $day . ", " . $year; So instead of storing the Month Day and Year in seperate rows on mysql, i store all three under 1. But … | |
Hi all, I m nu to the world of php and i m facing some problems in programming it's pages. I have made a complete page but it is showing on execution"Query could not run"????????????????now what's this? In 1 more page i ve written this commands.... <? $q= "select count(ProductID) … | |
Hi, I am just using a upload script and need to specify that only audio files are uploaded no video or images or any other file. Only audio files must be loaded. Can any body provide me the solution for that. Thankyou SCRIPT using <? // you can change this … | |
What do you guys think are the real future uses for these two technologies, asp and php? | |
I need to create bots that searches a clients PC for a security certificate and also for encrypted login details which are then decrypted and resent to the host server for validation. Somebody help me please! | |
heh, while surfing the Net yesterday I found brilliant site about making shell scripts with PHP. This might be intersting for those who have to do some system maintenace (like me), but do not bothered learning perl or bash.... so, have a look at [URL="http://www.php-cli.com/"]http://www.php-cli.com[/URL] :!:. There is everything there. | |
Can anyone help..... When I search on my site this is the error I get [QUOTE] [B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/mounted-storage/home23a/sub003/sc21979-KVVZ/www/ghhookup/functions.php[/B] on line [B]28[/B][/QUOTE] This is a peice of the code from function.php [QUOTE]if(mysql_num_rows($sql_res)){ return mysql_fetch_object($sql_res); } else { return ''; } … | |
what sql is?what can we make with SQL?do i have to know PHP BEFORE LEARNING SQL ?????? | |
Hi! I'm doing a small website with some mysql and php, and have difficulties with doing a login site. I have the form sending the username and password, and this site should check them. Here's the code: [php] <?php session_start(); if(!($connection = mysql_connect("host","user","pass"))) die("Can't connect to database."); if(!(mysql_select_db("db", $connection))) die("ERROR … | |
Hello, My site has a error: Parse error: syntax error, unexpected T_STRING in /home/***/public_html/playground/maps.php on line 341 Line 341: $getopp="SELECT * from a_pokemon where Pokemon='$getuser3[Opponent]'"; $getopp2=mysql_query($getopp) or die("Could not get Pokemon from database."); $getopp3=mysql_fetch_array($getopp2); Thanks, Danyal. | |
Hello, I'm building a website like MySpace, the address is [URL="http://pantarei.awardspace.com/"]http://pantarei.awardspace.com[/URL] the website is wrote in Italian. It has members customizable profiles, internak message system, search user tools, a forum and a chat. I just builded the main forum page but I have a problem that I cannot solve. The … | |
I need to display the results of a short poll, and display the percentage of results for each option in each question. I don't know how to calculate the total number of results for each option or how to calculate and display the percentage of each vote. One of the … | |
hello has anyone installed and uploaded phpadmin through dreamweaver. can anyone explain to me how? im a bit stuck | |
Hi every one, I have a little problem in php. problem is that i want to search mysql table by php coding. In php i want to use Drop down menu And a text field. I have mysql table name is guestbook, now i use two entries in dropdown menu … | |
I don't have much time to say this but I'm going to try and hurry... Here's a snippet of code: [quote] $subName = "someName"; include "contentHeader.php"; [/quote] Inside of contentHeader: [quote] echo $subName; [/quote] -------------------------- I know that this variable is correct because I had tried to use it on … | |
Hey everyone. I dont know if anyone here can help me but I run a site powered by the Joomla CMS. I wanted to design a component for my site and I was wondering if i could use C++ to design it instead of PHP and just use the 'system' … | |
Hello, I want to convert a 1024 x 786 wallpaper into thumbnail in PHP Wots the code for it? Thanx in advance | |
hi, i've been writing a liltle php script for 2 days now and i am stuck on a big problem which i can't find a solution for. i hope you guys can help me out, i have been searching all over the web for a solution and tried many things … | |
Hello all, I have a newbie question. I need an alternative to this: $variable = 'Sometext with some other text <?php include 'somescript.php'?> some more text'; where $variable will be echoed into a webpage as part of the page content. I can echo text into the page all day, but … | |
Hello guys Its afternoon this side of Africa. I have a school project where a user register and they earns points. When the points are 10, the first user is either deleted from the database and/or retained in the system, either way the second person gets their points... and the … | |
Well im a noob so be gentle lol Ive got a basic multiple choice quiz, and im trying to make it so that when processed it will insert the result into a table in the database. Anyone got any ideas how i should go about this? | |
Hey all. I have tried my hand at some simple programming in both ASP.NET and PHP. Now I am pitching a complex website to some investors where I will be outsourcing to professional developers. I must decide between PHP and ASP.NET platforms. In my experience, ASP.NET seems to offer a … | |
Hey. I wish to develop a website for team members which has features as listed below. I am impressed with [URL="http://www.evolt.org/PHP-Login-System-with-Admin-Features"][COLOR=#0000cc]http://www.evolt.org/PHP-Login-System-with-Admin-Features[/COLOR][/URL] resource source code which is freely available and I am thinking to use that as reference. I need small help and they are - 1) Password protected login for … | |
Hey all. I have tried my hand at some simple programming in both ASP.NET and PHP. Now I am pitching a complex website to some investors where I will be outsourcing to professional developers. I must decide between PHP and ASP.NET platforms. In my experience, ASP.NET seems to offer a … | |
hai Friends How to convert time stamp to actual date uding php ? Please help me __________________ Thanks Vssp | |
How would I got about editing .inc files in php for a cms? | |
I have a form which for debugging I'm submitting as 'get' so that I can see the values of the inputs being passed. the url pass is AddMValidate.php?prodno=1682&isnew=on&special=on&title=Special&Mselect=SAM&FCKeditor1=dkja+sdfjasfd+adj+ashfkjdhaskj+fdh&submit=Submit In my AddValidate.php page I have the following [php] #Validate that Machine Type has been selected $Mselect = $_REQUEST["Mselect"]; if ($Mselect =="SAM") … | |
Could you send a code of simple mailing list management in zend on linux? | |
If I want my users to download a .zip or .exe file the command is <a href=filename.exe>Download</a> or <a href=filename.zip>Download</a> This will ask the visitors where to save the file on their hard disk. But what if I want my users to download a doc/pdf/php/html file and I dnt want … | |
Hi everyone. Here's the question: I need a web program that will allow a English teacher to run a business where he checks the texts submited by the members. The program should be a website where a student will sign up to become a member, will log into the website … | |
hey folks, i was wondering if it is possible to use the copy function to move a word file from the web server to another drive? Any help would be appreciated.. thanks | |
Hi, I need a urgent help on how to integrate paypal and how it works. Please read the following query: I am making a website on astrology and the requirment is that they had some paid services, like As a question? If a person click on as a question a … | |
Hello, I have a field in DB called bookingstatus whose value will be <>1<>2<>3 Now after certain action I want to add one more extra value i.e. <>1<>2<>3<>[B]4[/B] how can i update this, should i have to check the previous values? how do i do update? Any help would be … | |
Hey, at my job, I work on so many systems, and I have so many usernames and passwords, that I have to keep them all in a password protected spreadsheet. I would like to write a php app that I could put on my site where I could store all … |
The End.