39,323 Topics
| |
I was wondering how you take a value given by the user via textbox/form/etc, and propagate it to other links within my webpage. For example, I'm building a website that retrieves stock quotes. I have a form where the user can type in a stock symbol (i.e. GOOG, MSFT, KKD, … | |
Hey All, I'm making online simple fighting game, this script is the attack.php which calculate the atk from the primary weapon and secondary weapon and calculate the def from the equipped armor and get them from the db what i want is if i add new item like Shield and … | |
| Hello people, If I want to access to my admin back-end, you will get a form to input your name and password. I have created a class that sets my session in a file called [CODE]StartSession.class.php [/CODE]here it is: [CODE] <?php class StartSession{ static $admin_s; static $password_s; function __consrtuct($admin_session,$password_session){ session_start(); … |
Hello, I'am really new to all this Facebook development, and I wanted to integrate Facebook within my personal website. I am now trying to test if what I want is possible. [B]I want to post a status from my server, via php/js to my Page in Facebook. How can I … | |
Hi, I'm having problems with special characters not showing on the webpage I'm working on. It doesn't seem to want to work no matter what I try. I'm pretty sure UTF-8 SHOULD show German, so I don't know what it is. [url]http://www.p-soldiers.com/ge/germanabout.php[/url] [B]Here's what I have on the page:[/B] [CODE]<link … | |
[code=text]mysql_query() [[url]http://www.mysql.com/doc]:[/url] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into kiwanis_info ( 'identity', 'firstnam', 'lastnam', 'phonenum', 'emailaddr', ' at line 1[/code] Above is waht I get when inserting into a file from … | |
I have to search record on the basis of excel sheets column field from a table and then insert whole row into a table. How I can do this ?? | |
hello.. i was uploaded files into server. all working is fine. if i enters my domain name it is getting an error there is no page like:Oops! This link appears to be broken. Did you mean: [url]www.domain.com[/url] Additional suggestions: Access a cached copy of [url]www.domain.com[/url] Go to [url]www.domain.net[/url] Search on … | |
Hi Friends I am using dynamic text box, i want to calculate the amount from value of rate in the text box and qty Pls help me how to solve it... [CODE]<?php include("config.php"); ?> <script type=text/javascript> function multiply(){ a = document.getElementById("rate").value; b = document.getElementById("qty").value; c = a*b; amt = alert(c); … | |
Ok, I'm not exactly great at PHP, but I'm learning... Here's what I would like to do: An event occurs every Tuesday and Sunday. I would like to echo out the "next" date for the event. For example- "Yardsale every Tuesday and Saturday Next Yardsale: " [echo the next event … | |
hi all, sorry for bad eng.. this draw polyline on g map and then fetch details from php; my prob is that when user draw a point , distance from that point should be display in miles to another point when his mouse drag to another point. any help or … | |
Can you show me the way about storing the special characters into mysql database using php. Actually,I'm working on such a website where user can upload text and programming codes into mysql. Thank you in advance. | |
Hey Guys, I have a quick question for you. I display a new event every day that allows users to attend that event. The event id and user id are added to an event participants table. I have 3 tables in my DB: "userinfo" which holds stuff like id, Name, … | |
I'm trying to SELECT * FROM table WHERE gender='whatever they clicked on'; WITHOUT refreshing the page. I am showing the gender table and then after the click a gender, I hide that table and then show the next, etc. It's working fine, but whenever I start using the AJAX to … | |
I'm having problems with .htaccess rewrite rule. I want to convert: [QUOTE][url]http://www.domain.com/?d=SOME_STRING[/url][/QUOTE] To: [QUOTE][url]http://www.domain.com/download.php?file=SOME_SRING[/url][/QUOTE] So far I've some up with this: [CODE]Options +FollowSymlinks RewriteEngine on RewriteRule @|\?d=(.+)$ download.php?file=$1[/CODE] Anyone have an idea on why this isn't working? *mod rewrite is enabled* | |
I made a mysql table on my website with backend that allows me to upload images of affiliate companies i deal with. I used this script and it works. I now have need to add URL to these. As you can see i select the directory the iamges are in … | |
Hi guys i have an assignment and it's asking me to let the user enter data into one of three text boxes to search for something in a database it also has to show the results in a table and be hyperlinked to the next page being bookingdetail.php and the … | |
I think this belongs here, but my $_POST['gender'] won't grab the gender that was submitted through a form. I am using AJAX so the page doesn't have to reload so it can go in a smooth transition, but the AJAX is grabbing the value perfectly fine. I have a feeling … | |
| [CODE]// create two new instances of LoadVars, one to send and one to receive data var dataOut:LoadVars = new LoadVars(); var dataIn:LoadVars = new LoadVars(); // define what should happen when the response is received, // using 'this' to refer to dataIn and get data from it dataIn.onLoad = function() … |
Hello guys! I want to make a viewer function that adds up everytime the script runs. I want to do it with a text file, something like this i guess.. [CODE]$fp = fopen("video1.txt", 'a'); ///I guess i need to get the current value of the file, then add an additional … | |
| Hello people, When I call my function ReadMyTable::readAdmin(); i get an error where it says I have not the right to use self::admin within that function, please, help me to fix this problem ! here is my code : [CODE]<?php class ReadMyTable{ public static $admin="admin"; public static $presentation="presentation"; public static … |
I have database entrys that have a date column ( mySQL date type ) in this format(2011-5-30). I want to compare that date with the current server date and with 3 days before that day, to automatically send an email to a specified address. | |
Hi. I have a page with 3 frames. One on the left, one up as a title and the main one which takes most of the page. On the left frame i have some radio buttons. What I want to do is to open / load a page in the … | |
At any forum , you can see if a specific member is online or offline, or generally , how can I detect online visitors accurately who are visiting my website at the moment ... Thanks in advance | |
what is going on? [url]http://naniboujou.com/retreat.php[/url] if you scroll down there is an iframe that is pulling in [url]http://naniboujou.com/contact/retreat.php[/url] everything was just fine a couple weeks ago.. no i notice it is pulling in the index page.. i dont know what changed.. wasn't anything on my end... if you load the … | |
How to prevent form hijacking in PHP? How would you initialize your strings with single quotes or double quotes? [removed link] | |
hey i just started learning php programming, i wrote this code, although the HTML code and forms and everything is working but when i click on submit nothing happens. the code :- [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <?php if(isset($_POST['submitted'])) { if((isset($_POST['name']))&&(isset($_POST['school']))&&(isset($_POST['marks']))&&(isset($_POST['sex']))) { if($_POST['marks']>=80) $grade='A'; else if(($_POST['marks']>=70)&&($_POST['marks']<80)) $grade='B'; else if(($_POST['marks']<70)&&($_POST['marks']>=60)) $grade='C'; … | |
Hi everyone, I am trying to develop a .html page with PHP in it but when I view the source code it does not show anything below the first function call. Below is an example of the html source when it is viewed from a browser (FF4): [CODE] <!DOCTYPE html> … | |
Hi Frendz, How to check whether the given point(latitude,longitude) is in polyline or not using php? I have set of latitude and longitude points of polyline in my database. | |
Hi, I have a web site written in html/php. I can view the site in Internet Explorer just fine. But I have problem in firefox. When i view in FF, site is a mess. Columns shift left to middle, overlapping, much more. Pls advise. Thanks. |
The End.