39,393 Topics
![]() | |
Hi, the code below is trying topull out the image from the database. When the image code is taken before the text that is being displayed from the database then it pulls out the image. if the code is written after the text being displayed from the database then it … | |
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 … |
The End.