39,402 Topics
![]() | |
I am new to this PHP thing. I have programmed in VS 2003 and VB and C# for web site. I am working for this new company and all their forms are sent via send mail. My problem is that i am trying to send multiple variables to send mail … | |
I don't really know how to explain this easily. I guess I will layout the project I am trying to do, and the problem I am having with it, and maybe someone could explain it better to me. I am trying to build an online food journal for a fitness/nutrition … | |
hi everyone, I have some problem about simplifying my php code. At first I want to load my form and then load my information from database if their are any data exists according to the user name. Actually the problem is,I want to load the js while the information is … | |
Hi everyone I'm looking for a script that uploads and resizes images onto a server. I've been tormenting myself with the one from [url]http://blazonry.com/scripting/upload-size.php[/url] The reason I think that it's not working is because the server I'm working on doesn't have the libjpeg and libgr-progs library packages. And I'm not … | |
I want to create a dynamic link to a file...basically the info is displayed in a .php template read in from MySQL db. I want to also have a link to the saved text file. Here is some of what I have: [code] $date=$_POST[Date_Entered]; $shift=$_POST[shift]; $shift_table=$shift."_shift_duties"; $fileDir="TOP".$shift."Shiftlog" $fileID=.$date."_".$shift."shift.rtf"; [/code] and … | |
Dear All, I have two files, usr_profile.php and edit_profile.php. The former is for displaying the user's info viz 'Name', 'Email' etc while the latter is for editing the info available in the former. After editing the info in the edit_profile.php and submitting it, it gets redirected to the usr_profile.php. The … | |
Hi there guys & gals, this is my first post here will try to be as accurate as possible. The problem i have seems to me to be quite basic but i cannot for the life of me work out how i can do it, am hoping you good folks … | |
hi i have two different table,i want to select the name and id(primary key) from the first table..based on the id..i want to select the rest of the data in the second table... the below query is showing error,plz do tell me the bug. $query="select id,name from table1 where id='$id' … | |
I have tried a lot of things. The lines of code; $file_name1=$_FILES["image"]["name"]; $ext = strtolower(end(explode('.', $file_name1))); if($ext!="jpg"&&$ext!="jpeg"&&$ext!="png"&&$ext!="tif"&&$ext!="gif") The middle line being the line that is in "error" gets this error when trying to upload a picture, Fatal error: Only variables can be passed by reference $ext = strtolower(end(explode('.', $file_name1))); My … | |
I developed an online store catalog using PHP & MYSQL on Windows. It imports tab delimited data for new products from text files in a folder. While it worked fine on Wndows, when I run it in the MAMP installation on my iMac with Mac OSX it is not working. … | |
| |
Hello I need to do a form that writes to a database I know how to do that What I dont now how to do is how I dump my data from the db as XML I want the data to come out like this on the xml <jobs> <job … | |
I have a form page on a public webserver that needs to send queries to a different internal server on our network, and have the results sent back to our public server. The internal server is an AS400 i5 running Zend Core php and querying a DB2 database. Making this … | |
[B]hello i would like to add a training function to my online texted based game could someone help me ??? is there any websites or scrips whihc help u ?? thanks moyles[/B] | |
[FONT=Comic Sans MS]WEB ADDRESS FOR FREE DOWNLOADING OF PDF COPY OF A PHP BOOK[/FONT] Hello? I am a new learner of PHP. I have interested about it. I want to know any web address for downloading a free pdf copy of a good well known introductory book. | |
hi i have a table where dates and other info are getting inserted... i have a form where the user can select a start date end date.. based on the start date and end date ..i want to retrieve all the content stored between these dates..... | |
I'm trying to learn php/mysql Read "php and mysql for dummies" and keep getting stuck. Can you get me through this? Regards, Kris [email]m31342@hotmail.com[/email] | |
Hi, hope this is the right place, Here is my problem <h4 Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla Bla </h4> I want the content between <h4> tags in a variable, using only one expressions thnx Kusal | |
hi i want to insert the textbox content to database....wen i give disabled="true" data is not getting inserted in database....when there is no disabled attribute it is getting inserted..... <form name="fm3"> <table> <tr> <td>splendor Id</td><td><input type="text" name="id3" size="20" disabled="true" value=<?php print "$_SESSION[uname]";?>></td> </tr> <tr> </table> </form> | |
Hi, I am trying to code to put a PayPal logo in a page. Here is the code: [ICODE]<?php // ----------------------------------- // PAYPAL ACCEPTED ITEM // ----------------------------------- // test if box should be displayed $show_MYK_PAYPAL = true; if ($show_MYK_PAYPAL == true) { ?> <div align="center" style="padding:5px;"> [COLOR="Red"]<!-- PayPal Logo --><table … | |
Hello all, I have a problem and after searching for hours was hoping someone would have some information that would greatly help me out. I am developing a website locally on my development machine, (Mac OS X Tiger 10.4.11, Apache 1.3.33, and PHP 5.2.2). The site is based on a … | |
Hi all - I'm hoping someone here can help me with this as I have been trying to figure it out for the past 48 hours and have made little progress. I have two table in my database. The Primary Key (Serial) in tblTitles is the Foreign Key(Serial) in tblQuotes. … | |
Quick question here. I wanted a way to quickly change the URL of an image that is place on my page, so I came up with the following little script: [code=php] <?php echo "Status: $status"; if ($status == 'Online'){ rename('status.bmp', 'offline.bmp'); rename('online.bmp', 'status.bmp'); } elseif ($status == 'Offline'){ rename('status.bmp', 'online.bmp'); … | |
I posted this in the html section but I am not sure if it will be that simple. I have a .php form that populates from info in a MySQL DB. Anyway, I want to have the ability to email the form(whatever happens to be displayed at the moment) to … | |
I am trying to write a code to get IP of a computer. I have written the following code : <?php $ip=@$REMOTE_ADDR; echo "<font face='Verdana' size='3'><b>IP Address= $ip</b>"; ?> But the output I am getting is : IP Address= 127.0.0.1 i.e the common IP for all machines, what is the … | |
hi i am not able to update my table.plz do tell me the bug in my code..... when update link is clicked in the first page..the table should get updated [B][COLOR="Green"]page 1[/COLOR][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $x = $_GET['name']; $result=mysql_query("SELECT * FROM table1 where name='$x'") or … | |
Hi I am new to php and most other things, I am trying to make a form on my website to take users details for membership purposes. This data will be stored in a mysql database. What I have at the moment is a plain html form that posts the … | |
Hello everybody, I want to write an email to some one by php function... I mean Mail(....) What may I write in the headers to send this message safety to another one... I mean by using the ([COLOR="red"]Cc[/COLOR]) Or ([COLOR="red"]BCc[/COLOR]). So that is a querstion.... I have another question: Can … | |
Hello, I am trying to figure out how to have the data pulled from a input text box field so it displays as columns. Right now, when I hit enter to add a new line in the text box and look at it where it suppose to be displayed, it … | |
hi i have a table which has uname,pss,type fields now i want to check the login (ie is username and password) and if the type is administrator then redirect to a different page... if the type is a user then redirect him to another page... in this apllication there are … | |
where do i download a php program from??? so i can start programming, or whats a programs name... any sites for tutorials, coz im thinking of doing a website | |
Hi everybody, I m a new developer in PHP. I m working and making a e-shoping site in php. will somebody help me and advice me how to manage everything. thx | |
Anyone knows PHP plz help me coze I don't PHP I just know HTML only n others.... Thnx...... | |
I am a pre-beginner at web programming. I have a project that I would like to implement on a web page and would like to find out how I can program it, if I can program it, how difficult it would be, and where I can learn it. Basically I … | |
I really don't have the patience for this but I'm trying to learn php/mysql and really could use some tutors. The online tutorials are a fair introduction. But I've got a big project I need to make progress on quickly. If anyone here would be willing to give me some … | |
how to make an auto reply to an email like in friendster using php | |
I am having problem with my loping. I don't know if I have chosen the correct approach. GOAL: I need to insert into a table event types for a specific date range. The calendar the event type is displayed on is divided into 15 minutes time intervals A group consist … | |
Example: Navigate: PHP Code Library > PHP > Sub1 > Title V Any ideas, tutorials no how to do that using php & mysql ? each category should be able to have items and more categories under it. It should use a single table to store all the category titles. … | |
I just decided to share the simple but the first step towards the php, that is the syntax <? yourphpcode goes here ?> [B]Display what you want on browser[/B] <? echo("MY FIRST Php Page"); ?> I hope it will surely help newbie's in PHP like me. thnx, | |
Hello. I don't know what I did or what has happened, but all of a sudden when I try to click my RSS feed link on my Wordpress blog, I get this error: [inlinecode] XML Parsing Error: xml declaration not at start of external entity Location: [url]http://www.justwantaquote.com/blog/feed/[/url] Line Number 2, … | |
Hello all master coders, I have been doing my site exclusivley in html. What is the big differences bewteen php and html? What are the advantages/disadvantages? What, if any would be the penalty from going from an html site to a php site? Would this hurt the PR I have … | |
I have a cgi/perl site and would like to convert everything over to php/mysql, then start customizing it, that or just integrate the two. I'd really like someone to hold my hand as I learn these languages and attempt to improve my web site. Even CSS gives me problems. Basically, … | |
Hi, I am very new to PHP, teaching myself at the moment. I am using online tutorials to teach myself, so I am at their mercy of what information they provide. I have found some decent scripts, but they don't show me how to link them together. I am trying … | |
Working on a function that prints out all database rows that end with _n where n is single digit number 1 - 9 first and then prints rows that do not end in _n. So far I have been trying to use this code [CODE=php] $theQuery="SELECT * FROM tableContent" while($row=mysql_query($theQuery)) … | |
Hi Every1.. i m new to PHP, can anyone tell me how is carrer in PHP. thanks & regards Nitin | |
Hello I am trying to add a 7, 14 or 30 day to our job posting online form. Right know I just have a start and end date drop down. What I have in mind is to do 3 radio buttons with 7 day, 14 day, and 30 day, the … | |
I'm a bit of a beginning to PHP, so I hope that this question isn't too terribly simple. I'm trying to write a flexible query that will use data from an HTML form to create a SELECT statement for a MSSQL database. I've tried writing a sample query, but I … | |
I'm working on several scripts that form a small, custom build appointment scheduling application. I'm having some trouble with a function that I'm using to check whether appointments for individual times during a given day exist in the database. The function: 1) creates a table 2) uses the date function … | |
Hello, Im trying To create A code In php That Does the Following: A. detects visiting users real ip address B. detects city and country C. detects browser type and version D. detects referrer url E. detects landing page F. appends this information to a txt file Im using the … | |
Hi, I'm fairly new at php and I'm trying to understand how to upload a maximum of 5 images. The images would be uploaded to a common directory. My plan is to save the pathname to a database for later retrieval. Please help. Thanks. |
The End.