39,402 Topics
![]() | |
Hi there, I'm building a multilanguage CMS based Web site using PHP 5- MySQL and I'm facing problems with languages. From what I've been reading I must use charset UTF-8 (as Wikipedia uses this I guess this is realy the right choice). Now, I must also know how to store … | |
I m new in php.i want some help in my code..plz.. i have 15 image in mysql table .and i want to retreive atleast 3 images in first row.den other 3 in second row..how can i make it possible.. the code is given below..! [code=php]<?php include "dbconfig.php"; ?> <link href="main.css" … | |
Happy new year to everyone.. in my sql db there r 2 tables. mathimata and apousies from table -apousies- i "select" some data (the amount of absences) for a particular person (student) for every class he attended. i want for every class of the above result to search in table … | |
I do not know the proper way to reword this to work in my version3.0.4. Any help would be much appreciated. This is what I have there now, 3.0.4, subsilver2: S_USER_LOGGED_IN --> <!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- … | |
this is because of the time it takes to upload the files. if you upload too many at once your php script has a good chance of timing out while it waits for all of the files to upload and die. this is especially true if the files are big. | |
I am trying to keep two menu lists' option in variables but i dont know whether to use "selected" or "select name" to assign value 1st one which brings "Student Numbers" rows from its column in selected class table. [code=php]$query="SELECT StudentNumber,Student_id FROM $CC"; $result = mysql_query ($query); echo "<select name=\"STUDENT\" … | |
I have created two table by generating via forms. My question is although second table's foreign key appears on phpmyadmin it doesnt have that same value with the first table's primary key. currently foreign key has all zero values in all of the rows. Table codes: [code=php]$sql2='CREATE TABLE IF NOT … | |
hallo, i have align problems about my data into a html table. In Firefox everything is ok aligned to center. in IE everything is alligned to left and thats not ok my code [code=php]</head> <body bgcolor=#FF8000> <div align='center'> <table border='1' align='center' width="80%" cellspacing="0" cellpadding="0" bgcolor=#FFFFFF> <tr allign='center'> <td align='center' width="492" … | |
I want to learn PHP for my own use and to also get into the PHP programing area. My question is what is the best way to learn it and where are so really good tutorials and programing ideas to get into PHP programing. | |
Hello all ! ! ! I have a litle problem with a script that I have create. This script selecting from the database all the records (in total 2) and then print out a XML file. I have enter this code to change the header to XML : header('Content-type: application/xml; … | |
Hello all, I need a Free hotmail address book import script using PHP , as i need it to a social network site. Any help will be highly appreciated. Thanks in advance. | |
hi frnds.... i m newbie in php.................... i want to make advanced member login system where peoples can signup,signin,logout etc...... i want to achieve dis with the help of dreamweaver 8............... i m using php 5,mysql,apachie server and phpadmin login................. if u hv any idea do tel me.............................. | |
hi,everybody i am using vista home premium. I install PHP software on my laptop but it is not work what shall i do. Can u help me ? | |
As all of you know that PHP is a scripting language originally designed for producing dynamic web pages. Also it belongs to open source of family and is widely-used scripting language now-a-days. But I wish to ask every member of this forum, what will be the future of PHP. Will … | |
Hello, I am working on a login script for a personal site. The problem is though, I need to have the best and most secure protection there is for the login system I am creating (I will not go into specifics but the users will have access to very sensitive … | |
Hi, I need mysql data searchin by php. But do not complete the data view smothly. so, pls help me. my data wiew now: Name: Mobile Blood City Donation date Sinha 01912266936 A+ Dhaka 9-10-2008 Munna 01917755515 A+ Dhaka 0-0-0000 I want to view my data like this. Name: Sinha … | |
Hello guys .. how r u .. i am new to php (since we didnt get much php at university) i am using it mainly to include the navigation menu, header, footer etc .. i am working a on a contact form .. people can send e-mails using a form … | |
Hi! I am kind of new to php. [CODE]$myFile = "msg.txt"; $fh = fopen($myFile, 'w') or die("can't open file"); $stringData = $beforeData; fwrite($fh, $stringData); [COLOR="Red"]$stringData = ""+myname+": "+mymessage+"\n";[/COLOR] fwrite($fh, $stringData); fclose($fh);[/CODE] I need to set more than one variable in that red line. How do I do that? I'm trying … | |
hi I installed to apache 2.2.9 and php 5.2.6 and now the server is not serving the php file, it triggers a download. after that installing php 5.2.6 the error message like 'error in accessing httpd.config file. manually configure the server.. i already added the two lines in httpd.config file … | |
Hi, I'm new to PHP. Is there a way to create a listbox without the submit button and not using Javascript? Can I use href instead? Thanks in advance. Ilokana | |
[COLOR="Red"][/COLOR]How can I download Images uploaded in the server to my local system...I have administrator privileges. Plaese help me... | |
Hello I was wondering if there is a class that I can use to add a bar underneath my photos which contains the site url. I found some classes that add a watermark on the photo, however I want the bar to be under the photo. Thanks in advance | |
Hi, In my Project I want to send SMS from System to mobile and read the SMS from System itself.How can I write a program in PHP? I should do this [B]Without using third party SMS gateway or software[/B] Please help me to do this ............. I'm very much thankful … | |
hello I have a gallery in my website that is coded by php. when I try to download an image in zip format I get a zipped file with a size say (150kb). when i try to open it i get the message corrupted achieve. when I open the file … | |
I am building a site search that involves a union of two tables in two databases and needs to have relevancy factored in. I do not want to use a full-text or boolean search. I can search one database and one table using relevance fine. I can union the two … | |
Hello DaniWeb users, I'm in search of a script that is currently in use by [URL="http://www.joystiq.com/"]JoyStiq[/URL], or something like it if it is unique. [img]http://i40.tinypic.com/qqqwm1.png[/img] It basically lets you hover the image and a link is displayed under and you can click the image or the link. Visit [url]http://www.joystiq.com/[/url] to … | |
Hello all, I asked this question before but it's been awhile ago and I can't find where I asked it. But anywho, it's never been solved. On one page I want a person to upload a picture and my php code checks it and puts it in a directory on … | |
i used this code to generate image from flash .. <?php error_reporting(1); /** * Get the width and height of the destination image * from the POST variables and convert them into * integer values */ $w = (int)$_POST['width']; $h = (int)$_POST['height']; // create the image with desired width and … | |
Help! I keep getting the following error: <b>Notice</b>: Underfined variable: theHash in <b>C:\wamp\www\HelloSeanThisIsForYourMyFriend.php</b>on line<b>46</b><br/> f5bd6294083c680ec4a0e05bf1dbce38 From file: [code]<?php /*-------------------------------------------------------------------------------------- - - - - - - - - - - - - - - - - -- - // $theMD5 = md5("ayht" . $_POST["rn"] . "thy", 1); $hexArr[0] = "0"; $hexArr[1] … | |
Hello all, I looked around with google for a while and couldn't find an answer to my question. I'm trying to use php to get the name (or ID) of an html tag. I need to do this because I am creating a shopping cart which has a checkbox beside … | |
[code] <form> <table border="0" width="100%"> <tr> <td align="right" width="60%"><select name="select" size="1" > <option>Select Category</option> <? $sql1=mysql_query("select name from categories") or die(mysql_error()); $num=mysql_num_rows($sql1); while($row=mysql_fetch_array($sql1)) { $category = $row['name']; ?> <option><?php echo $category; ?></option> <? } ?> </select> </td> </tr> </table> </form> [/code] Here i got i.e. it display in list student, … | |
Hi My first post yaa lol. This will lily be the 1st of many posts as i trty to get my head round things. Basically i am going to need to post info from a form in to a database but all so post it to a remote api url … | |
![]() | I'm displaying a list of tags on my site which are formatted as CSV for every post. Example: RFID, robots, decluttering The CSV tags are stored in the MySQL database as one long string. I would like to make each tag a link that goes to the search page. Example: … ![]() |
hello friends can u please help me in writing the code for adding multiple images i tried a lot but the purpose has not been completed please help Thanks in advance | |
Hello, my script is giving me headache for two days. I have a paid to click site, when user clicks on paid links my script displays surf page, where i have a timer and an iframe that displays sponsored site below the timer. After the timer loads users have to … | |
Hi guys. I have web site, but my hosting don't support php functions(mssql,sqlsrv,obdc_connect) :cry: for connections to MS SQL. I need that remote connect to MS SQL and receive from data online. Can you tell me, about alternative ways to import data from remote MS SQL server with php script. … | |
hi I guess the title says it all. Is there any way that I can disable the users of my open source php code from removing the copyright line? | |
Hi! How can I include CSS styles in a PHP HTML Email? This is what I have so far- [code=php] <?php $msg='<html>This is a <em>test</em> message</html>'; mail('a@b.com', 'Test HTML Mail',$msg,"From: Santa Claus <santa@gmail.com>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ?> [/code] | |
hello friends thanks to all for their co-operation iam facing a problem with date function i want to insert it in a database by taking from form is there any one whi gives the code Thank u KNR | |
Hi! First of all to say that I am a newbie in PHP world. I have a table in a database and I am trying to update a row's content based on its id that I get inside the page's link. But the update never occurs. Please help. I can't … | |
pls tel me how to instal phpadmin3.1... i hv just download it... i want to run it on d apachie server.. i m newbie to php.... and after creation of tables where i hv to stored dese tables? pls give me approciate example??? | |
Hi all, I am currently writing a spell checker that needs to suggest corrections for a mis-spelled Suburb/Locality in a Post Code/Zip Code lookup site. All of the suburb names are stored in a database in the Postcodes table and I was wondering if I could use the Pspell library … | |
hallo there. i am new in programming so i ask for your understanding i want to put the results from a sql query into a textarea. then i want to be able to pick one of the records of textarea and delete it (textarea and database). (i dont have to … | |
hi friends.... i m new to php.... i have installed apachie 2.0,php 5.2,mysql5.1... everything is going welll.... bt dere is problem using d following code,, [code=php]<php mysql_connect("localhost", "root", "mars11") or die(mysql_error()); echo "Connected to MySQL<br />"; </php>[/code] i hv save it in the htdocs folder under apachie...filename is test.php bt … | |
Sometimes it's just something so simple. I have been racking my brain, searching the net, for, litterally, 6 hours. Looking to do the following. If the user puts "this phrase" into the form field, it will send to the database "this_phrase". Hours and hours of research, solutions using preg_replace with … | |
I am having problems with str_replace. What I am doing for the administration pages of my CMS I have a include page for the top navigation (nav.inc.php). So I'll show you my code. [CODE] $page = $_SERVER['SCRIPT_NAME']; $prefix = '/administration/'; //get main and sub $main = '<div class="main-links"><a class="wnav" href="'.$prefix.'">Home</a><a … | |
[code] <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> </html> [/code] here is java script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; //return finalTime; alert("Thank you for coming to my site! \n You have … ![]() | |
Sirs,I w'd like to build on a website wherein i've a text box n accept code from user.I then w'd like to run code and display output in page. Something like [url]www.codepad.org[/url]. Plz help me with this.... | |
Im tring to replace a string. But it just doesnt work for some reason. Ive tried str_replace and preg_replace but neither have worked. My script basically caches a webpage then replaces a given string. The problem is replacing the string then saving it. Could you please help me out... [code=php] … | |
Is it possible to create a desktop icon (as in VB), for my application, so that users can access the form from their desktop to make complaints? I am using PHP with MS SQL. Please Help! Thanks in Advance! |
The End.