39,320 Topics
| |
I created a test.php file in the required /var/www folder but how do I edit the file ?It says it's only a read only file.Using chmod +rwx <filename> says 'no such file'...Please help . | |
i have 18000 records in my table i want to update a single field and i want that first 500 records update then after some sleep next records have to updated in mysql any idea appre thankx | |
The code: <link href="css/main_stylesnew.css" rel="stylesheet" type="text/css" /> <TR> <TD COLSPAN=2 background ="images/207_13.gif" WIDTH=53 HEIGHT=335 ALT=""> </TD> <TD COLSPAN=5 align="center" valign="top" class="smallheader"> <div id="google_translate_element"></div><script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'ro', includedLanguages: 'en,it,es', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script> </br> </br> Afisare Oferte Munca <hr /> <br /> <?php error_reporting(0); … | |
I have 4 checkbox. 1)name 2)phone 3)address 4)dob 5)all What i am trying to do suppose name,address,& dob is checked by user,then query is: Select name,address,dob from table; Similarly if phone,address select phone,address from table; & for all Select * from table; I am getting value of checkboxes. Need suggestions | |
<? $koneksi = mysql_connect("localhost",'root',''); if(!koneksi){ die ('tidak ada koneksi'.mysql_error()); } ?><table width="294" border="1"> <tr> <td width="20" bgcolor="#CCCCCC"><pre>id</pre></td> <td width="56" bgcolor="#CCCCCC"><pre>Pembeli</pre></td> <td width="60" bgcolor="#CCCCCC">Nilai 1</td> <td width="62" bgcolor="#CCCCCC">Nilai 2</td> <td width="62" bgcolor="#CCCCCC"><pre>Total</pre></td> </tr> <? mysql_select_db('dbpenjualan', $koneksi); $query = "select * from tpembeli"; $hasil = mysql_query($query); while($row = mysql_fetch_array($hasil)){ ?> <tr> <td><? … | |
i want to show friend request without pressing submit query button. please anyone help me .change the code without form Table structure for table `friend_requests`-- CREATE TABLE IF NOT EXISTS `friend_requests` ( `id` int(11) NOT NULL auto_increment, `sender` int(11) NOT NULL, `recipient` int(11) NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT … | |
After I am done installing this script I get this error: [QUOTE]????????????????????????? ???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????x???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????‡??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Ç?????????????????????????????????????????? Warning: require_once(ROOT_PATH/modules/system/models/system.class.php) [function.require-once]: failed to open stream: No such file or directory in /home/name/public_html/index.php on line 17 Fatal error: require_once() [function.require]: Failed opening required 'ROOT_PATH/modules/system/models/system.class.php' (include_path='.:/usr/lib/php') in /home/mane/public_html/index.php on line 17[/QUOTE] Here is the files requested above: … | |
Welcome! Game Server EXE parameter-jet I want to start WebAdmin is a control panel. OS: Winsows Server 2008 Enterprise 32bit (SP2) Webserver: iis7 PHP: 5.2.17 Safe mod off. cmd window running game, for example. GTA SAMP starts, but COD series desktop which requires a longer start properly. Process brings elidnított … | |
The web site is on online library where the user finds a book and sends an email to the owner of the book. My PHP creates a table of results based upon a query. One of the cells in the table includes an email link to the owner of the … | |
i got the problem of accessing variable outside iframe. [CODE] //a.php <?php $a="text"; ?> <iframe src="b.php"></iframe> //b.php <input type="text" value="<?php //i want $a to be put here ?>" /> [/CODE] Is it possible to access $a from b.php? | |
well this one is the my first post in the daniweb , and i belive that i will get solved my problem . well i trying to create a MLM project in which i m trying to creating binary tree by using this code which i have attached in this … | |
I get random Parse error: syntax error, unexpected $end in my code. All i have to do is refresh the page and the error goes away, all is working. When it appears the line is always different and when i examine the line nothing is wrong with the code. This … | |
Hey, I started learning PHP programming. I wrote this script to update a user's password from the mySQL database, but it's isn't doing so The script is :- [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <div id="content"> <?php $errors=array(); if(empty($_POST['uname'])) { $errors[]="You forgot to enter your username"; } else { $uname=$_POST['uname']; } … | |
Hi, I'm trying to add a condition to my htaccess file but it seems to only match if I use [ICODE]%{REQUEST_URI} !^/?.+$[/ICODE]. If however I add [ICODE]%{REQUEST_URI} !^/?B.+$[/ICODE] it will never match. Also the full code showing what I am trying to achieve is as follows: [CODE][B]RewriteEngine On[/B] [B]RewriteRule[/B] ^$ … | |
I want to update my users last log in in the database : [CODE]<input name="login" type="submit" id="login" onclick="<?php mysql_select_db($database_web, $web) or die("Error : " . mysql_error()); mysql_query("UPDATE users SET timp='NOW()' WHERE username='$user'")or die("Error : " . mysql_error());?>" value="LogIn" />[/CODE] this is my code but it doesent update the table :| … | |
I am having a problem with the Google Maps API because of conflicting names in my site's CSS. From what I've been able to find, Google Maps uses the name "container" in their code as does my site, so when the map loads it has this nasty white shadow behind … | |
Hello evryone i need aregex code that replacing url: [url]http://domain.com[/url] [B]at [/B] link: <a href="http://domain.com" rel="nofollow">http://domain.com</a> replace the url until space | |
Hello all, I am building an online Logbook service and have come to a dead end with my script. I am trying to make it so that when members are logged in, they can add records to a database (which I have done), then it automatically assigns that members id … | |
Hello all, I have searched this forum to find the answer to my question however none of the answers seem relevant so here we go: I am building a member service however when coding the login.php script, I keep coming across this error: [QUOTE]Warning: mysql_num_rows() expects parameter 1 to be … | |
Hi friends, I m a php coder and in one of my real estate portal I likes to use any one of best php frame work. Please advise / suggest me a best and easy learning one.. Thanks rajeesh | |
I want to display a multiple records from the database, 1 of the field needs to be displayed in a list format. i have managed to achieve this, the problem is that the list is duplicating and incrementing into the next record. Displays like this: Record 1: a, b Record … | |
I’ve created a dynamic page ([I]page.php[/I]) who’s content changes based on the incoming link, specifically by calling a GET on the ID in the URL. So, for example, someone visits [I][url]www.domain.com/page.php?id=310[/url][/I] and the content on the page changes queries the database and returns results for item 310. I’m in the … | |
I write the following html code : <html> <body> <form method="post"> <input name="imap" type="image" src="screenshot.png"> </form> </body> </html> But when in browser i seee no picture My php code is as follows: <?php echo $_REQUEST["imap_x],$_REQUEST["imap_y"]; ?> Please help. | |
how to hide some content on webpage from unregistered user ? I am using PHP Login Script from about.com [URL="http://php.about.com/od/finishedphp1/ss/php_login_code.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code.htm[/URL] | |
Hi all, I got some little problem for Unicode: My Unicode were Chienese world => 你好, 有什么能协助您的吗? When the 1st time i insert it in to database it saved in this form -> "你 好 , 有 什 么 能 协 助 您 的 吗 ?" ( every &# 1234 … | |
i want to show friend request without pressing submit query button. please anyone help me .change the code without form <?php session_start(); mysql_connect("localhost", "root", ""); mysql_select_db("aa"); //START OF LOGIN if(!isset($_SESSION["logged"])) { if(isset($_POST["username"])) { $query = mysql_query("SELECT id FROM members WHERE username = '" . $_POST["username"] . "'"); if(mysql_num_rows($query) > 0) … | |
Hi, I am fetching data from the database & trying to print the data & export in to excel sheet.but don't know how to do. Please suggest. | |
On a webpage, I have a table (generated on page load through php/html) on the side that has several links (one on each row), and when you click any of them it calls a javascript function (href='javascript:newtable()') that uses an ajax requests to populate the table again (performed by a … | |
Friends, I'm rushing towards deadline and I think that makes me do childish mistakes. Here I have validation that requires regex and each time I input valid expression preg_match returns false. It is long now I'm trying to spot error but I cannot! I have googled and AFAICS, things seems … | |
I need a little help getting started with this, suggestions would be great! The applications' purpose is this: a school is allocated a certain amount of $ for the year to spend on updating technology, it's called 'refresh'. The database has a table for the [B]location[/B] and amount of $ … |
The End.