39,402 Topics

Member Avatar for
Member Avatar for n_hernandez

I have created a website using dreamweaver. I am very new to all of this and have kind of been learning along the way. At any rate, I CANNOT get the booking request form to submit the gathered info to my email. I do not like the mailto: option because …

Member Avatar for phpbeginners
0
182
Member Avatar for vaseemansari

i have installed joomla 1.5 on my local server now want to embed vurtue mart with that joomla so can anybody guide me how to do this as i have downloaded files from vurtuemart.net but instructions are not up to date that make me explain any help would be appreciable. …

0
58
Member Avatar for phouse512

Hello, I've looked on google for information about storing multiple pieces of information in one database column, but I can't find anything helpful. If I want to have some sort of etc. inventory, and there is more than one 'item', how would I store multiple items inside the database? Thanks

Member Avatar for Designer_101
0
110
Member Avatar for rvdb86

Hi, I am trying to create a script that checks that the posted values from a form exist in an array. This is simple if the user has to fill out all the fields, but they don't so I need to check the $_POST array to see which variables exist, …

0
57
Member Avatar for codewalkz

RewriteEngine on RewriteRule ^([^/\.]+)/?$ index.php?j=$1 [L] This makes index.php?j=sample look like [url]http://www.domain.com/sample[/url] Now, i want to except [url]http://www.domain.com/account[/url] from the rewrite rule. How can I proceed? Thanks a lot!

0
67
Member Avatar for knarffrank
Member Avatar for kiranhg.2008
1
270
Member Avatar for marulu

I am in the process of learning PHP with JS and Ajax and have the foll. problems. I have created a class to generate master data entry screens. (1) Javascript code that works when I run master.class.php independently does not work when I run users.php. I came across this problem …

0
145
Member Avatar for dpatz

Hi, I am reading in a bunch of files to upload but they are in an array: [CODE]<input id="tab1file0" class="tab1Files files" type="file" name="tab1file[]" /> <input id="tab1file1" class="tab1Files files" type="file" name="tab1file[]" />[/CODE] To upload the files I call a function uploadFile() which looks like this: [CODE]function uploadFile($thefile) { $base_path = "files/"; …

Member Avatar for network18
0
166
Member Avatar for tiger86

Hey; I have 6 months of work done in PHP and I really don't want to re-invent the wheel but I want to use some Ruby in my site. Is it possible to "mix languages" like PHP and ruby or will I run into some major problems? I would really …

Member Avatar for codejoust
0
273
Member Avatar for anatta

Hi guys, I am trying to add an instant messaging system to my website so that logged in member can chat one-on-one with other member on his/her contact list. I am aware that there are many of such free scripts that I can use but I would rather learn to …

Member Avatar for network18
0
125
Member Avatar for InsaneVr6

I am having trouble getting PHP to run on Windows 7 under Apache. I know I installed everything properly because I have them running on 3 different machines (one with XP, one with Vista), but for some reason when I use my phpinfo(); script it shows up as plain text …

Member Avatar for network18
0
83
Member Avatar for niche1

I found this script and don't understand where the argument 'next thursday' came form. I can't find it in the manual for the DateTime class. Shouldn't I be able to find it there? [CODE]<?php $date = new DateTime('next Thursday'); echo $date->format('l, F jS, Y'); ?>[/CODE] Thanks

Member Avatar for chaines51
0
71
Member Avatar for anatta

Hi guys, I am trying to add an instant messaging system to my website so that logged in member can chat one-on-one with other member on his/her contact list. I am aware that there are many of such free scripts that I can use but I would rather learn to …

0
89
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
112
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
91
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
65
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
451
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
93
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
101
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
226
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
314
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
89
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
147
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
183
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
171
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
149
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
92
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
70
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
84
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
201
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
701
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
212
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
71
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
66
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
205
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
80
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
134
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
85
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
176
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
648
Member Avatar for ayesha789

Dear All, I am developing a Lease Management System and I have Stored LEase agreements in Folder Named LAPO I used ID for search. and in LAPO Folder I have created folders name like 9624 inside 9624, I have stored LA.pdf There are 2300 folders in LAPO and 95% of …

Member Avatar for network18
0
82
Member Avatar for shishtawitch

AOA, i am developing a site, i want that when ever a user signs up on my site, it should get its own folder like youtube........!! i.e [B]youtube.com/user/username[/B] my problem is that i want to get variable wihout adding any .php extension. So how can i get or add when …

Member Avatar for shishtawitch
0
95
Member Avatar for waknash

Hi All, I'm looking for a technique how to save image generated from php to png/jpg/gif, save the image to the server. Later, I want to include the image file to a pdf file generated from a php code. I'm referring the image generated php from [URL="http://www.daniweb.com/forums/thread199886.html"]HERE[/URL]

Member Avatar for venkat0904
0
2K
Member Avatar for Wilmar1980

Hi all, I've searched for this problem in several forums, and as I couldn't find it in any of them, I decided to start this thread. I am a magnet for weird problems. There's this groupware webapplication that I want to test, and for that, I put it on my …

Member Avatar for Wilmar1980
0
92
Member Avatar for mrjoli021

i have a class called sqlConn.php within the same directory as hiuser.php how do i call that class. [code] include('sql_Conn.php'); $sql = new sql_Conn; [/code] does not work i get Warning: include(sql_Conn.php) [function.include]: failed to open stream: No such file or directory in /Applications/MAMP/htdocs/TestSite/hiUser.php on line 10 Warning: include() [function.include]: …

Member Avatar for venkat0904
0
166
Member Avatar for Sucesso

Hi, everybody. I've been a member for a while, but I'm not a coder, so I haven't made any posts. But I get frustrated not knowing how to do things. So I'm taking the plunge. I'm working through a tutorial on PHP and MySQL (here: [url]http://dev.mysql.com/tech-resources/articles/ddws/[/url]), and things have been …

Member Avatar for venkat0904
0
229
Member Avatar for valonesal

Ok I have a site, the site allows me to create multiple pages dynamically, the pages are smarty pages. The editor for the pages is tiny_mce When I go to create the page all goes well, I design then paste the code in html to the tiny_mce interface. When I …

0
63

The End.