39,326 Topics
| |
I'm fairly new to PHP and I'm trying to create a simple database that gives the description and urls to articles I have put in my database. The problem is, when I put the column 'link' (with the resulting urls) between <a href> and </a>, the link is not yet … | |
Hello friends, this is the first time that i deal with cookies, i'm creating only one cookie for my site. This is the problem i want to validate one thing in my main page, that the user will be able to just click once a link, so in my cookie … | |
Hi everyone. In my application i would like to have some kind of custom fields, which can be defined by administrator. For example, we have two types of goods: food and toys. Those two types has common fields, e.g. name, price, amount. I'm planning that administrator can create custom fields … | |
I'm very stressed out right now and cant seem to fix the problem with this php/mysqli script. I will pay $10 through paypal to anyone who duplicates my code, (and its fixed) as a reply to this thread. My deadline is very close, and I need it within a day. … | |
hi i need help here i have a form which will be filled by user his name email phone number etc...and then that information will be submitted into my ZOHO CRM account and using that information i like to fill a Proposal and Generate a PDF of that Proposal and … | |
Can any body help me how can i design my first page in PHP and database sql server2008 which should have four textboxes in the center of the form like this Name Naveed FatherName Akhter DOB - NIC NO - and two buttons one for exit and one for changing … | |
Hi, I basically have two functions; the first one below [b]GenerateFormTokenHash()[/b] is placed in a hidden field on my form and echoed out in the hidden field plus it stores the token in a session called [b]token[/b]. The second function below [b]IsValidFormTokenHash()[/b] is called straight after the check is made … | |
Hi, i facing a problem with update data in database... i had create 3 files [CODE] //list_records.php <?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="test_mysql"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", "$password")or die("cannot connect"); … | |
Can anyone help me with this? I need for select out the posts where type_lbiltank=1 from this SQL-sentence: $query = sprintf("SELECT address, name, email, type_lbiltank, type_lbilut, type_lbilborst, type_pbilselv, type_pbilauto, lat, tlf, lng, ( 3959 * acos( cos( radians('%s') ) * cos( radians( lat ) ) * cos( radians( lng ) … | |
hi all, i have registration script that registers user according their [B]user ID[/B]. if there more than one user id it returns false and says that this [B]user ID[/B] is taken. but if i submit different user ID and the same email address it accepts. how can i do that … | |
Hi, Below code gives me this error: "syntax error, unexpected" in line 5 <?php $to = "safiullah12@hotmail.com"; $subject = "test fname, email,phone,nn"; $Sender = $_POST["email"]; $message = Name: echo $_POST["fname"] . "\r\n". ///////////////////////line 5 Email Address: <?php echo $_POST["email"] . ?> "\r\n". Phone No: echo $_POST["phone"] . "\r\n" ; // … | |
Hey guys, I need some help in deciding whether Wordpress 3.1 is OK for full-time use. I realize it's in beta, but my mother's friend wants her static website turned into dynamic content via Wordpress. I don't mind 3.0, but I've heard really good things about 3.1, such as superior … | |
Okay, I am working on a facebook for my school, and I need help creating the signup/login/profile pages... Connecting to the database and stuff.. if someone could help me here or on MSN? [email snipped] Thanks, Really looking forward to it! | |
Hi, Below code is not working. Once I run it, it works fine. i expected "Thanks" but i get nothin. is not redirecting to thankyou.html <form name="myForm" action="/send_email4.php" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="thankyou.html" /> Name: <input type="text" name="fname" /> Email: <input type="text" name="email" /> … | |
This is common code and I've searched all of the forums and cannot find the answer to fix my problem. I created 3 pages: 1.) Login [CODE]<title>Login</title> </head> <? /** * Checks whether or not the given username is in the * database, if so it checks if the given … | |
The data C:\username\photo.jpg. I cannot insert to database successfully. C:usernamephoto.jpg will be inserted. What is the ways to insert such data? | |
Hi all, What I am trying to do is On "Page 1", user fills a form, and when he clicks on "Submit", a new page, say "Page 2" should get automatically created (in the same folder as index.php) in such a way that name of the page is say first_name.php … | |
.Hi guys i have been working on a picture viewer and what i want to do is put certain informations over the pictures that is retrieved from the database. i used the following code to retrieve images from the database: [CODE]<?php $host = 'localhost'; $user = ''; $pw = ''; … | |
| I have two pages, both extremely simple. One of the has some code on it which is literally an iframe with some basic CMS controls which allows the user to enter some text in it (by default it reads some pre-written text from a file and pastes it into the … |
Hi, I keep getting this error message. Warning: Cannot modify header information - headers already sent by (output started at /home1/lgmsevze/public_html/passion4anime/test/header.php:18) in /home1/lgmsevze/public_html/passion4anime/test/login2.php on line 31 Can sumone help me or explain to me on how to fix this issue.. I will post my codes here... Header: [CODE]<?php session_start(); if(isset($_SESSION['SESS_CHANGEID']) … | |
This has been solved. - The script is being restricted by a database field limitation. | |
Hello everyone, I would like to know how to create a PHP file to create the following database: Database name: "dbUsers." [CODE]Name Type Addition id int(10) Primary Key, AUTO_INCREMENT username varchar(16) Unique password char(16) email varchar(25)[/CODE] Thanks :) | |
hi everyone...im having an issue with collecting the data using HTTP_REFERER the problem is if i paste or type a referral url into the url bar it gives an error :- Message: Undefined index: HTTP_REFERER but if i click the link from another site it works perfect... i understand that … | |
hi guys.. pls help me out.. in my project , i am extracting the data from mysql database.. and presenting it in a table.. each time a new data is getting displayed row wise..dynamically.. how can i make that data to be get displayed column wise.. fr eg : i … | |
Hey guys i seen this script in a tutorial but he never explain how this script function $_SESSION how can i use this script in a project or in any situation. can anyone elaborate this code | |
Hi people! Im having an issue, and it is really bothering me. I want to get some content (only 2 lines) from another site and paste it into my own site. The problem is that the content on the other site keeps changing, and I need it to be auto … | |
Hi Friends..... I want to implement search indexing (like joomla) in my website. Earlier I develop search from database by "select" statement. But for whole website, I don't have any idea to do it............ Plzzzzzzz Help ??????/// I'll highly oblized to you............. | |
Hi, I'm still learning on how to upload and retrieve/display images. I have already have the idea on uploading an image onto the server. Well, I still have a problem when it comes to displaying the image which has been stored from the file server. I am actually using this … | |
[CODE]<?php $out = array(); $execute='./test.py'; $name="test"; exec("$execute $name",$out); foreach ($out as $value) { echo "$value<br />\n"; } ?>[/CODE] when I executing above code in local server its working.. But in hosted server, exec () function doesn't take the parameter variable '$name'. why? | |
Hey Guys, I know there has to be a way to automatically delete a row in a MySQL table on a specified date. I am just brain dead today :icon_confused: Let's just say I have CMS that I input posts and want one of the fields in the table to … |
The End.