39,393 Topics
![]() | |
Hi, Has anyone seena script for searching a database, and having pagination as well...as I have tried and successfully created a search database sarch webpage..and a pagination webpage, but that returns all the data in the database... Regards Rob Wood | |
I can't query my database and cannot update, may I know what is the mistake in my coding? [CODE]<html> <head> <title>Index</title> </head> <div style="position: absolute; width: 1146px; height: 842px; z-index: 1; left:10px; top:1px" id="layer2" align="center"> <body background="E-Filing%20Management%20System%20Picture/Snow.gif"> <p align="center"> <img border="0" src="E-Filing%20Management%20System%20Picture/logo-RR-gif.gif" width="957" height="245"></p> <p align="center"><span lang="zh-cn"> </span></p> <p align="center"><span lang="zh-cn"><img … | |
While creating a userid the password is saved in type md5 in mysql The below script to change password does not save password in md5 in mysql and hence user after changing password cannot login The script also gives password chaged sucessfully but also says you have typed wrong password … | |
I need to import TEST.TXT (located in the same directory as my script It has 1 Record: "6","Lunch","234" Iget this error message: Warning: mysqli_close() expects exactly 1 parameter, 0 given in C:\wamp\www\test\import.php on line 19 Why? Heres my script: [code=php]<?php // Connect to the MySQL server and select the corporate … | |
my problem is with using $_SERVER['HTTP_REFERER'] in IE.it doen't work. what can i do instead ? | |
Hi all, so I'm looking to make a social network style site, just to help me understand php so please don't say anything about reinventing the wheel. I'm looking for a way that when a user clicks on a name in the member list that it sends them to profile.php?id= … | |
Hi! I'm having a problem when generating a crystal report from php. This code works fine when not using connections to ODBC, but when I try to connect i get the error: "Server has not yet been openned". I've tried almost everything, even chaging the dlls but nothing has worked … | |
hi there.. I using for loop to increment the column in my page. through this increment, I want it to insert to the database. But what I'm getting is the last value only. can someone help me? this is my supplier_quo.php which when we click submit button, it will go … | |
hi, am in learning phase of php , am struck here , i try to call method in a class from other class namely display.phtml and displaycall.phtml i was successfull in calling the method but problem is , i have a variable $_productCode with value equal to 'A1001'. The main … | |
Dear all, I have a requirement that, when the user click on a radiobutton of a listed module, all its permissions should be toggled down. This section comprises in a div "msg_body". there are more than one module and so more than one msg_body divs. I used jQuery for this … | |
Hi, Some decoded a zend file for me but i get this error: [CODE=php]Parse error: syntax error, unexpected '*' in /home/xxx/public_html/.main.php on line 136[/CODE] the code is: [CODE=php]mt_srand( ( double ) * 1000000 );[/CODE] I just delete the [b]*[/b] ? Sorry i dont know much about php. | |
Hi.. I'm new bie in php.I'm trying to create a "Asset Tracking System" software using php,mysql. I create menu named ats_itmentry,ats_itmissued,ats_itmreturned. but how to make each three form for insert data through these ? pls help me. i want it with php. | |
Hi guys I am very new to php and am trying to create a small content management site. Hopefully I will have posted this correctly, sorry If I have missed anything out. I want to be able to have an admin page link show up when i log in as … | |
I am creating a simple report using FPDF which opens fine. I have a link on my php page to generate the report in a new tab. But after generating the report, when i click to any button or radio box on the php web page, the design view of … | |
I'm building a few simple CMS variables into an Dynamic site that I half-built with Dreamweaver. The following code is the initiation of a paginated recordset display generated by Dreamweaver: [CODE]$currentPage = $_SERVER["PHP_SELF"]; $maxRows_creditsList = 6; $pageNum_creditsList = 0; if (isset($_GET['pageNum_creditsList'])) { $pageNum_creditsList = $_GET['pageNum_creditsList']; } $startRow_creditsList = $pageNum_creditsList * … | |
hi guys! I got a problem when I want to display the array from the database and rank it. can someone fixed this problem:- [CODE] <?php session_start(); include "mysql.php"; // you have already opened your db connection $report_status = isset($_REQUEST['reportTotal']) ? $_REQUEST['reportTotal'] :""; //$query = mysql_query("SELECT * FROM `supplier_report` " … | |
hi everyone I need help regarding my php code. I used array to insert data in the database. I want the value will be in ranking system such as: 1 0.575 2 0.456 3 0.327 the thing is the value whic is in the database such as 0.575 will be … | |
Hello Someone decoded a zend file for me.. after uploaded it on ftp i get some errors, i tryed to fix but (dont know if what it did is right, i dont have skills in php) now im stuck and i dont know where the problem is. Please take a … | |
I have a twitter clone and i was wondering how to display users tweets on his profile. | |
Hi, I ve got php set up on my localhost using IIS 7 which all works fine. iv also got Argosoft mail server.net free setup as well. The problem i have is that when i try to send an e-mail using a php e-mail script i get the following error: … | |
Hi guys, I have a very simple question I can't solve because I haven't used arrays. How can I make a For Loop that increments by 1 and when it does that takes the value and puts it in an array. So eg. Loop 1 Array = 1 Loop 2 … | |
Is it possible to get a PHP page to popup in a new page after a form post? Then, return information from the popup page to the parent page? Right now when I post my data, the browser window navigates to the new page and I have no way to … ![]() | |
I have a little twitter clone but how to display messages from mysql from newest to oldest. [CODE]<?php session_start(); $connect = mysql_connect ("localhost","root","") or die (mysql_error()); mysql_select_db ("login4") or die (mysql_error()); $_SESSION['username']; $username1 = $_SESSION['username']; $username = $_POST['username']; $submit = $_POST['submit']; $micro = $_POST['micro']; $date = date("d-m-Y"); if ($submit){ mysql_query(" … | |
Hi, new in PHP stuffs and coding I have question, I How do you add randomizing numbers for each reload the number fluctuates from the number i provide (ex. 1-10%) and also add microtime(like 0.3123213 or 1.32423) Im really newb here at PHP | |
Is it possible to write a php function that wraps every newline inside a <pre></pre> block with a <code></code> block? An example would be something like: [code] <pre> <code>first line here</code> <code>second line here</code> <code>third line here</code> </pre> [/code] | |
Hi. I'm using php and mysql for a system. I have some questions on INSERT query. When we are using INSERT, in our query.... i. Is it necessary to include each field included in the table we are going to insert value with (though some of the field maybe do … | |
Ok i am making a CMS using PHP/Mysql (its designed as a learning experience for me so it will not be anything like mambo etc... :) ) Anyway, here are some screenies. If anyone wants to help then I would happily share what little code I have written. | |
Hi, My site uses sessions and for example on login a random token as a hidden field in the form is generated and added to the session. As i am on shared hosting i set my own session path outside root directory and if for example session is tampered in … | |
hi all what i want to do is that when im running a shell script, if there is error(like permition denied) i wil be able to catch it as string my code is [code] $cmd= `sh /blabla/bla.sh` print_r($cmd); [/code] if the script is ruuning with no errors, im able to … | |
The End.