39,320 Topics
| |
i installed it all correctly and everything, i'd recently tried WAMP5 and that didn't work either so i moved to XAMPP when i go onto localhost and type into the URL my file from notepad called index1.php it doesn't work i tried localhost/index1 and localhost/index1.php it doesn't work it says … | |
Is there a way to allow the php tags with the strip_tags() function ? i've tried strip_tags($text, '<?>') and strip_tags($text, '<? ?>') but it doesnt work .. any help would be appreciated thanx .. | |
I have been reading books and articles and I have seen various mysql functions (mysql_query, etc) being used inside php functions and those php functions be called everything the php programming requires a query, etc. So what do you think are the best practices, etc? Thanks, Regards X PS: I … | |
Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. PHP ver: 5.2.6 apache ver:2.2.9 Mysql ver:5.0.51b However I'm getting errors on the second table: [QUOTE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in … | |
Hi, I have a select like below in my form, I want a second box to populate but differently for each activity. I would like to do this by means of something like this (case method really).. Any help would be much appreciated.. been struggling with it. Thanks alot, Chris … | |
I need a routine for printing out to pre-printed paper forms. We recently had a programmer install in our office software written in php , and to be used locally through localhost on our pc, mysql, php and apache2.2 all installed, the software is working well, however we have a … | |
Please help me corect my code. I want to insert image into mysql with php but it can't. my code wrote as below: Table: CREATE TABLE `TblClothes` ( `ClothesID` int(11) NOT NULL auto_increment, `ClothesName` varchar(100) NOT NULL, `Description` varchar(800) NOT NULL, `Colour` varchar(100) NOT NULL, `CSize` varchar(100) NOT NULL, `Price` … | |
Hi Friends Till now, I have been coding my PHP files mainly in Notepad. I had used a few PHP IDEs earlier, but were not satisfied. I found them too cumbersome and some were quite unstable. Now it's becoming rather tedious to edit in Notepad. So I am looking for … | |
I have a list box for multiple selection. It contains some main list and sublist. My aim is no one couldn't select the main list. for eg: Project manager Arun Pradeesh Team Leader Madhu Jibin Anybody couldn't select the main heading such as Project manager and Team Leader.. Pls help … | |
there is a prob in my program pls help.. [CODE] <?php print "<table border=\"1\">\n"; for ( $y=1;$y<=10;$y++) { print "<tr>\n"; for($x=1;$x<=10;$x++) { print "\t<td>"; print ($y/$x); print "<\td>\n"; } print "</td>\n"; } print "</table>"; ?> [/CODE] the output should be... 1 2 3 4 5 6 7 8 9 10 … | |
[CODE=php]<html> <head><title>Write a New Article</title></head> <body> <?php session_start(); $connect=mysql_connect("localhost", "worldofp_mussy", "mustafa"); mysql_select_db("worldofp_blog1") or die(mysql_error()); $get="SELECT user_id, user_name FROM user WHERE user_name = '" . $_SESSION['username'] . "' ORDER BY user_id"; $results=mysql_query($get) or die(mysql_error()); $row=mysql_fetch_array($results); $insert="INSERT INTO article( article_name, article_content, user) [B]VALUES ( '<h4>" . $_POST['articlename'] . "</h4>', '<pre>". $_POST['articlecontent'] ."</pre>', … | |
Hi all, I have just put together a simple log in script from various tutorials on the web and at the moment it is only checking the username entered by the user against what is in my database. I cant find any infromation about any kind of AND function or … | |
hi how to create dynamic menus for web pages in PHP. | |
Hi, Can anyone tell me what is mean by core php.What is the difference between core php. Please help me Thanks Punitha pary | |
| Searching for a solution to my problem I found this forum. Hope someone here can help. Instead of manually updating a table by using copy/paste from a web page, I would like to read the page directly from php. Pasing the contents would be a breeze, but I have no … |
Hey Guys, I am working on a PHP platform where I have to build reports that show graphs that take values from MySQL Queries. For this purpose I am refering google chart libraries. In that I have to pass data to a hyperlink but as the data in my case … | |
Hi, I have been trying to create a searchable database and have the following code for my form and the action code. When the form is changed/submitted ll I get is an error "Query was empty" Can anyone offer any help?? [code]SEARCH By Last Name (Letter)<form NAME="navsel" action="sel_byLetter.php" method="get"> <select … | |
hi frnds. this is something which may seem foolish to ask, but i have been beating my head against the wall at the frustration of not being able to get over this... anyways, what i want to do is to select some data from a single MySQl table, using a … | |
hey frnds... i am develpoing a program using PHP/MySQL. Here, i have a form which consists of a few text fields etc etc. It also contains a drop down menu. In the backend, i have a number of databases. The user input (drop down menu) will decide which database is … | |
right, well i'm just recently learning php. i've installed WAMP and it seems to be working for all i know, but when i go onto the localhost or whatever and click onto my saved file in my project folder it always tells me that i have to download it. i … | |
Hi all, i have a php form that i use on websites for their contact forms. it uses basic php mail send. i have just received a couple of emails that were sent using the form, but i feel didnt get sent via the website. i.e. i think that they … | |
Hi, can anyone help me debug this piece of code please, any help will be much appreciated! Its the body of a message im sending with mail() function.. Thanks, Chris Getting this error in FireBug.. Parse error: syntax error, unexpected '.' in /var/www/virtual/capetownalive.co.za/htdocs/bookings/scripts/xmlHttpRequest.php on line 28 [code] $message = 'Cape … | |
Hi all, I want the the tag , to retrieve the values from the database......... Thanks | |
Hello I have a csv file which I am parsing into XML with this code : [code] <?php /** * Converts a CSV file to a simple XML file * * @param string $file * @param string $container * @param string $rows * @return string */ error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", … | |
Hi this is Scorpionz Reason of this thread: I have created a small record sheet in which, I created 3 fields namely ('name, store_date, store_time') and handling this through PHP like i insert name in the field and press button it then saves (Present time as stated in machine and … | |
Parse error: syntax error, unexpected T_STRING in /www/110mb.com/m/u/s/h/i/2/1/9/mushi2195/htdocs/includes/languages/english/index.php on line 15 [Code]<?php /* $Id: $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'WELCOME TO M M TECH. <b>Our aim to provide cheap products at the best prices.</b>. <br><br><table … | |
I am new to using php for querying exchange server. I downloaded the class_http.php and class_xml.php. I am trying to run the example "Grab all properties for an item " given at http://www.troywolf.com/articles/php/exchange_webdav_examples.php#allprops . I have modified the following variables in the example php script (exch3.php): $exchange_server = "http://mail.msm.edu"; $exchange_username … | |
hi i have a search page where it displays the search result in the next page.i have used paging concept to display the result.when the user clicks back link after viewing a record,it should redirect him to the page where i have the results in paging thanks | |
I want to expire login details after some days.. Can any one help me any short code to this thread in php... I have the registered date of particular member in my database.. Thanks. | |
Hi all, i am getting `Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\demo\help.php on line 23` this error. how to overcome by this problem, <?php include 'database.php'; $email = $_POST; $firstname = $_POST ; $lastname = $_POST ; $tphone = $_POST.$_POST.$_POST ; $message = $_POST; … |
The End.