39,323 Topics
| |
Hello all. I am making a website that requires put reviews into my database. I have restaurant sections. I want to have reviews stores per restaurant. When it comes to mysql data tables i can only imagen having one column for reviews then giving each picture an id to accociate … | |
hi m trying to make a login page. m trying that when username and password is confirmed it shows name of customer with welcome message and further page appears accordingly. this is my code for login GUI [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- DW6 --> … | |
I am new new to PHP and would like some help. I have read as much as i could but could not get any help hence why i donot even have code i had tried. Assume a database names "sales" with fields" fieldOne" and "fieldtwo". using sql and PHP how … | |
Hi, I need a Php library or Code to convert images to a video. If i give few images as input, the library should convert it to a Video and it's output should be a video file!! Where can i find this library?? Need some help? | |
hi everyone, i encounter problem when trying to create a form page to upload images to images folder and imagelocation will store information for the pathname where the image will be located ( will be used for display image in future) the code below does not have any error when … | |
Hi to everyone, I want to add a new page in the site, [URL="http://greatwayonline.com"]www.greatwayonline.com[/URL]. It is the site of GREATWAY MAGAZINE. you can see the thumbnail titled epaper on the right side of the magazine. My problem is that I want to make its epaper site. My requirements are:- 1) … | |
Hi, DaniWeb I'm trying to do a validation form, but when i "submit" and forgot some of the textbox's it gives the error, but erases the textebox's previously filled. Here's the code: [CODE]<?php include ('database_connection.php'); if (isset($_POST['formsubmitted'])) { $error = array();//Declare An Array to store any error message if (empty($_POST['username'])) … | |
Hello everyone, I am a beginner at PHP, and I have been working with some php code, I built a search result page, a random string generator and a few other ones. But I would like to get a new idea for the website I am working on. I am … | |
Hi there)) Guys please tell me - how to make reference to directory which is on higher level that site root (by php - site is on local machine) - may by this situation need some aliases in apache .conf file? As I see the server(apache) don't want to understand … | |
| Hey i am currently working on a book store for a university project. And would like to implement that only admins can access the backend of the website. My login scripts currently allows all types of users Login . I have two mysql tables a [B]user [/B] table and a … |
[B]Hey guys just asking for some help on my code to see where am going wrong thats all [/B] Right am making a simple CMS site and my problem is that i want everything to be shown on my index page nothing is and i dont know why it is, … | |
hello, i've been working on this website for a while ([url]www.scfan.net[/url]), but for some reason the page: /gameinfo.php has an error with the session code. i'm using this code on every other page on the website too. but only /gameinfo.php and /livestream.php and /tac_protoss.php have the problem. could anyone help … | |
Hi all, I'm new to PHP and was wondering if someone could help me... I need to write something so that when row "expire" (this is the date the account expires) is 5 days from expiring, a message shows up. I can format everything myself, I'm just drawing a blank … | |
I dont know where to save curl libraries downloaded from [URL="http://curl.haxx.se"]http://curl.haxx.se[/URL].can any one tell me.I have followed instructions given on the page [URL="http://devzone.zend.com/160/using-curl-and-libcurl-with-php/"]http://devzone.zend.com/160/using-curl-and-libcurl-with-php/[/URL] for installing curl. | |
Hey, I'm running a mysql query, and would like to run a script if the query returns no results. But what do I use to test for no results? Something like: [PHP] if (!$query) { do this } [/PHP] But just not sure how to implement it. Little help? | |
Hello what im looking for here is to get the next addition in the database to drop below the first set of tables. at the moment it is only showing the last persons submission it does create the tables with the data but with only the last persons. when the … | |
After a few months working on another website, I am back finishing a list of coding tasks on my TAXA Wood Knowledge Base. One of the most important pages in the site is the one that lists (so far) over 15,000 different botanical names of woods. Each single name listing … | |
Hello all. I am trying to set a session variable as a string like this. [CODE] $_SESSION['something']="hello"; [/CODE]this does not work I also tried this. but it didn't work; [CODE] $name =$_SESSION['something']."hello"; [/CODE] and if i do this [CODE] $_SESSION['something']=$_SESSION['something']."hello"; [/CODE] the value ends up like this hellohellohellohellohello So what … | |
Hi, I dont know, what mistake i made in my code. [CODE][B]test1.php[/B] <?php namespace MyNameSpace; class A { public function B() { echo "san"; } } ?>[/CODE] [CODE][B]test2.php[/B] <?php include('test1.php'); $test=new MyNameSpace::A(); $test->B(); ?>[/CODE] [B][url]http://localhost/test2.php[/url] Error: Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in C:\xampp\htdocs\MyNameSpace\test2.php on line … | |
Hi I have a database of information and the code to get that data out of the database based on the url, it will be some like [url]www.website.com/thekooks[/url] and then will display the information in the database for them. The bit I am struggling with is where do I put … | |
I'm trying to set up a timeout test on a selection of files. The files run the test via an include, which contains the following: [CODE]$inactive = 20; /* check to see if $_SESSION['timeout'] is set */ if(isset($_SESSION['timeout']) ) { $session_life = time() - $_SESSION['timeout']; if($session_life > $inactive) { session_destroy(); … | |
I want to insert values into 3 different tables with auto_increment of primary key. My code below creates 2 records for the first table and 1 each for the second and third AND a Failure 'duplicate entry xxxx for key PRIMARY' for the second and third. The ADD RECORD does … | |
Hi, I am trying to make a link based on info stored in MySQL, the code I have got so far is [CODE] if (isset($_POST['search_now'])) { $result = mysql_query("SELECT * FROM bands WHERE BandName LIKE '%$BandName%'"); $page = "<a href=\"http://www.website.com/$row['PageName']\">$row['BandName']</a>"; while($row = mysql_fetch_array($result)) { echo 'Band Name: '; echo $row['BandName'] … | |
hi i dont know if this the right place to post this but launching a new business and need to manage it from overseas and is there a php or any web base script which i can use to do this. Automate sales process and close more deals Customize & … | |
So I'm having this weird issue, where I can do SELECT statements and INSERT statements just fine, but when I do this UPDATE statement, it sorta works. It runs without errors, and even outputs that 1 row is affected. But when I check the MySQL, nothing is updated. I've echo-ed … | |
Hi guys, I am a webdeveloper i am create one social media website using php.please help me I need serverside coding for profile page settings(for example Facebook) Pls send Send me coding for my email. My email I'd [email]is.vksuriya2007@gmail.com[/email]. | |
Hello dude. Happy New Year. I want to asking about generating primes algorithm. Can you advice tell me what the fast generating primes algorithm except Sieve of Eratosthenes algorithm? thank you. i want to apply the algorithm to my cryptographic system.. | |
Hi, I am having trouble echoing something into a url. The code I've got is: [CODE] <?php $code = "kooks"; echo '<a href="http://website.com/'$code'">The Kooks</a>'; ?> [/CODE] But I get the message: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in /hermes/web11b/b146/moo.3finking/unsignedgigs/test.php on line 3 Thanks for your help | |
I need a tooltip where I can show content dynamically using (Query String [B]demo.php?id=12[/B]; id will change) jQuery, AJAX and MySQL. | |
I have the code below but it does not do what i want it to do. [CODE] "UPDATE products SET quantity = quantity - 1 WHERE product = $'product'"; [/CODE] I have a data base called products with field quantity, now i do not know how to code such that … |
The End.