39,323 Topics
| |
Hi, I have the following tables **tbl_user** - id, username, password **tbl_userprofile** - id, userid, name, surname, gender, nationality,address, mobile, department, email, question, answer. userid is a foreign key in **tbl_userprofile** referencing id in **tbl_user** I'm trying insert a new user into **tbl_userprofile**. But i'm not sure how to go … | |
I have a text file: $string = '1 The most important feature of spiral model is: requirement analysis. risk management. quality management. configuration management 2 The worst type of coupling is: Data coupling. control coupling. stamp coupling. content coupling 3 One of the fault base testing techniques is: unit testing. … | |
Hi, I have a web site that was originally only in English, I wanted to make the site multilingual so that there would be copies of each page in English, Arabic and Hebrew. To do this I created a duplicate site for development, after completing the basic structure with the … | |
Hello Masters, Please help me, How can i display only how many days leave when i mention last date.my system just display *like **5 Days To Go*** compare/subtract current date.I want use it codeignitor. Best Regards, Rjony :) | |
Hi guys, basically, I've been stuck on this problem FOREVER! *When I open the webpage, I get this error.* Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND) in C:\Program Files (x86)\EasyPHP-12.1\www\Creative Landscapes\functions.php on line 83 **Line 83:** `else if (isset($_POST['submit'] && empty($_POST['username']) or empty($_POST['password']){` | |
The pay is giving error"Sorry, we couldn't retrieve your data. Please try again later.".The url is "https://www.sandbox.paypal.com/webapps/business/?business=dheersinght%40yahoo.com&custom=47¤cy_code=USD&item_name=paid&item_amount=9.95&return=http%3A%2F%2Fexample.com%2Fpayment-successful.htm&cancel_return=http%3A%2F%2Fexample.com%2Fpayment-cancelled.htm¬ify_url=http%3A%2F%2Fsoftwaresproject.com%2Fpaypal1%2Fpayments.php". | |
Hey all, i've a form with a textinput for links, but at submit, it won't send any links started with http. for example: <form acion="result.php" method="post"> <input type="text" name="link" /> <input type="submit" name="submit" value="submit" </form> <?php //---Result.php: echo $_POST['link']; // if links start with http:// it won't be there ?> … | |
I have taken up a project of creating my own forum. A chat forum. I have started to design the homepage. But there is still much more work to do. The thing is I dont know how the folowing things work: Member login and that each member has their own … | |
Hi guys. So I have this code for uploading pictures for TinyMce. I can't figure out how I can manage random filenames on upload. I've tried to change "$filename" and adding time() and rand(), but it don't seem to change the filename. Any ideas? define ("MAX_SIZE","200000"); $errors=0; if(isset($_POST["submit"])) { $image … | |
hey there I don't know if this mentioned earlier but I want to do this sql statment $sql1 = "SELECT product FROM products WHERE cat = 2"; $sql2 = "SELECT product FROM products WHERE cat = 3"; $sql3 = "SELECT product FROM products WHERE cat = 4"; I want these … | |
Hello. I have a user defined function in start of an Html page. I want to add textfields in the innerHtml. Please guide me what should I do. When I enter string in the innerHtml on line 10 and 11, It show "New" in the cells. BUt i am adding … | |
This code works online for login. I wonder it doesn't work offline for login. I am using windows 7 and apache server. I already enter the correct username and password. It shows nothing as if nothing happens. <?php ob_start(); include('../includes/koneksi.php'); /* the files */ // username and password sent from … | |
How to separate admin and frontend part in php with codeigniter? I have 3 users.. How to give them the privelges to get access on their pages ? | |
I want to know that how I prepare a website in wordpress from scratch without using any premade template. What files are required and how to upload them on server that browser start showing that website. | |
I'm new to php and dymanic web applications using PHP I'm tyring to read from table Id(primary key) to other form and save othe table as forign key. I appreciat for you help | |
Hello Everyone I am using 2 different database servers to retrieve my data. Some of my query retrieve data from one database server and some from other database server. I had made connection successfully, But there is one problem. The problem is that when I am retrieving data it is … | |
I am thinking to implement a forum like Private Message into my website for those who are a registered member. (<100 Member anyway) So Member A can send a message to Member B. Member B will have a notification popup within some seconds saying that he received a new message … | |
here i found the solution for windows 8 while installation apache , mysql , php http://connectwww.com/how-to-install-and-configure-apachephpmysql-and-phpmyadmin-on-windows/457/ | |
Hello guys Am still a newbie in php in codeigniter Hmm, am creating a website..for that when a user log in...the session has to be kept..while she is browising between several page in the website. how can i include this? Header or something? I have already do the login part.. … | |
I Have a problem about display an image and a descryption to a web page. as admin or some how i need to upload photos to my web site.(only to admin). so for that i need a help to do it (PHP CODE) please! im actually new to PHP.it would … | |
hi, am Gilbert i developed a desktop application in java and i craeted an autorun of the application. and i made a webbased application using php. how can i run the desktop application via php? | |
I am working with HTTP & RTSP Protocol. For live streaming video I am using RTSP Protocol. For RTSP live streaming my URL is something like this: rtsp://www.sitename.com:554/video/exp.mp4 But it's give me error "Cannot play video". Can any one suggest how RTSP will work & is there any other setting … | |
Hi all this should be an easy one, Trying to move an input from text box1 to text box2 and return back to page1. page 1 reads, <HTML><HEAD><TITLE>php scenario move text </TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 9.00.8112.16457"><STYLE type=text/css>BODY { FONT-FAMILY: verdana, arial, sans-serif }</STYLE></HEAD><BODY><P> </P><P><FORM method=post action=2.php> <TABLE border=1 … | |
I'm working on building a forum in PHP and am trying to include a feature that would log a user out after a certain amount of time. It would also direct them back to the login page after the elapsed time. I've built the forum using separate php pages for … | |
Hello, I am sharing my webserver with a few people (it's my server) and I am trying to create some sort of an admin panel for them. It has to be able to change Apache VirtualHosts and reload Apache. Now I can make the config-changing PHP code, but there are … | |
This is my first PHP script, to add a user to my website but i keep getting these errors Cannot send session cache limiter - headers already sent Cannot modify header information - headers already sent mysql_num_rows expects parameter 1 to be resource boolean given I have a basic understanding … | |
Hi All, Help me please. I want insert to people_go table using checkbox. data.sql CREATE TABLE `people` ( `id` int(11) NOT NULL auto_increment, `p_id` varchar(20) NOT NULL, `name` varchar(50) NOT NULL, PRIMARY KEY (`p_id`), KEY `id` (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ; INSERT INTO `people` VALUES (1, 'P001', 'Ana'); INSERT … | |
PM bmx322 Hi All, I am integrating JFormer with CI. I am able to get the form to build but the validation doesn’t work and there are no POST vars nor any values in the jformer formValues on submission. I load the JS files in a header template and have … | |
Hello. Please guide me about how to get the options of select tab from mYSQL table. Where to insert php code and how to? Have a look on the code. <td><select name="tby" size="1"> </select></td> <td colspan="2"> </td> </tr> <tr> <td colspan="4"><label>Issue/ Tests : <textarea name="issue" wrap="physical"></textarea> </label></td> Regards. Aamir Karim. | |
Case switching is a neat way to make your site a bit more dynamic. it gives you the ability to show blocks of information "on the fly". By attaching the variable name "Content" to our link, we pass that condition in the query string. Note that on the last link, … |
The End.