39,316 Topics

Member Avatar for
Member Avatar for cr7489

Hi i have 2 tables: film - filmid, filmname review - id, reviewtitle, filmreview, filmid i basically want to search for a film name thats in the film table then retrieve the review from the review table that matches the film, the match is found using the filmid as the …

Member Avatar for cr7489
0
172
Member Avatar for daniel36

I am working on a project in which i need to send emails after 3 days of adding projects .is it possible using php?

Member Avatar for s0bigg
0
396
Member Avatar for kk_pbr

Hi ! I need your helps. i m developing tour website. i have no idea about flight reservation. requirement is as under: 1- user selects origin/ destination , date of travel, number of passengers ( adult/child/infant). 2-view the available flights 3- selects flights 4-get the fare/ taxes/rules of the ticket/total …

Member Avatar for aa26i
0
196
Member Avatar for aa26i

Hi, This may help others too here if i succeed. I created a web form (mysql database) by phprunner v6.0. all went well. form is showing mysql data, can submit, edit add delete data. now there is a programming part which is need to be done and because of lack …

Member Avatar for aa26i
0
288
Member Avatar for mrhankey

hi guys, not sure where to start so thought i would see if any you guys have any knowledge on recording calls into a backend website running on php/mysql? site is running a sales order system and working fine however they want to record calls into the database so guess …

Member Avatar for ppetree
0
70
Member Avatar for jQueryLover

[B]guys i am really stuck in this tried couples of ways but didnt get it right please help.My pagiantion is working fine and great untill i specfies WHERE CLAUSE in it.I am trying to have a text field so that if a user enter the interger for class search e.g …

Member Avatar for ppetree
0
217
Member Avatar for brainstorm85

Hello, I've coded an image resizing function. It works very well for most image types but I've found that there seems to be a problem with progressive jpeg. If I resize my image for a thumbnail size, 50 px of width the result is only a small black square. I've …

Member Avatar for kevindougans
0
185
Member Avatar for MattNow14

I want to have function to get the user info, It works when I don't have it in a function, but when I do the *var* that *=* mysql_fetch_assoc($q) is an undefined variable. What could the problem be? Thanks.

Member Avatar for simplypixie
0
91
Member Avatar for BlinkOnly

I'm trying to print one line of text in my database code and i want it to print under a button i have made in html. [CODE]<button id="gen" type="button">Generate tables by clicking here!</button> <div id="response"></div>[/CODE] [CODE]$('#gen').click(function(){ $('#response').load('createtable.php'); });[/CODE] And this code appears in createtable.php [CODE]echo "Tables were set up correctly.";[/CODE] …

Member Avatar for BlinkOnly
0
126
Member Avatar for lastgame2007

im having problem saving a FILE, i doesn't save the extension name of the file and doesn't save also the images in my folder..? can you kindly look , what is my problem with my FILE code? only in FILE SAVE, i dont have errors in my other fields. [ICODE] …

Member Avatar for diafol
0
94
Member Avatar for Jfunch

I have this code that creates gets the data from a sqlite3 database and prints it out in a table with checkboxes next to each row to check to delete that row. After deleting a row I want to update the data base so that the id of the rows …

Member Avatar for diafol
0
159
Member Avatar for BilalAKhan

Hi, I am trying to assign the value of text box to a variable in PHP. But I am consistently getting an error. The error says, "Undefined index: fname" and "Undefined index: age ". Can anyone please help me in this matter? How can I resolve this? [CODE] form action="welcome.php" …

Member Avatar for ddymacek
0
7K
Member Avatar for filipgothic

I want to make option to approve users before they can login or to ban them, here is code [CODE]MySQL Syntax (Toggle Plain Text) <HTML><HEAD><TITLE>Fakultet informacionih tehnologija</TITLE> </HEAD> <BODY TEXT="#ffffff" BACKGROUND="fakultet/Assets/bg.jpg" LINK="#FFFF00" VLINK="#CDCD00" BGCOLOR="#000000"> <CENTER><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH="700"> <CENTER> <FONT SIZE=+4 FACE="arial,helvetica"> Fakultet informacionih tehnologija <HR> </CENTER> <?php session_start(); …

Member Avatar for filipgothic
0
2K
Member Avatar for rajdevsohail

i am trying to code a chat app for my social network and i am using the following module .. [URL="http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/"]http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/[/URL] i have coded the rosters(manage who is online) for it .. but those rosters work only on login/logout .. on login it makes an entry for username in a …

Member Avatar for diafol
0
156
Member Avatar for rayidi

I'm Working with register module with xmlHttpRequest. I have checking all. When i was trying to redirect after successfull its displaying the response with in the given div. [CODE] <script type="text/javascript"> function showRegister() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code …

Member Avatar for pritaeas
0
1K
Member Avatar for swissknife007

[CODE] <?php echo date("Y/m/d") . "<br />"; echo date("Y.m.d") . "<br />"; echo date("Y:->m:->d")."<br>"; echo("hello") ."<br/>"; $app5=5; echo($app5); $baby="going"; echo("$baby i love to "); //echo ($baby$app5); if($app5==5) echo "dance"."<br>"; echo strlen("dance"); echo strpos("dance","h"); switch($ab=1) { case 1: echo 1; case 2: echo 2; default : echo "default"; } $a = …

