38,020 Topics
| |
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. | |
hi i want to check the uname from the database and the session variable... please tell how to write if condition <? $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); echo "<table width='60%'>"; $result=mysql_query("SELECT jobid,jobtitle,cname,uname FROM please"); print "<tr><td>jobtitle </td> <td>cname</td></tr>"; if ($result[3] == $_SESSION[uname]) { for ($i = 0; … | |
how can i retrieve .doc file from a blob type stored in mysql database | |
hi when edit link is clicked the form with the filled in fields will get displayed .the user the can edit the content in the fields and then when he clicks update the table will get updaed here is my code... here id is auto generating field in mysql [B][COLOR="Green"] … | |
hi all, i have a table whose structure is as below: Name Null? Type ----------------------------------------- -------- ---------------- NEWSLETTER_ID NOT NULL NUMBER SUBJECT_VC VARCHAR2(255) MAILTYPE_VC VARCHAR2(50) CONTENT_TXT CLOB SCHEDULE_DT VARCHAR2(50) SYSTEM_HOOK_VC VARCHAR2(50) NSTATUS_SI NUMBER TEMPLATE_ID NUMBER i want to insert data in this table. below is my php script i m … |
The End.