39,320 Topics
| |
Hi friends, I have one save button in my html page and as soon as i click that button the html/static page should be saved with .doc extension. As of now i want only the text in the html page to be saved as word document. But if possible suggest … | |
please how can i create a form with three drop down list menu and when submit button is clicked it return a result depending on the choice made from the drop down menu | |
Any body knows how to page a search engine i made? i used mysql and php to construct it. | |
Hi everyone! I really love this forum, it's by far the best coding forum I've been to. I have been attempting form validation and login security for about a month now, and I made the mistake of using all JavaScript for validation (though my site requires JavaScript...sooo I could always … | |
Hi Guys, I'm having a problem with the below code. It's probably a simple mistake as I'm relatively new to PHP, and even newer to socket programming. The background is that I'm developing a socket server for a multiplayer game. Here is the relevant code: [CODE]class PlayerList { var $plist … | |
Hi everyone, Im making a game that requires a login. Ive got stuck on a problem; When a user tries to log in, it wont accept it, its in the database, the script checks the database, but it still says no Here is my login check: [code=php]<? session_start(); header("Cache-control: private"); … | |
Hi, all. when i run my code, i always got the xpath Invalid expression warning. So here is my question: Assume i have the xml file [code=php] <root> <items> <item id="1"> <name> item1 </name> </item> <item id="2"> <name> item2 </name> </item> </items> </root> [/code] And here is my php code … | |
hi i design a php event calendar but it showing some error, anyone check it plz.. Parse error: syntax error, unexpected T_ELSE in W:\www\Calendar-php\admin\calAdd.php on line 149 [code=php]<html> <head> <title>Calendar: Add</title> <META HTTP-EQUIV="refresh" content="1;URL=../calendar.php"> <LINK rel="stylesheet" type="text/css" name="style" href="../calendar.css"> </head> <body bgcolor="#FFFFFF" text="#000000"> <?php //returns highest key in the database … | |
Hello all, i am receiving this message only when i am loged in as a user, when i view the page as a visitor there is no error. this is the code in the file, if someone know what the problem coul be please tell me. thanx [code=php]<?php include("admin/config.php"); $ipgf=99; … | |
i was trying to configure about how to work with <select> tag, when i was stuck with this problem: when i choose the <select> tag with PHP, i just want that that value of the <option> tag on the <select> tag will be the value selected after i submit the … | |
Hi ... i need to inserting around 20 values...which method is best in ajax post or get..i dont know abt ajax..plz send me ajax registration or small form (which having inserting records into db) ...i can learn by using this.... Thank u.. | |
We have integrated Paypal with our application and everything is working perfectly. But after the transaction is completed and successful we need that it should redirect to our application again. But its not happening. We have turned on the auto return option in the paypal too but its still not … | |
Hello, I'm just trying to gauge how often this is used in real world development, it would seem that most would use databases for storing information instead of putting them in text files right? I'm in my first PHP MySql college course. Last week we just finished a chapter on … | |
Hi Guys, I'm new to PHP and need help with passing variables from my form to multiple pages. I have global registers turned to off. I am able to retrieve my form inputs on the second page.. however unable to retrieve the same on the other pages after. for example … | |
Hi everybody, I am trying to install php,apache,mysql through xampp-win32 installer. But i am getting an error that "apache installation failed. port 80 and 443 already in use". I am using windows xp os. How to resolve this problem pls help me | |
we are a small website company. I make the user interface of the website while my colleague develops the admin side in asp or php. The admin pages alow our client to change the text and images on certain pages like products, gallery etc. i want to study code examples … | |
Is it possible to retrieve the number that the error line of code is on? Closest I have come to is mysql_error() but that does not tell me the correct number the line of code is on just like line 1 and it isnt? Line of Code: In your text … | |
I keep getting the following error: [b]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource[/b] on line 17. I'm trying to figure out if there's some problem with my SQL query statement, or what. When I try to print $result, nothing is displayed. I've included my code below. … | |
| i dont know if this is the right forum where i can post this question that i have. im making an organizer and i want to make a pop-up window that would remind the user of an upcoming event he has 10/5 days from that time he opens the organizer. … |
Hai can any tel me , How i can get username from database where i logged in using userid . here is the code below. [code=php]if(isset($_SESSION['u_name'])){ include 'dbcon.php'; $qry = "SELECT * FROM tbl_user where user_id='".$_SESSION['u_name']."'"; $result = mysql_query($qry,$con); if($result) { $row=mysql_fetch_array($result); } while($row=mysql_fetch_array($result)) { echo ' Welcome ' .$row['user_name']; … | |
Hi, wasn't sure where to put this. However since I used PHP in my download script, felt it was appropriate to ask here. Anyway my problem is pretty easy to describe, any downloaded zips off my website are corrupted (however are fine before being uploaded). Is there a way to … | |
What is the best method to share session across multiple domains on same machime. ie, domain name different like abc.com, xyz.com but single application. | |
Which is the best method to get response from a web service URL? for example, we can use cURL, file_get_contents, file, .. to get response. Can anybody help me to find a best one? | |
Hello everyone, I have changed hosting my website. But at the time of connectivity to database , i have changed mysql_connect( ) parameters. still i am facing some problem in opening website. what can be problem . please suggest me. thanks, gagan | |
I have three tables: posts, topics, and forums. Each row in post table has a topic id and a author name. Each row in topics has an id that corresponds with the topic_id in posts, and then it has an id for the forum that it (the topic, containing the … | |
| I have a home server with DynDNS setup, when I go to my dyndns page it loads my webpage specified, what I'd like to do is click a button on my webpage and the [B]server[/B] runs a specified program possibly with parameters i.e. someprog.exe, I don't want the Local computer … |
Hello everyone, I am not sure what I am wanting to do is possible, but thought I would ask here to find out. I want to use a PHP redirect script to load balance my website as it is starting to get hammered so I want to redirect say 1 … | |
i am trying to write a script that will send out an email to all the email addresses stored in a mysql db when the site has been updated. the code i have so far is as follows [CODE]$sql= "INSERT INTO $table (date, title, article) VALUES ('$a', '$b', '$c')"; if … | |
Before you use input, it is a good idea to validate it for mailicous content before use. So you would make a function validation, which would then contain what validations checks? - mysql_real_escape_string - addslashes / stripslashes - get_magic_quotes_gpc - html_entities - etc Anything else you think I should or … |
The End.