39,320 Topics
| |
Is it possible for someone to hack into my database/table? if so should i name my table/database: database 5465464577688960985047834? | |
Hi, could any one reconmend me a good book can be fast to handle basic php and mySQL. It will step by step to teach me program begin from web hosting which available for both PHP and MySQL. Do need any software on my computer ? coulp of books when … | |
Hello! I have set up a script form called " form tools " without a problem, This script gathers all information in the registration form and stores it into a database (php and mysql), Now I would like to randomly choose 5 people from the data I collected from the … | |
how would i use 2 if statements? i tried using && but it wouldnt work. :( like: if (yo!==yo) if (yogfhf!=yoh) | |
I have a mysql database with user input fields. Some of these varchar fields contain commas as part of the data. When I try to display these fields they are treated as arrays and display only the first "element". This occurs both with mysql_fetch_row() and mysql_fetch_array(). I'm chagrined I haven't … | |
HI I want to submit csv file data into mysql using php. One of the fields contain data : date with format (dd-mm-yyy). I want to store the data in mysql with date format (yyy-mm-dd). pls tell me how 2 do. pls help me Thanks. bye | |
I want to get the result from the database page by page (like google search).please someone can give me an idea | |
Hey I'm a php beginner and I'm having some problems with the website I'm testing with. I'll show you first the relevant code. index.php: [code=php] <?php include "stdlib.php"; $page = new Page(); $page->title = "Index"; $page->printHeader(); ?> <style type="text/css"> div.container { width:100%; margin:0px; border:1px solid gray; } div.left { width:100px; … | |
hey i dont know if this is the correct place to post this or not but can u tell me how to make a sub domain(if thats wat it is called) for eg:: if my domain is abc.com, then how do i make a sub domain like word.abc.com or anything.abc.com.........i … | |
there would be a account balance area, upgrade area, members profile area , cash ptc area , point ptc area, paid to signup area, and this would be linked to mysql so that everything happen over a click automatically and i need not have to do it manually. | |
wats wrong with this code? cause whenever i try and use it it doesnt display $H. [CODE]<?php $_POST["xtwo"]=$A; $_POST["xone"]=$B; $A+$B=$C; $C*$C=$D; $_POST["ytwo"]=$E; $_POST["yone"]=$F; $E+$F=$G; $G*$G=$H; echo "The distance is: $H" ?>[/CODE] and some of you might have known that im trying to do the distanceforumla (x2-x1)^2+(y2-y1)^2=distance. like finding the distance … | |
did php support or allow to add many record at one time in MySql Database ?.. i need 2 add all the student mark the same time dis is my php script form.. <?php echo"<form name='kptm' form method='POST' action='3.php'>"; echo"<h1 align='center'> Final Mark</h1>"; echo"<table border='2'>"; echo"<p align='center'>SUBJECT : UNIX SYSTEM … | |
hi, everybody and merry christmas don't know if anyone can help us, we need a special mod written or suggestions how to do this. we are using ipb 2.3.1 and mediabox 1.05 and we want to use our gigasize.com account to store our mp3 and jpg because our shared hosting … | |
I am constructing a line graph on a GD image.Do you guys know of any way i can export it into excel such that its just like one created in excel | |
ello..im a new beginner for pHp script..i have to complete my final project..i used php as my programming language..but,i have a problem rite now..did anybody know,how to insert data from 1 form into multiple tables in MySql Database?.. ok,rite now,i have 2 tables, Client and Client2,k..And from 1 form that … | |
i have created a application ...when i give the URL of the second page the page is getting displayed...but i want all the user to enter the application only from the first page where it check whether the user is valid.... what should i do to make my application more … | |
Hi all, I have a text area, in a form, that only allows basic text and punctuation. I'd like to be able, in certain circumstances, to allow links to be added, in a similar way to the text editors here on daniweb. Can this be done with php, or do … | |
<form action="book_dive.php" method="post"> <input type="submit" value="Submit"> <table border="1" width="75%" cellpadding="2" cellspacing="2"> <tr> <td align="center">BOOK</td> <td align="center">DATE</td> <td align="center">TIME</td> <td align="center">LEAVING FROM</td> <td align="center">BOAT</td> <td align="center">DEPTH</td> <td align="center">DIVE SITE</td> <td align="center">MIN QUAL</td> </tr> <? include("conn.php"); $res=mysql_query("SELECT * FROM dives"); if(mysql_num_rows($res)==0) echo "No data in table"; for($i=0;$i<mysql_num_rows($res);$i++) { $row=mysql_fetch_assoc($res); //mysql_fetch_assoc STORES A … | |
Hello again, Can anyone give me any pointers on how to make a 'teaser' or 'preview' of an article. Thanks Taffd | |
Hello All, Do anybody know any good free report generating tool i can use in my php application ? Emmanuel. | |
Hi, I am Bhupen, I am doing my inventory project in PHP & MYSQL. I am working in both plate form, i.e. Windows XP and Linux 9 My problem. The array code which given below is fine working in Windows xampp server where the same code needs to modify in … | |
hi i want to know how to attach a file along with my email $headers = "From: [email]xyg@gmail.com[/email]"; $to = "xyg@yahoo.com; $sent = mail($to, $subject, $message, $headers); } if($sent) { print "Your mail was sent successfully"; } else { print "We encountered an error sending your mail"; } using the … | |
Can someone please help, I have this code below and every time i execute it i get this error: Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /var/www/dbconnect1.php on line 14 I can work out what i am doin wrong. <?php $dbhost = "localhost"; $dbuser = … | |
Hi! can any body help in this! This is to draw a graph in php. but, i am getting 'x' mark image . but, not the graph image. i think it has error in header ("Content-type: image/gif"); . if i remove this i am getting some png code . but,i … | |
Hi! I need code to draw a dynamic graph by taking values from database in php. i need in windows. Plz replie as early as possible. byee.. | |
Hey, I wondering how I can make a "popup"-window (think it is done with Ajax) in the same browser-window? Click on one of the images in the link below for an example of what I mean. [url]http://www.railbirds.com/pictures/2/[/url] | |
if my url is [url]www.x.com[/url] n i have an inner directory [url]www.a.x.com[/url] how do i check the url is right or not n lead it to an error page | |
Hello All, I learnt Curl can solve some of my pressing PHP problems. I can't seem to get enough documentation on how to fully use the power of Curl- I need a helper. Can Somebody so kind, send me an electronic document on Curl ? It will be impossible to … | |
hi i have a database ..it contains employee details like name,emil,phno.....when admin sents a mail it must be forwrded to all the emp in the table..plese do tell me how to do tat | |
hi this is not working.how to do that..... form1 <form method="get" action="email2.php"> <table> <tr><td>Subject:</td><td><input type="text" name="subject" size="70"></td></tr> <tr><td></td><td><textarea name="body1" cols="70" rows="20"></textarea></td></tr> <tr><td><input type="submit" name="send" value="submit"></td></tr> </table> </form> php page <form> <?php $subject1=$_REQUEST['subject']; $message=$_REQUEST['body1']; $hostname = "localhost"; $username = "splendor_lydia"; $password = "jesus"; $dbid = "splendor_aletheia"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or … |
The End.