Member Avatar for cereal
0
242
Member Avatar for PF2G

Hi, DaniWeb I'm doing a registration page and i want the button "Send" add the information to the MySQL DB, then appear an alert box saying: "Regsitration succesfully!!" and in the end redirect to "index.php". This is what i have: [CODE] <?PHP //ligar base de dados $dbhost = 'localhost'; $dbuser …

Member Avatar for pzuurveen
0
954
Member Avatar for cmps

Hello, does all php versions accept the <?= ?> or no ?? Don't you think for designers <?= ?> is easier than <? echo ?> Thank you

Member Avatar for cmps
0
119
Member Avatar for 1stoptutorials

Hey Everyone hope all well. I have this code that works perfectly on a mysql database [CODE]<?php // visit http://php.net/pdo for more details // start error handling try { // connect $pdo = new PDO('mysql:host=localhost;dbname=name', 'name', 'password'); // enable error handling through exceptions $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); // create safe query $query …

Member Avatar for mlesniak
0
290
Member Avatar for ale89

Hi all! I'm making an admin, with gallery of photos. What I am doing is to first create the name of a main photo portfolio with a folder with the name entered and stored within the image that rose. When ready all the portfolios which are the folders with the …

Member Avatar for ale89
0
92
Member Avatar for lastgame2007

im trying to concatinate my birthdate dropdown MM,DD,YY in Textbox.. it wont save, please help me with my code.... [CODE] <p class="studmen">Birthdate<input name="bdate" type="text" value="<?php echo $bday=$mm.$dd.$yy;?>"/> <select name="<?php $mm;?>"> <option value=""></option> <option>Jan</option> </select> <select name="<?php $dd;?>" > <option value=""></option> <option>1</option> </select> <select name="<?php $yy;?>"> <option value="" ></option> <option>1990</option> [/CODE]

Member Avatar for diafol
0
54
Member Avatar for leechyeah

Dear, I am new to PHP and MySQL. I have a simple order form on my site: 1 column with "member" and one with "comment". I am able to Insert rows when a user submits the form. But when a user wants to modify that data, the form inserts another …

Member Avatar for leechyeah
0
213
Member Avatar for aaloo

this is my html code in which i want to get info from the server and insert it into the list items and show it in the browser, using loop .so i am using php but this code is not working for me . please somebody help me !!!!!!!!![CODE]<body> <div …

Member Avatar for aaloo
0
167
Member Avatar for shamsidah

hello... i have a question about my final year project.. in my database i want to find 5 maximum values from total of defects from car's body... and the data that i'm found must valid for one year, and after one year (next year) maybe the 5 max values may …

Member Avatar for diafol
0
86
Member Avatar for lagoni123

Hey Daniweb, can somebody explain to my how to call a value from my database after i logged in? Like i log in with the username and password, then i want on my member page to show what email this user has or any other thing from the database. What …

Member Avatar for diafol
0
138
Member Avatar for masterjiraya

I wanna try my self as an experience. Scenario: I have a member join and member log-in wherein the pass word is encrypted in the database (MySQL) Now let's say he forgot the password it too lazy to just open your email account for just getting the password recovery. What …

Member Avatar for cereal
0
197
Member Avatar for BenzZz

I create the session variable $_SESSION['SESS_MEM_ID'] within my validateLogin.php file shown here: [CODE] <?php include'db_config.inc'; require_once('InitDB.php'); $error_msg = ''; $error_flag = false; function clean($str) { $str = @trim($str); if(get_magic_quotes_gpc()) { $str = stripslashes($str); } return mysql_real_escape_string($str); } try { $dbh = new PDO("mysql:host=127.0.0.1;dbname=$db", $user, $password); } catch (PDOException $e) { …

Member Avatar for BenzZz
0
1K
Member Avatar for ishlux

Hi all, I have an inbox, if i click on the inbox which will display list of mails. now i have next button, if i click on the next button it should be possible to display the next mail with respect to the current opened mail. how to do this …

Member Avatar for its4enjoy
0
116
Member Avatar for rse

Hello, in process.php, I am trying to display google chart by requesting it using streams, the follwoing code is for requesting the chart: [code=php] header('content-type: image/png'); $url = 'https://chart.googleapis.com/chart?chid=' . md5(uniqid(rand(), true)); $chd = 't:'; for ($i = 0; $i < 150; ++$i) { $data = rand(0, 100000); $chd .= …

Member Avatar for kevindougans
0
992
Member Avatar for rajeesh_rsn

Hi I added a addslash before submit to database like [CODE]$bio=addslashes($_POST('bio'));[/CODE] it will add a "'" before submit .. and everything working fine .. but at the time of edit/ resubmit this form I am getting the following out put [CODE]This is old\' Line This is new' Line[/CODE] Please help …

Member Avatar for hakeemtunde
0
124

The End.