39,402 Topics
![]() | |
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 … | |
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] | |
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 … | |
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 … | |
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 :) | |
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!!!:'( | |
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 . | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
[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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 = '#'; … | |
hi please tell me the answer of this question How to give the variable value to textfield on same page? | |
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 … | |
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 … | |
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 … | |
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 | |
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?? … | |
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 . | |
give me idea to develop hotel booking check in and check out date using drop down list day month year with calender. | |
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 … | |
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 "\" … | |
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, … | |
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 … | |
hello..can i get the php code for print function..does anyone have the code?..tq..i'll appericiate it. | |
[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: … | |
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 … | |
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.. | |
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 … | |
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 … | |
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, … | |
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 | |
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? | |
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 … |
The End.