39,402 Topics

Member Avatar for
Member Avatar for marcosjp

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 …

Member Avatar for marcosjp
0
270
Member Avatar for SkyVValker

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

Member Avatar for SkyVValker
0
207
Member Avatar for dourvas

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 …

Member Avatar for DiGSGRL
0
172
Member Avatar for DennyW

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 --> &nbsp;<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><!-- …

0
116
Member Avatar for pnorten462

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.

Member Avatar for DiGSGRL
0
111
Member Avatar for SOB224

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

Member Avatar for DiGSGRL
0
150
Member Avatar for SOB224

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 …

Member Avatar for SOB224
0
191
Member Avatar for dourvas

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

Member Avatar for dourvas
0
284
Member Avatar for fvdave30

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.

Member Avatar for kawama
0
82
Member Avatar for merianos

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

0
52
Member Avatar for sri vani

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.

0
49
Member Avatar for navi17

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

Member Avatar for DiGSGRL
0
203
Member Avatar for tibebu.s

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 ?

Member Avatar for sumchtarek
0
188
Member Avatar for Jenniferlinn

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 …

Member Avatar for sumchtarek
0
150
Member Avatar for FlashCreations

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 …

Member Avatar for kanaku
0
120
Member Avatar for afrojazad

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 …

Member Avatar for afrojazad
0
246
Member Avatar for Modo

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 …

Member Avatar for ashafaaiz
0
146
Member Avatar for sawmaster

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 …

Member Avatar for sawmaster
0
101
Member Avatar for php2sheik

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 …

Member Avatar for php-freelancer
0
71
Member Avatar for ilokana

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

Member Avatar for php-freelancer
0
462
Member Avatar for majualexander

[COLOR="Red"][/COLOR]How can I download Images uploaded in the server to my local system...I have administrator privileges. Plaese help me...

Member Avatar for DiGSGRL
0
101
Member Avatar for khr2003

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

Member Avatar for DiGSGRL
0
57
Member Avatar for muthu.G

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 …

Member Avatar for peter_budo
0
31
Member Avatar for khr2003

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 …

Member Avatar for khr2003
0
178
Member Avatar for DiGSGRL

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 …

Member Avatar for DiGSGRL
0
100
Member Avatar for Stunt

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 …

Member Avatar for Stunt
0
141
Member Avatar for designingamy

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 …

Member Avatar for designingamy
0
178
Member Avatar for Ale123

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 …

Member Avatar for chili5
0
121
Member Avatar for mattbaker

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

Member Avatar for buddylee17
0
48
Member Avatar for bdicasa

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 …

Member Avatar for bdicasa
0
114
Member Avatar for Aamit

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

Member Avatar for kanaku
0
254
Member Avatar for daz1034

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 …

Member Avatar for openwave
0
119
Member Avatar for IceKnuckle45

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

Member Avatar for IceKnuckle45
0
91
Member Avatar for knrakesh

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

Member Avatar for kanaku
0
90
Member Avatar for masterOFwww

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 …

Member Avatar for masterOFwww
0
115
Member Avatar for orxanx

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

0
66
Member Avatar for khr2003

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?

Member Avatar for kanaku
0
64
Member Avatar for tuse

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]

Member Avatar for tuse
0
93
Member Avatar for knrakesh

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

Member Avatar for dilipv
0
169
Member Avatar for pupsaa

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 …

Member Avatar for dilipv
0
127
Member Avatar for navi17

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

0
45
Member Avatar for darkagn

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 …

0
99
Member Avatar for dourvas

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 …

Member Avatar for dilipv
0
254
Member Avatar for navi17

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 …

Member Avatar for navi17
0
85
Member Avatar for sagedavis

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 …

Member Avatar for bugmenot
0
807
Member Avatar for jtmcgee

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 …

Member Avatar for jtmcgee
0
165
Member Avatar for Aamit

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

Member Avatar for diafol
0
795
Member Avatar for uppibhay

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

Member Avatar for Salem
0
83
Member Avatar for theimben

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

Member Avatar for mschroeder
0
176
Member Avatar for ammupon

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!

Member Avatar for death_oclock
0
74

The End.