39,316 Topics

Member Avatar for
Member Avatar for Bhuddha

Hey, I'm trying to get a form submit to work, I've got this made: <?php $to = "xxx@xxx.xxx" ; $subject = "Application form" ; $firstname = $_REQUEST['first_name'] ; $charname = $_REQUEST['char_name'] ; $class = $_REQUEST['class'] ; $level = $_REQUEST['level'] ; $age = $_REQUEST['age'] ; $timezone = $_REQUEST['timezone'] ; $raidavail = …

Member Avatar for phouse512
0
110
Member Avatar for ytregnn

I just bought this script; [url]http://www.scriptsez.net/index.php?action=details&cat=Reviews+and+Ratings&id=2519672139[/url] You can see a demo of the script here: [url]http://www.scriptsez.com/ez_comment/demo.html[/url] I'd like to create an 'average' of the total votes for each review/comments. Is this possible to do in an easy way? I would also like to create a top 10 list based upon …

Member Avatar for diafol
0
89
Member Avatar for hno

HI i want to make a web site which it can make a web site map. how can I do so ? thanks

Member Avatar for darkagn
-1
62
Member Avatar for codewalkz

Anyone who knows how to apply this in php scripting? the scripts in this site can be xecuted in mysql console but I can't get it working in php script in the website im studying. I want to create a tree like this: [URL="http://sitepointstatic.com/graphics/sitepoint_numbering.gif"]http://sitepointstatic.com/graphics/sitepoint_numbering.gif[/URL]

Member Avatar for codewalkz
0
445
Member Avatar for zeusofolus

I am wanting to create a drop down menu that displays one value in a database inside the form, but passes another value when the form is submitted. For example I have a table named users with entries: ----------------------------------- ID | UserName ----------------------------------- 1 BobG ----------------------------------- 2 JaneD I want …

Member Avatar for emhmk1
0
91
Member Avatar for xueping

How can we filter categories (checkbox) like this: [url]http://tp.jobscentral.com.sg/pubsearchjobs.php[/url]

Member Avatar for diafol
0
100
Member Avatar for TomMan

I am making a PHP blog library. I am new to web development and only really programme in C++ or Python. So, I have probably done something really stupid, but this code doesn't work: [CODE] <?php class Blog { public $version = 1.0; public $mysql = NULL; public $servername = …

Member Avatar for TomMan
0
222
Member Avatar for JackSkylar

I keep getting this message Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/j/a/c/jackattacksite/html/register.php on line 80 Here's the code: [CODE=php] // Connect to database include_once "scripts/connect_to_mysql.php"; $emailCHecker = mysql_real_escape_string($email1); $usernameChecker = mysql_real_escape_string($username); $emailCHecker = eregi_replace("`", "", $emailCHecker); $usernameChecker = eregi_replace("`", " ", $usernameChecker); // Database …

Member Avatar for ShawnCplus
0
312
Member Avatar for muralibobby2015

hai, i want to select only parent checkbox. then automatically check all child checkboxes. i mean checkall checkboxes at once. using javascript[CODE] <SCRIPT LANGUAGE = "JavaScript"> <!-- function modify_boxes(to_be_checked,total_boxes){ for ( i=0 ; i < total_boxes ; i++ ){ if (to_be_checked){ document.forms[0].chkboxarray[i].checked=true; } else{ document.forms[0].chkboxarray[i].checked=false; } } } --> </SCRIPT> …

Member Avatar for muralibobby2015
0
2K
Member Avatar for pratik.itworld

Hi frnds.. i am working on symfony and phpmyadmin.. my query is for phpmyadmin... for a field i have specified FLOAT as a datatype.. and i have not specified any size to it.. then can anyone help me what will be the default size for that?

Member Avatar for Atli
0
87
Member Avatar for pcs123

I wonder if it is possible to send text file which is just at this moment prepared and it would be best if the file coud be send without creating on disc. For example I would like to have on my web [code]<a href="day.php">this day</a>[/code] and when you click on …

Member Avatar for digital-ether
0
1K
Member Avatar for gunbuster363

I want to use the function preg_match_all to catch data in a web page ------------------------------------------------------------------------------------------ int preg_match_all ( string $pattern , string $subject , array &$matches [, int $flags [, int $offset ]] ) Searches subject for all matches to the regular expression given in pattern and puts them in …

Member Avatar for pritaeas
0
146
Member Avatar for veledrom

Hi, index.php posts data to process.php I want users to remain in index.php when they summit their form. I have seen this in some websites but don't know hot it done. Can anyone help me? Thanks

Member Avatar for SKANK!!!!!
0
181
Member Avatar for codewalkz

