39,393 Topics

Member Avatar for
Member Avatar for sidra 100

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 --> …

Member Avatar for sidra 100
0
264
Member Avatar for liphoso

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 …

Member Avatar for liphoso
0
112
Member Avatar for samueal

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?

Member Avatar for diafol
0
736
Member Avatar for issaru07

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 …

Member Avatar for diafol
0
187
Member Avatar for uvishere

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) …

Member Avatar for blocblue
0
207
Member Avatar for PF2G

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'])) …

Member Avatar for diafol
0
317
Member Avatar for patk570

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 …

Member Avatar for diafol
0
197
Member Avatar for vedro-compota

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 …

Member Avatar for vedro-compota
0
186
Member Avatar for FakeTales

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 …

Member Avatar for blocblue
0
433
Member Avatar for ronny22

[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, …

Member Avatar for simplypixie
0
187
Member Avatar for cascer1

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 …

Member Avatar for broj1
0
88
Member Avatar for violaceous

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 …

Member Avatar for Smeagel13
0
111
Member Avatar for daniel36

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.

Member Avatar for daniel36
0
83
Member Avatar for nathanpacker

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?

Member Avatar for BradChesney79
0
2K
Member Avatar for wxflint

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 …

Member Avatar for wxflint
0
260
Member Avatar for billmudry

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 …

Member Avatar for phorce
0
173
Member Avatar for jonnyboy12

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 …

Member Avatar for phorce
0
44
Member Avatar for jacksantho

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 …

Member Avatar for gilgil2
0
5K
Member Avatar for gilgil2

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 …

Member Avatar for phorce
0
129
Member Avatar for Mogradjinn

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(); …

Member Avatar for Mogradjinn
0
334
Member Avatar for furlanut

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 …

Member Avatar for diafol
0
299
Member Avatar for gilgil2

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'] …

Member Avatar for gilgil2
0
149
Member Avatar for eltonpiko

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 & …

Member Avatar for mikulucky
0
66
Member Avatar for NullReturned

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 …

Member Avatar for mikulucky
0
288
Member Avatar for Vijaysurya

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].

Member Avatar for cereal
-2
135
Member Avatar for polinolin

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..

Member Avatar for polinolin
0
109
Member Avatar for gilgil2

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

Member Avatar for gilgil2
0
103
Member Avatar for jacob21

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.

0
59
Member Avatar for liphoso

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 …

Member Avatar for hari.sarvothama
0
142
Member Avatar for inni2626

Hello everyone, I haven been trying to connect to my database but i have been getting this error: Error message: SQLSTATE[28000] [1045] Access denied for user 'mgs_user'@'localhost' (using password: YES) Does anyone know what is causing this error? please advice thanks

Member Avatar for pritaeas
0
66

The End.