38,020 Topics

Member Avatar for
Member Avatar for rime

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 …

Member Avatar for nav33n
0
117
Member Avatar for kings

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 …

Member Avatar for nav33n
0
243
Member Avatar for bjg5858

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 …

Member Avatar for buddylee17
0
150
Member Avatar for Pro2000

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 …

Member Avatar for Pro2000
0
138
Member Avatar for EmpireZ

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 …

Member Avatar for EmpireZ
0
61
Member Avatar for kings

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 …

Member Avatar for ryan_vietnow
0
66
Member Avatar for AYYAD

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

Member Avatar for nav33n
0
181
Member Avatar for m_farhan

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

Member Avatar for black_ip82
0
69
Member Avatar for palsomas

Anyone knows PHP plz help me coze I don't PHP I just know HTML only n others.... Thnx......

Member Avatar for black_ip82
0
52
Member Avatar for learningPHP

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 …

Member Avatar for steven509
0
96
Member Avatar for jamescarvin

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 …

Member Avatar for jbennet
0
125
Member Avatar for pupu14

how to make an auto reply to an email like in friendster using php

0
47
Member Avatar for assgar

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 …

0
84
Member Avatar for FireNet

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

0
84
Member Avatar for innovativeatul

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,

Member Avatar for jbennet
0
94
Member Avatar for microtekblue

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

Member Avatar for ritgrad83
0
176
Member Avatar for Labby77

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 …

Member Avatar for TopDogger
0
105
Member Avatar for jamescarvin

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

0
48
Member Avatar for jay64

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 …

Member Avatar for buddylee17
0
87
Member Avatar for world_weapon

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

Member Avatar for world_weapon
0
170
Member Avatar for nitin.vnk

Hi Every1.. i m new to PHP, can anyone tell me how is carrer in PHP. thanks & regards Nitin

Member Avatar for riskbling
0
74
Member Avatar for jencinas69

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 …

Member Avatar for jencinas69
0
204
Member Avatar for daver40

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 …

Member Avatar for mandragora
0
124
Member Avatar for daver40

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 …

0
65
Member Avatar for Inny

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 …

Member Avatar for Inny
0
306
Member Avatar for geekyspaz

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.

Member Avatar for geekyspaz
0
80
Member Avatar for lydia21

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

Member Avatar for lydia21
0
97
Member Avatar for judedcoutho
Member Avatar for nav33n
0
63
Member Avatar for kings

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

Member Avatar for nav33n
0
196
Member Avatar for bhakti.thakkar

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 …

0
69

The End.