39,321 Topics

Member Avatar for
Member Avatar for mlhazan

Dear users, I am new to PHP5. My LAMP is working just fine.I made small database connect scripts and they just worked as it should.Then I tried the following code and run the mysql.php but showing me following error: [CODE]Could not run query: Access denied for user 'www-data'@'localhost' (using password: …

Member Avatar for emclondon
0
170
Member Avatar for bavenbabu

I have a problem while creating an xml file in php.I am not getting th root element.But all other elements are been outputted in the result.What might be the reason????Any help would be appreciated.The code is depicted below.order is my root element. <?php $url='success.xml'; //$xml = simplexml_load_file($url); $name = htmlentities($_POST['name']); …

Member Avatar for bavenbabu
0
169
Member Avatar for danielsikes

Hi, [CODE] <table class="info"> <thead> <tr> <th>Mailing Address</th> <th>Location Address</th> </tr> </thead> <tbody> <tr> <td><address>123 Somewhere ST.<br/>Somewhere, CA 123456</address></td> <td><address>123 Anotherplace Ln.<br/>Somewhere Else, CA 123434</address><br/></td> </tr> </tbody> </table> </div> <h3>Information</h3> <div class="blockContent borderedContent"> <table class="entryForm"> <tbody> <tr> <th>Website:</th> <td>http://somewebsitehere.com</td> </tr> <tr> <th>Segment 1:</th> <td>SomeInfo Here</td> </tr> <tr> <th>Email:</th> <td><a class="mailLink" …

Member Avatar for pritaeas
0
241
Member Avatar for mlhazan

I am currently working on a blog page and I need to highlight codes.It will grow as time passes so I am thinking in a broad sense.Geshi looks nice codes are readable but draw back is server side.If a page has 3/4 file it may make it delay on the …

Member Avatar for pritaeas
0
122
Member Avatar for florin1

Hello guys. I made a form with 3 inputs (song name 1, song name 2 and album name). When i submit this form it calls a php script like this one: [CODE]<?php $song1 = $_POST['song1']; $song2 = $_POST['song2']; $album = $_POST['album']; $output = shell_exec('D:\\apache\\htdocs\\test\\mp3wrap\\mp3wrap.exe '.$album.' '.$song1.' '.$song2.''); echo "<pre>$output</pre>"; ?>[/CODE] …

Member Avatar for florin1
0
163
Member Avatar for GordonUK

Hi everyone, I wonder if anyone can help me? I am developing a music website where users can download songs and I have noticed that other similar websites use folders called "Compressed Zipped Folders" which are unzipped automatically by Windows Vista etc. What I want to know is how to …

Member Avatar for pritaeas
0
135
Member Avatar for tubesnube

Hi guys. Was wondering could anyone help me here. What I am trying to do is to generate a number for a document upon selection. The number can't be random. As an example I mean: User request's 'Document X', Document X appears on screen and at the top of the …

Member Avatar for tubesnube
0
90
Member Avatar for vijiraghs

the following is my requirement: There are thousands of RDF files in a folder in my local webserver. The following is the structure of each of the files. [CODE] <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > <rdf:Description rdf:about="http://www.wordpress.com/blogs/introduction to RDF"> <rdf:subject>introduction to RDF</rdf:subject> <rdf:object>vj</rdf:object> <rdf:value> formality</rdf:value> <rdf:value>intro</rdf:value> </rdf:Description> </rdf:RDF> [/CODE] The user will enter …

Member Avatar for cereal
0
580
Member Avatar for jdgieschen

[B]I'm trying to paginate my search results. The first page comes up just fine, but when I click to go to the next page, this happens:[/B] Notice: Undefined index: d1 in D:\Website Design Environment\EasyPHP-5.3.8.1\www\jquery_ui\process.php on line 2 Notice: Undefined index: d2 in D:\Website Design Environment\EasyPHP-5.3.8.1\www\jquery_ui\process.php on line 3 Notice: Undefined …

Member Avatar for jdgieschen
0
896
Member Avatar for technoknol

Hi friends, I have one file in PHP this file is remote upload script. But when i run this file, it's not downloading specified file in URL. Below is a script is there anyone who can solve my problem then pleases help me. [CODE]<?php define('BUFSIZ', 4095); $url = $_GET["t1"]; // …

Member Avatar for weekendrockstar
0
137
Member Avatar for phpbeginnerx

Hi experts, below are codes i learn from php video tutorial : <?php require_once("includes/connection.php"); ?> <?php require_once("includes/functions.php"); ?> <?php if(isset($_GET['subj'])) { $sel_subj = $_GET['subj'] ; $sel_page = ""; } elseif (isset($_GET['page'])) { $sel_subj = ""; $sel_page = $_GET['page'] ; } else { $sel_subj = ""; $sel_page = ""; } ?> …

Member Avatar for urtrivedi
0
144
Member Avatar for gopi17

helloo....guys need a favour from you....okay this is the scenario i have a attribute called document_no, now i would like to append running numbers behind it to fill in a new attribute eg: document_no = 123222 serial_no = 12322201 12322202 12322203 now the number starts from 01 and go on …

Member Avatar for gopi17
0
99
Member Avatar for stanley87

Hi,guys,i cant solve this insert query into ,this is my query,i want it to insert it to another new table.How to solve this query?thank Q very for the help...cheers [CODE] SELECT adp.adsPageId,adp.adsSpaceId, DATE_FORMAT(adp.dayClick, '%Y-%m-%d') AS dateReport, (SELECT COUNT(*) FROM ads_display att WHERE att.adsSpaceId = adp.adsSpaceId AND att.adsPageId = adp.adsPageId AND …

Member Avatar for stanley87
0
131
Member Avatar for bibiki

Hey there, the following is what I get when I perform a typical query on my database: +--------+----+---+---+----------+ | length | id | l | p | username | +--------+----+---+---+----------+ | 50 | 12 | 1 | 1 | bibiki | | 50 | 12 | 1 | 2 | …

Member Avatar for bibiki
0
163
Member Avatar for singularity~

I'm getting an error Notice: Undefined variable: temp. Event though my variable temp is declared; [CODE] if(isset($_POST['saveHomePageDescription'])) $temp = 'hello'; writef("./homePageDescription.txt",$temp); [/CODE]

Member Avatar for diafol
0
219
Member Avatar for cr7489

i have a system that outputs a film review, when it is outputted i want the keywords that appear in it from 2 tables - negative and positive to be in a different colour any idea to do this ? The code is below [CODE] <?php // Connect to database …

Member Avatar for cr7489
0
179
Member Avatar for sjparida

I am developing a website for personal use and I want that when someone fill up the contact form on my website and press send button , all the data from the form should go to my specified email address and as well as on my phone as a text …

Member Avatar for chrishea
0
131
Member Avatar for subrata_ushasi

Hi, I am trying to install Magento in Win XP but not been installed. I tried so many times but that was erroneous. If any one can suggest the steps... thanks in advance. Subrata

Member Avatar for veedeoo
0
375
Member Avatar for grayson773

I've looked up many different answers to the question I'm asking but none have them have seemed to work and im completely confused as to why. Here the the problem: When ever I enter the information into the form on the website, I get the message Error: No database Selected. …

Member Avatar for Biiim
0
261
Member Avatar for heshanm

I have a login form and i want to enter username & password to log into the system. When loading the page (index.php) there was an error displayed like this. >Notice: Undefined index: msg in C:\wamp\www\Home page\new student registration\index.php on line 13 index.php <form id="form1" name="form1" method="post" action="adminloginvalidate.php"> <?php $message=$_POST["msg"]; …

Member Avatar for heshanm
0
233
Member Avatar for devindamenuka

Hi all, I am using codeigniter freamwork. The following is a list of all the native rules that are available to use: required No Returns FALSE if the form element is empty. matches Yes Returns FALSE if the form element does not match the one in the parameter. matches[form_item] is_unique …

Member Avatar for cereal
0
130
Member Avatar for mangel.murti

hi , i want to delete records form these tablesw i have pk fk relationshilp with addcampid on all tables. master table is add_campaign... i am using CI. mytable are add_campaign cac, add_subscriber cas calender cc, calender_master ccm, task cc, task_master ctm, triggers_actions cta, triggers_email cte, jqcalendar jq, manage_action cma …

Member Avatar for cereal
0
117
Member Avatar for veledrom

I've been looking for a answer for this for some time but no luck. Does anyone know how do I check if the mysql db is full? I'll trigger an email in PHP to myself if the db is full cos I cannot check it constantly manually. Thanks

Member Avatar for veledrom
0
135
Member Avatar for mackyflores

[CODE]<html> <head> <title>designplace.org search script</title> <meta name="author" content="Steve R, http://www.designplace.org/"> </head> <!-- © http://www.designplace.org/ --> <body> <form name="form" action="search.php" method="get"> <input type="text" name="q" /> <input type="submit" name="Submit" value="Search" /> </form> <?php // Get the search variable from URL $var = @$_GET['q'] ; $trimmed = trim($var) //trim whitespace from the stored …

Member Avatar for mackyflores
0
169
Member Avatar for Cyre
Member Avatar for Cyre
0
95
Member Avatar for dtidmas1

Hi everyone, The following code is returning the error message "Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/numyspace.co.uk/web_users/home/~unn_u011067/public_html/displayclassbooks.php on line 24" and I'm not sure why? Basically I have a list of classifications (for a book catalogue) and all the options work except for DISPLAY …

Member Avatar for dtidmas1
0
212
Member Avatar for Cyre

Hi fellas! How can i print my details in a web using php. How can i generate a data report. Thanks

Member Avatar for pritaeas
0
134
Member Avatar for lyrico

Hi to all, Can anyone help me to show the code how to save multiple data into mysql via PHP? Thanks in advance. Here's some code [code] <?php echo "<form action='savetoanothertable.php' method='post'>"; $query = mysql_query("SELECT * FROM tbl_student"); while($result = mysql_fetch_array($query) { echo "<input type='text' name='studname' value='$result[studentname]'>"; echo "<input type='text' …

Member Avatar for lyrico
0
246
Member Avatar for bavenbabu

I have a php/html form where certain inputs will be given in the textboxes. Once the submit button is pressed i want to save these data in a xml file in their respective fields. Also i wish to retrieve this data in furthere pages.

Member Avatar for pritaeas
0
52
Member Avatar for Motifaithed

Hi Guys, What is the way to compare two columns from different table?Say I want to compare column IDNumber from table 1 to column IDNumber to table 2, after that I want to delete Identical IdNumber and show the remaining unique IDNumber, any idea how to start it?

Member Avatar for Motifaithed
0
71

The End.