39,402 Topics

Member Avatar for
Member Avatar for rejoicegants

Hi friends, I require your assistance here. Is it possible to import profile details from the existing social networking sites such as “myspace.com”, “bebo.com” and “hi5.com”? The site myyearbook.com can import the profile details of the myspace.com easily and it displays the myspace.com profile details of one user in its …

Member Avatar for w4webmaster
0
165
Member Avatar for queenc

hi, this is a simple program it is not working...please do tell me whether my code is correct [CODE]<form> <?php function login() { print "<script>"; print " window.location='http://www.webs.com/hi.html'"; print "</script>"; } print "<input type='button' name='butt' value='Apply Online' onClick=login() style='height :2em; width :7em; font-weight:bold; font-size:0.7em' >"; ?> </form> [/CODE]

Member Avatar for sagedavis
0
110
Member Avatar for hunkychop

is there a way to create a function that uses values from the statement inside of brackets. ex. [CODE=php] myFunction(){ //data here } [/CODE] if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag. for …

Member Avatar for hunkychop
0
127
Member Avatar for sukhy_1

error message Notice: Undefined variable: sentmail in /home/stud/1/0472547/public_html/send_password.php on line 59 The code works but when wrong email is entered and it cant find it in the database it comes up with that error its all right but for some reason its saying undefined variable // ---------------- SEND MAIL FORM …

Member Avatar for Suomedia
0
1K
Member Avatar for sukhy_1

Hello ive got a login form and when each person log's in i want there details to appear automatically in textboxes what kind of code do i require?? is it sessions not sure, there details are stored in a table called students in mysql database table :)

Member Avatar for hunkychop
0
97
Member Avatar for husna_feza

dear guys out there...can u guys help me on how to inverse 3x3 using php.. i get really confuse wit it since i an a newbie with this php..help me guys!!!:'(

Member Avatar for hunkychop
0
80
Member Avatar for marlonbrando

Hi, I am new to PHP and i want to know the basics of php regarding how can it be used for a web designing purpose,i have tried a lot but there was some success but most of my attempts were not successful.i need a help .

Member Avatar for Suomedia
0
62
Member Avatar for justted

Hello everyone, I seem to be having a problem inserting some information into a MySQL table. Below is a copy of the MySQL table code I used and also the PHP code. I was wondering if anyone can help me find out why it wont insert the information. What I …

Member Avatar for RoryGren
0
189
Member Avatar for VIeditorlover

Hi, is there in PHP a way how to determine in real time geographical area from IP. I mean rough estimation e.g. Asia, USA, Russia etc.? Thanks in advance for any advice!

Member Avatar for Suomedia
0
100
Member Avatar for sagedavis

I am banging my head against the wall here. I've tried everything that I can think of to get this to work. [code] class myData { function myStuff($sql){ $result = @mysql_query($sql,$connection) or die(mysql_error()); while ($row = mysql_fetch_array($result)) { $adId = $row['adId']; $adName = $row['adName']; $adData .= "my adId is $adId …

Member Avatar for sagedavis
0
143
Member Avatar for mspake

hi y'all. i just found this site today, but so far, it looks great. anywho, i need a little help. i'm sure it's simple but i'm having a major brain fart. in the part that says 'this_is_where_i_need_the_redirect' i want it to go to a page named invalid.htm. what the heck …

Member Avatar for Suomedia
0
96
Member Avatar for Dsiembab

Good afternoon, Quick question, this may not make any sense but it is a thought, I was thinking, like I usually like to do, when you pass variables over a browser would it be crazy to md5 hash and salt the variables id and keep them in a db table …

Member Avatar for Suomedia
0
109
Member Avatar for sukhy_1

Hello the code below checks if the email is real but when a real email is entered for some reason or another it states undefined when the sumit button is clicked even though the email entered is real. if no email is entered is says enter a an email, if …

Member Avatar for nikesh.yadav
0
76
Member Avatar for kusal

Hello I have a category select menu, what I want is to when user select a category I have to repopulate the sub category select menu with items can I do this with out AJAX, it does not matter if there is a another request can I use a onchange …

Member Avatar for kusal
0
89
Member Avatar for sukhy_1

Hello people i need some help, ive got all the code but having problems making it work. The webpage which i am creating allows the user to select day and time and when they click search it displays the results and i want the user to be able to select …

Member Avatar for sukhy_1
0
101
Member Avatar for lydia21

is it possible to alert session variable.is the syntax is correct... [CODE=php]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login() { alert($_SESSION["un"]); } --> </SCRIPT> </head> <body bgcolor="#f1f3f3"> <form> <?php print "<input type='submit' value='submit' onClick='javascript:login();'>"; ?> </form> </body> </html>[/CODE]

Member Avatar for nav33n
0
243
Member Avatar for dark06

[CODE=php]<? $c = $_POST['col']; $r = $_POST['rw']; ?> <? for($cvchk = 1; $cchk<= $c; $cchk ++) { echo $cchk."<br>"; for($rchk = 1; $rchk<= $r; $rchk ++) { echo $rchk." "; } } ?> [/CODE] i don't know what is wrong with this one i want the output to become this …

Member Avatar for nikesh.yadav
0
76
Member Avatar for kishou

ok i think someone got into my sever. and when ever you try to go to like sdlfsdjklfjlkdsfjk.php or any page that doesnt exist but has a .php it says "No input file selected". Anyone know why? I think someone got in using my File upload manager. but i deleted …

Member Avatar for RoryGren
0
156
Member Avatar for justted

Hello everyone, Im once having problems trying to retrieve information from one of my tables. I have a table with the following information: [code] CREATE TABLE `island2` ( `id` int(10) unsigned NOT NULL auto_increment, `user` int(11) NOT NULL default '0', `island` int(11) NOT NULL default '0', `town` int(11) NOT NULL …

Member Avatar for justted
0
88
Member Avatar for Diode

The title might be messed up a bit; I didn't know how else to title it... Basically I'm making a web page for a guy who sells sports memorabilia/penants/team clocks, etc. for free as a favor, and I'm making the item create page where you type in the name of …

Member Avatar for digital-ether
0
265
Member Avatar for OmniX

I know you cannot have multiple headers in a section of code. But is there a way to make it work? I require 1 header to refresh the page. I require 1 header to open a new page. Note: The refresh paged is not the new paged that is opened. …

Member Avatar for OmniX
0
90
Member Avatar for frannydee

Hi everyone !!! I'm new here... and i have my first question... let's see if someone can help me... I have a form on the web i'm working that collects messages from viewers in a database, right? How can I make a script to send me an automatic e-mail everytime …

Member Avatar for Suomedia
0
23
Member Avatar for rajivloharuka

Hi All, I am trying to send some data using Ajax and recieve that data in php code using _POST method. But my data contains "&" and _POST method takes it as a seperating token and data after tht does not get passed. Does anyone has a solution to this. …

Member Avatar for sagedavis
0
191
Member Avatar for mrcniceguy

Now i know how Display someones information from DataBase after loggin In using php. Now i want to understand how can i arrange the profile. So that the profile will be more proffesional. For example. a table in which someones info are, including picture,message,video, even a search box if one …

Member Avatar for ryan_vietnow
0
271
Member Avatar for mcx76

I installed oscommerce successfully.But when i try to place order through payment by paypal. At paypal page the message comes as below [QUOTE][B]Please provide an amount and click Update Totals Item osCommerce Price $0[/B][/QUOTE] Please be advice how i can get the information which order is placed and price on …

Member Avatar for Suomedia
0
81
Member Avatar for rickya100

Hi and thanks for looking. The code below is my signup page and it all goes fine until i have to compare the code i sent to their email address with the code they copy into a textbox. It works but only on when you submit the form and then …

Member Avatar for rickya100
0
119
Member Avatar for Scottmandoo

Couls someone help me fix this code, I think I need to put in a function and a return but i'm not quite sure. All the code does is return the value # for everything even letters [CODE=php]$letter = ucfirst($_POST['tut_name']); $letter2 = $letter{0}; if($letter2 = 1) { $letter3 = '#'; …

Member Avatar for Scottmandoo
0
129
Member Avatar for ujwalkhairnar25

hi please tell me the answer of this question How to give the variable value to textfield on same page?

Member Avatar for nav33n
0
162
Member Avatar for miss_bismillah

Can someone give me idea on how to remove image url? For example when i click on the news link..the news information will come out..In the news information page, i only want text.I dont want to display the image. How can i figure out the image.Cause my problem is.. the …

Member Avatar for sagedavis
0
124
Member Avatar for BenWill

Hey all im basically a bit lost when it comes to how to do something in PHP. Im new to php programming and any help would be greatly appreciated: I have a query that displays a list of courses (In a while loop).. now all these courses belong to say …

Member Avatar for nav33n
0
130
Member Avatar for sukhy_1

How can i allow a user to select only 2checkboxes, if they choose more then 2an error message will appear saying you can only select 2, heres my code below where the checkboxes are used. // Loop through data and display [code=php]while($a_row = mysql_fetch_assoc($result)) { echo "<tr>". '<td style="color: black;"><input …

Member Avatar for nav33n
0
143
Member Avatar for maxmannuk

Just set up a local host with php an apache 2.2............. it says all working fine but when I test, it looks like apache dosn't know what to do with php and asks if it shouldm open with a program or download???? any ideas......... Brian

Member Avatar for nav33n
0
41
Member Avatar for mrcniceguy

i created a databases with name,lastname,username,password,email,country and proffesion. Also created a registration form. apart from from i also created a Login Form in which only username and password. Now I need when Someone is logen in To view all of his Datas supplied while registering. How can i Do this?? …

Member Avatar for nav33n
0
45
Member Avatar for kv79

Hi all, I was wondering how to you create application in PHP . Do you have any program tool ? Or you write Forms or you do something else . Do you know any good site about application development in php . Thank you for your info .

Member Avatar for nav33n
0
117
Member Avatar for avmaza

give me idea to develop hotel booking check in and check out date using drop down list day month year with calender.

Member Avatar for nav33n
0
107
Member Avatar for mjdare

Hi I'm trying to use the image mapping, but the problem is: 1. i'm not a web developer and i'm not sure how to do that. 2. the site on which i'm trying to do the image mage is php bases. 3. i tried to do it using dreamweaver but …

Member Avatar for RoryGren
0
61
Member Avatar for Venom Rush

Hi there I'm having some problems with my form. I'm generating my form through php and I can't quite figure out how to echo <?= $_SERVER['PHP_SELF']?> for the action in my form tag. at the moment what I have is this: [code=php]echo "<form name=\"tsgh_add\" method=\"post\" action=\""; ?><?= $_SERVER['PHP_SELF']?><? echo "\" …

Member Avatar for nav33n
0
90
Member Avatar for sukhy_1

hello, basically ive got a while loop which brings up bookings dates but i want to send a selected row to a table within the sql table but depending on, one specific field for instance if the name = "tom" i want to send it to the table called tom, …

Member Avatar for nav33n
0
168
Member Avatar for Scottmandoo

Is there anything wrong with this script? [CODE]<?php $username=""; $password=""; $database=""; $rom_name = $_POST['rom_name']; $rom = $_FILES['rom']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if (empty($rom)) { $result = '<font color=FFFFFF>Please choose a ROM …

Member Avatar for Scottmandoo
0
245
Member Avatar for dbayo

hello..can i get the php code for print function..does anyone have the code?..tq..i'll appericiate it.

Member Avatar for nav33n
0
51
Member Avatar for justinmyoung

[B]I'm writing a simple weblog, and I'm new to PHP; but thanks to this particular resource, I'm learning more and more. With that said, I'm making some mistakes, which I need help finding solutions for. I'm receiving these three Warning/Errors:[/B] Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: …

Member Avatar for nav33n
0
119
Member Avatar for justinmyoung

I'm only learning PHP, and have encountered some problems that I'm sure are issues newbies often encounter. Nevertheless, I need help. I'm writing code for a simple Weblog forum and one of the problems I've encountered comes on a page entitled viewcat.php. To me, the code looks good. But I …

Member Avatar for nav33n
0
103
Member Avatar for dbayo

hello..i make cumulative grade pointer average (CGPA) process for my project..does anyone have the example for me to refer..i really appreciate the help..

0
72
Member Avatar for bunnny

Hello, I need clean web 2.0 xhtml/css design with valid code and integrated to phpBB3. The design must be similar to this websites: [URL="http://www.sprintbio.com/"]here[/URL] [URL="http://www.talkfreelance.com"]here[/URL] [URL="http://eden.cc/"]here[/URL] [URL="http://www.twistsystems.co.uk/"]here[/URL] [URL="http://capturethevalley.com/"]here[/URL] [URL="http://www.energycrew.ca/"]here[/URL] [URL="http://www.wellcodeit.com/"]here[/URL] [URL="http://www.kompakt.cz/"]here[/URL] [I]you may follow the color palette of # 4 and 7[/I] IE, FF, Opera, Safari equal! If you can …

0
66
Member Avatar for mrcniceguy

want to create a single profile page for members. The way I want it is when any user logs in he will automatically be taken to that single profile page. I am wondering if there is a way I can make the code extract only the profile and passport of …

0
65
Member Avatar for flynismo

Hello everyone, New to daniweb; this is an excellent forum and I've learned a lot in the short time I've been here. Trying to build a traditional dating site, and as such, it's crucial the members can search for other members on the site. I am also new to PHP, …

Member Avatar for nav33n
0
96
Member Avatar for jobykjoseph
Member Avatar for lydia21

hi i have upload option where the user will be allowed to upload only txt file..when the admin tries to view the uploded file i want to show him in html format

Member Avatar for nav33n
0
65
Member Avatar for carobee

how can i set limit to my sessions in php so that if a page remains idle for certain time, the user is logged out?

Member Avatar for cpickering
0
74
Member Avatar for bhaskarchoudari

Hi , for message board or builliten board , i used phpbb3 , for my requirement is every forum message is first visible to admin ( he has a chance to accept or deny) whenever accept then only message pass to other member. how can i solve this please guide …

Member Avatar for cpickering
0
52

The End.