mysql_connect("localhost", "root", "") or die(mysql_error()); mysql_select_db("test") or die(mysql_error()); $root = 1; function display_tree($root) { // retrieve the left and right value of the $root node $result = mysql_query('SELECT lft, rgt FROM tree '. 'WHERE name="'.$root.'";'); $row = mysql_fetch_array($result); // start with an empty $right stack $right = array(); // now, …

Member Avatar for sam023
-1
167
Member Avatar for rukshilag

i have installed drupal in my xampp root. but recently even though my drupal sites work, when i call localhost, unlike other times where "xampp" page shows up to say that apache server is running successfully does not show and the following errors display. Warning: require_once(C:\xampp\htdocs\includes\defines.php) [function.require-once]: failed to open …

Member Avatar for sen2009
0
144
Member Avatar for chaines51

Ok, so my question is this. If I had two tables, quizzes, and users, where each user 'has many' quizzes, then one could simply just add a user_id column to the quizzes table to create this link. However, how would I implement a has many-has many relationship? For example, I'm …

Member Avatar for zmariow
0
86
Member Avatar for web3

I need to make a map of country Croatia seperated in regions and when you click one region it takes to a site that i made.

Member Avatar for pritaeas
0
67
Member Avatar for sam023

[code=php] include_once('session.php'); include_once('config.php'); $userid = $_SESSION['userid'] ; $uname = $_GET['uname']; $query= "call sp_active('$uname','$userid',@u_active)"; $result = mysql_query($query) or die('query_error'.''.mysql_error()); if($result) { header('location:vagent.php'); } [/code] simple php code.. but still throwing Cannot modify header information - headers already sent by i have also use ob_start(); but of no use

Member Avatar for sam023
0
82
Member Avatar for newtodaniweb

Greetings! I'm developing my own wiki and installed v1.6.5. I use MySQL v5.0.83. The wiki itself functions fine but after adding the extension Cite.php and adding the call command [ICODE]require_once( "$IP/extensions/Cite/Cite.php");[/ICODE] it gives me the stubborn fatal error message Fatal error: Class 'Cite' not found in $IP/wiki/extensions/Cite/Cite.php on line 54. …

Member Avatar for newtodaniweb
0
180
Member Avatar for muralibobby2015

my requirement is textarea have 3 keywords. no need to count letters per line. but each keyword separated by commas. forexample: abc is one keyword, defgh is another keyword, kalpana is another keyword. so we are entering like this abc,defgh,kalpana into textarea . there is no need to count no.of …

Member Avatar for muralibobby2015
0
685
Member Avatar for Carrots

Hi, I was wondering why the CREATE TABLE query in my code seems to be called automatically, whilst in the example below from w3schools, there is a line which explicitly calls the CREATE TABLE query. Why is that the query in the w3schools example isn't ran twice? My code: [code=php] …

Member Avatar for leviathan185
0
209
Member Avatar for mrjoli021

i am writing a php program to read simplexml file. i get the following error Parse error: syntax error, unexpected T_STRING in /Applications/MAMP/htdocs/TestSite/sqlconnectstring.xml on line 1 here is the php file [code] include ('sqlconnectstring.xml'); class sqlConnection { var $server; var $user; var $pass; function __construct() { $xml = new SimpleXMLElement($xmlstr); …

Member Avatar for pritaeas
0
69
Member Avatar for kolibrizas

I am new to cron jobs and I never had an opportunity to try them. I know that they can do things in the future, so here come my questions. I am going to put my hosting in byethost.com, but before that I would like to know whether: 1. i …

0
64
Member Avatar for SuntechWebsites

Heres one for ya... Lets say you have a mysql database with multiple entries (clients). Each one has a field for name, username ect. There is also one for say storing a doc file for billing. How can I make it so I can upload a file to just a …

Member Avatar for Atli
0
204
Member Avatar for web3
Member Avatar for edotman

Hi, I have created this page that should play a video from a remote folder and also display other details about the video (eg. Author, Description, Date). When i Use this code it stops the page from loading fully and also shows no video or video name. When i delete …

Member Avatar for diafol
0
77
Member Avatar for AirGear

i have a project that implements the using of database. i chose to use php as the application interface and mysql as the database. at the end of this month, we should submit the softcopy. now, i'm confused with the files of my project. i'm using wamp server, and in …

Member Avatar for AirGear
0
131
Member Avatar for rajeesh_rsn

Hai, I had developed a self forum ( not third party ) for my web site. Working fine... But now I need to filter some words while submitting the form. Ie If I need to filter the word "duck" in forum then if an user type "duck" in any of …

Member Avatar for rajeesh_rsn
0
82
Member Avatar for edotman

Hi guys, I have created a site where users can upload videos(mp4) and images(jpg & gif). The upload script sends the uploaded file to a folder on a remote server, and the filepath is stored in MYSQL. Can any one tell how i go about playing the stored videos or …

Member Avatar for Atli
0
174
Member Avatar for cwarn23

Hi and I am planning to make a bunch of tutorials. I would like to hear what sort of php/ajax tutorials people would like to see. I have heard in the past that some noobs would like a tutorial on making a blog. What else should I write tutorials about …

Member Avatar for cwarn23
4
638

The End.