39,402 Topics
![]() | |
I have managed to get previous and next links working on my photo gallery but need to tidy it up. My link works when coded like this [CODE]<? echo "<a href='" . $PHP_SELF . "?photo_id=$prev'>Previous</a>" ?>[/CODE] But when I do this I get various errors. Obviously my syntax is wrong … | |
i have done little bit of research on this but all the information i could find was about unlinking text file i need to unlink an image. i have a variable which store the path to an image stored in file on the server which is what i am trying … | |
Sir, I am facing a problem with a Malayalam (IN) font developed here. Apart from the characters defined under Unicode for Malayalam, additional characters are added after U-FFFF. While using makefontuni.php of TCPDF-php5 it is not accepting the new values. A portion of the .ufm file is show here. From … | |
i am having problem in inserting data into my database,because says to me that query is not executed. the codes are shown below [code=php]<?php //include("connection.php"); //print_r($_POST); $firstname = $_POST['txtfirstname']; $lastname = $_POST['txtlastname']; $email = $_POST['txtaddress']; $date = $_POST['txtdate']; $user="killer"; $host="localhost"; $password="killer08"; $database="register"; //creating connection $Con = mysql_connect($host,$user,$password) or die("couldn't connect … ![]() | |
Can anyone explain the concept and guides and show some codes as how one does use only signup.php only for getting different information only by passing at the example: first page: [COLOR="Green"]signup.php?fer=1[/COLOR] Example: Username: Password: [Button:Save AND Next] next page sequence: [COLOR="Green"]signup.php?fer=2[/COLOR] Example: Please Input Your Personal Information: Address: Zipcode: … | |
[CODE]<html> <head> </head> <body> <?php $days_array = array(""); for($_GET['days'] as $val2) { $days_array[] = $val2; echo $days_array[0]; } ?> <form name="fors" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Enter text:<input type="text" name="days"> <input type="submit" name="submit" value="submit"> </form> </body> </html>[/CODE] get the text box value using array and display the value using array. | |
I wrote this script and I was wondering if their was an easier way. It's basically for dynamic links [CODE]<?php $currents = $_GET['page']; function paginator($current , $link, $getpre, $firstimg , $lastimg, $endimg, $startimg, $totalitems, $maxperpage){ // $current is the current page should be dynamic // $link is the url , … | |
can anyone tell me why this code does not work? it's suppsed to give back a name from the database but it always returns blank. [code] <?php //connect to database $mysql = mysql_connect("localhost", "root", "") or die ("couldn't connect to server"); $mysql .= mysql_select_db("addressbook", $mysql) or die (mysql_error()); if (!$_POST) … | |
Hi all, I have just upgrade from php 4 to 5 and now I get a hole lot of weird text on my site. I have try to disable all errors and warnings, but I cant get it to dissapear. hope somebody can help me. [url]http://demo.topnordic.com[/url] [url]http://demo.topnordic.com/info.php[/url] Thanks | |
Hi, I'll explain my problem so you could picture it clearly. I do a complex query to fetch some information from the database and the problem is that the query takes some time. Fortunately, the result of the query doesn't change often, so I thought of a solution to store … | |
I'm trying to update multple queries but the update is not working. here is the code.... [code] if (isset($_POST['btnSub'])) { // Preset counter $p and switch $sw to 0 $p=$sw=0; // Create UPDATE queries foreach($_POST["entry"] as $data) { $sql[$p]="UPDATE major SET "; foreach($data as $key => $value) { // Save … ![]() | |
I am new to php and am getting the following error; Parse error: syntax error, unexpected '+', expecting T_VARIABLE or '$' in… on line 14. Here is the code; [code=php]<?php /* Subject and Email Variables */ $emailSubject = 'Monthly attendance report'; $webMaster = 'phil@coxwebink.biz'; /* Gathering Data Variables */ $ChurchField … | |
hi frnds, My problem is that i am having a form that makes selects various persons profile through check boxes. Now i want that in my mysql database , those selected gets stored against the login user on bookmark button click. Problem comes when the user again logins , if … | |
can anybody help me to show how to make multiple search with some listbox and ot's value have multiple calue and one of them have value 'any' which search all with PHP n MYSQL. Thanks... | |
Hi All, Is there any way to send email in php without user interaction.The scenario is some thing like this.. I want to send email's to persons based on his/her birthday.I need your help. Please help me to solve this... Thanks :) | |
I get this error: Warning: require(D:\Apache\htdocs\public_html/lib/stdlib.php) [function.require]: failed to open stream: No such file or directory in /home/homebase/public_html/config.php on line 143 Warning: require(D:\Apache\htdocs\public_html/lib/stdlib.php) [function.require]: failed to open stream: No such file or directory in /home/homebase/public_html/config.php on line 143 Fatal error: require() [function.require]: Failed opening required 'D:\Apache\htdocs\public_html/lib/stdlib.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/homebase/public_html/config.php on … ![]() | |
I installed the [URL="http://cs-cart.com/index.php"]CS Cart[/URL] . everthing was working fine. I successfully login to Admin panel [url]http://www.website.com/admin.php[/url] But today i am trying to login to admin panel [url]http://www.website.com/admin.php[/url] . But the page is appearing different "Dealer Login" with email address. Please be advice.Thanks for all your help | |
I've tried the following force download script and for the life of me I can't get it to download the file. I get the download dialog pop-up, but the file size is only around 500 bytes. I think it is the pathing. I've tried absolute and relative paths for readfile … | |
Hello all, My final year at uni is looming and I've searched the web for some final year project inspriartion but haven't found too much. I study software engineering and have enjoyed web-devlopment the most so want to do a php/mysql maybe some ajax in there as well type of … | |
hi, how to find the end of file in a word document thanks in advance | |
anyone can help me to show me how to make multiple search with multuple parameter? thanks, Ardy SH | |
hi i have a application where i want the user to click the button only once.i want the user to have time interval(eg 5 sec,before tat if he tries to clickit should display pop -up thanks | |
is it possible to capture images using php plz help thank u very much | |
I had been using my local phpmyadmin for the past few days and its working. But suddenly, I can't access my local phpmyadmin and got this error [COLOR="Red"]"Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server". [/COLOR] I … | |
Hi I'v hit a glitch in my bebo, myspace, facebook ect style website. I basicly need help with a script to resize an image, of which directory is stored in my database. [CODE]<div id="profile" class="<?php echo $user_data[skin]; ?>"> <img src="<?php echo $user_data[dp]; ?>"> </div>[/CODE] Bering in mind i cant have … | |
Hey Im having this problem, im sure theres a simple solution, but i cant seem to see it :D The code bellow is part of a regestration form validation. Basicly when i ask the database if anyone else exists with the same username, password or email address - it works … | |
Here is the error I'm getting: Parse error: syntax error, unexpected T_STRING in /home/fabio/public_html/vote.php on line 21 Here's the code: [CODE]<?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us … | |
Can a .htaccess file to Change this URL [url]http://www.myhealthidea.com/index.php?article=Natural-Health-Supplement&article1=Natural-Beauty-Care[/url] To [url]http://www.myhealthidea.com/Natural-Health-Supplement/Natural-Beauty-Care[/url] Not only this URL all URL Rewrite as [url]http://www.mywebsite.com/category/subcategory[/url] Please Please Help Me...... ![]() | |
I thought i post here to see if anybody would like to test new front end for openwebspider the script is PHP and uses the sphinx full text search engine and the smarty template engine for ease of skining new themes. Searh results are returned back lighting fast under a … | |
Hi, I have made a program in c++ that inputs a file, and outputs the number of characters... I have placed this executable into my apache 2.2 server's cgi-bin directory under the name "TestApp.exe" how would I retrieve the output of this file by calling it with either PHP, or … | |
I suppose that this is the wrong place to voice critique of php but does the lack of good php books not make php a bit of a nightmare. i have been on amazon and all the books have a review or two which says something about typos or misleading … | |
Hi all, Please tell me where is the cookie file stored in my computer when i run the below codes.. I checked it in the C:\ [code=php]<?php setcookie("test","john_joseph",time()+ 3600); ?> <html> <body> <form name="cookie" method="post" action="<?php echo $_server['php_self'];?>"> Enter ur name:<input type="text" name="name"> <input type="submit" name="submit" value="SUBMIT"> </form> <?php if … | |
can we go for ms excel for creating charts in php(with mysql) instead of using jpgraph? please tell me which is the easiest one to use 9between ms excel and jpgraph)? | |
hyy... i hv aproblem.. iwant to make aplication thabt need some field database from other database(pg-sql) and want to copy it to other database(mysql). can that skrip make this happen auto copying...? | |
hi i have a simple form where users can upload only images ,i am storing the path to myql and actucal image to a folder on the remote server but when i submit the form iget the image path in my database but not the image in the folder the … | |
I have a web page which I can login to with a user name and password and when the page reloads of the first time after the signin the session loads and has my status correct but just navigating to another page (all done through the same php file with … | |
Hi.. I am new in php +ajax.....Now i am doing project in php+ajax+linux environment...i create a login page using php,ajax,mysql,, i have mysql tables are. register,slideshow,,,,,In register table having following field... 1.uid (autoincrement)2.first (firstname)3.last(surname)4.user(username),5.pass(password) In slide show table having following field,,, 1.uid 2.pid(presentation id,autoincrment) 3.slideno 4.description 5.location(this is what image … | |
i served my website file in FTP(school server) but now i can not open it via my computer, When i use others computer it opens Is there anyone who nows What i can do To make it work?????????? thankx | |
Hello all, I am looking for a product which I can use to create an online database. I will use this database for maintaining my music collection. No audio files, just information about the music like albums, artists, etc. I've looked everywhere on the Internet to find a web-based application … | |
I need to get information from 2 tables in the same mysql database [code=php]$sql = mysql_query("SELECT * FROM notes, customers WHERE `to`='next' LIMIT 5"); while($a = mysql_fetch_array($sql)){ $row_color = ($row_count % 2) ? "#EFEFEF" : "#FFFFFF"; echo("<tr bgcolor=\"$row_color\"> <td height=\"25\">" . $a['custid'] . "</td> <td height=\"25\">" . $a['name'] . "</td> … | |
Hello, Is there a way to send smtp mail without messing with php.ini file? A lot of server don't seem to give access to that. Thanks in advance. | |
I would like to create a digial post card, where you can send details to your friends via my website and I need to receive a copy in my inbox. Please help I am quite new so I need a code where I can paste it on a page and … | |
A cheatsheet covering the core features of PHP 5 is available here [URL="http://www.explainth.at/en/qr/phpqr.shtml"]PHP5 Cheatsheet[/URL] Free to print, share and enjoy. | |
Please advise me how to use FLV video streaming in php and please provide me the source code. | |
I know how to post multiple rows using a if and foreach loop. I can post multiple rows from one form. here is the form snippet..... [code] <tr> <td><input name="entry[0][place]" type="text" /></td> <td><input name="entry[0][team]" type="text" /></td> <td><input name="entry[0][wl]" type="text" /></td> <td><input name="entry[0][gb]" type="text" /></td> <td><input name="entry[0][pcage]" type="text" /></td> <td><input name="entry[0][rs]" … | |
Can somebody please help me? i'm having a big problem on tables. Our client want to have a table where its columns are expandable and the headers of the table can be viewed no matter how many rows there are(you can always see the header even if you scroll down … | |
i have created a file uploading system on a website that i have created and i need to know how the file can be over written. the file thats are upload are only used once and the next time the user uploads a new file i want the last file … | |
I am running this site which I've gotten allot of responses about and its been a hassle to edit the html constantly to add more content. Is there a way I can make a extreamly easy CMS to add information? Here is the site thats going on: [url]http://competitive.rebornservers.com/[/url] What I … | |
I need help to create a search page for a real estate site, with option fields for house/unit, suburb, price range etc. It has to search a database file and if an entry meets these conditions, that entry (with an image) should be displayed in the results page. Please tell … | |
Hi all, I am fairly new to PHP (my experience is mostly in Java) and I have inherited a project that was initially implemented in PHP4. I am updating it to use PHP5 and at the same time I am trying to add Logging to the project. I am using … |
The End.