39,320 Topics
| |
Hey guys, I've got a problem with a form that I've made. Basically the form loads a number of textboxes based on how many columns are in a table. I don't have any problems doingthat, but on the next page I'm trying to put the textbox values into a string … | |
I am working on a live feed that pulls records from a database. Firebug shows the JSON being returned as the following: {"newPosts":"<li><span id='message_33'>This is a Test.\nLet me know if it works.<\/span><p class='time' id='time_33'>Apr 14th, 2012 10:13:57 AM<\/p><\/li>","newID":"33"} I have checked the JSON's validity at JSONLint.com, and it IS in … | |
I am having problems getting getJSON call to work. At the moment it doesn't retrieve any data, however when I change the '$.getJSON' to ' $.get' it retrieves the data in it's encoded format: [{"Page":"User Journey","Description":"Interactive User Journey Diagram","Bounce_Rate":"0","Avg_Time_On_Page":"0","Page_Views":"0","Click_Rate":"0"} What am I missing from the $.getJSON call? getstatistics.php: $query="SELECT Page, … | |
Hi there, I'm bit rusty in PHP, I'm curently doing an PHP assignment where a user can select and save listed images/data/values into their own collection I have inputted all the data and printed out in a repeat region with recordset paging. I'm confused how am i suppose to save … | |
Hi, I'm trying to figure out how to create a random integer, that I can ALSO control by using links, which I'm setting as buttons. In short, I've been programming an MP3 Player. Currently, I have "$playing" set as a random integer, but I want links to increase by 1, … | |
i have live site developed in symfony framework,doing some modification,i created new module planbook, the above error was comming. class planbookActions extends sfActions { public function executeIndex(sfWebRequest $request) { $personalId = $request->getParameter('personal_id', $this->getUser()->getAttribute('detail')->getId()); $this->personal = Doctrine::getTable('Personal')->find($personalId); //if user or his friend viewing planbook showe them all if ($this->getUser()->getAttribute('detail')->getId() == $personalId … | |
What I have right now is the category name is put up in the url like so subcategory.php?id=Drivers that way i can use that get variable to query the database and list all the entried from that database on the page. What I need to do though is limit how … | |
i have a form and checkloginstudents.php,,but my problem,i can't display the details of a user after login,, this is my form: <form id="form1" name="form1" method="post" action="check_login_students.php"> <label>Name <input name="username" type="text" id="textfield" /> </label> <label>Password <input type="password" name="password" id="textfield2" style="margin-top:5px;" /> </label> <label> <input type="submit" name="button" id="button" value="Submit" /> </label> </form> … | |
I need beta testers for my new project management system. It is not your typical pm, but it is a simple and lightweight system with social skills. It you are willing to download and test it out thoroughly, please visit: http://projectpress.org/messages Any help with any aspect of testing is greatly … | |
CodeIgniter's highlight_phrase() function, in the Text Helper library, looks like this: /** * Phrase Highlighter * * Highlights a phrase within a text string * * @access public * @param string the text string * @param string the phrase you'd like to highlight * @param string the openging tag to … | |
In our webiste, After user signup, we send an email with acitivation link to their email address. We are using PHP mail() to send a simple email. Until this point, we have checked with yahoomail, gmail, hotmail.. it works fine. But yesterday, we were checking with the microsoft outlook. No … | |
I had my wordpress site up and running just fine but when I visited it recently I got the following error: > *Your PHP installation appears to be missing the MySQL extension which is required by WordPress.* I contacted the person who set up my database and was told > … | |
Hi, I'm receiving an error message but cannot solve the problem. Please give us a hand. Line 49 is -> `$record_set = $this->db_conn->query($sql);` Thanks in advance `Fatal error: Call to a member function query() on a non-object in C:\wamp\www\oop_singleton_pattern\class.db.php on line 49` <?php class DatabaseClass { CONST HOST = 'localhost'; … | |
am total newbie to programming, apart from knowing SQL, the thing is i have been given a MYSQL database containing various information about kids diseases and a web interface written in php to create reports from the database that can be accessed via the interface. there are almost 25 different … | |
Hi, wondering can I get some help here please as this is incredibly frustrating. I have a database that contains files and I want to be able to search those files by putting in a ID number. In my databse my doc_id is the primary key, and I want the … | |
hi i have the following complication. i have created a form which contains a drop-down list and a submit-button, which streams the file selected in the list. recently, i have been asked to add a download option, and the logical step would be to add a 'download'-submit button as well, … | |
Hi Everyone, I am looking to protect a webpage in my website. What I would like to do is check if the webpage has been accessed from a pre determined url. For example: Mywebsite.com/webpage.php should only be accessed from predetermined.com/url?id=var I have been doing some digging around and found the … | |
Hi All, I'm having a problem with a query - which is based on conditional user inputs. In all circumstances, the outputted query ALWAYS works in phpmyadmin returning rows where applicable, but not always in php. No errors are displayed, with error reporting set at E_ALL, and mysql_error hasn't been … | |
Hi All, In my server ther are so many session files are under /tmp files. I want to delete all the session files which is no more active in automated way. I came to know that i need to change some garbage collection configuraions in php.ini file . These are … | |
Hey guys, So, I have a connections php file which contains info such as the host, username, password and database to be accessed. I'm wondering if there is anyway to make the database value to be changed later on in the website. When first logging into the website they choose … | |
I've updated an application that I am working on to use PHPass instead of md5. I am using sessions, so when a user logs in, at some point they get reset to another user. I am not sure what is causing this issue, so some help is greatly appreciated. Below … | |
| |
Hello everyone. I'm having a problem with my cookie. What I'm trying to do is this: When user logs in and checks the "remember me" checkpoint, i want to save his username to $_COOKIE['user']. [] For that I am checking whether the $rem variable is set. If this is not … | |
how secured would be password when it is being transmitted from the client to the server since it is encrypted at only the server side with md5 algorithms. Is it not possible for a hacker to easily get the text before its get to the server for its encryption ? | |
Hi, i'm just trying to make a simple 'contact us' form which emails me with the contents of each form field, here's what i have: HTML -------- <form action="contact.php" method="post" name="contact"> *Full Name<br /> <input name="name" type="text" /><br /><br /> *Email:<br /> <input name="email" type="email" /><br /><br /> *Message:<br /> … | |
Hello, I am getting response as xml from curl request. so i am sending these into an array. but after execution of code i am getting this warning 1)Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:\wamp\www\newlivebackup\admin\subscribers.php on line 65 2)Warning: simplexml_load_string() … | |
everything is workin except window.location .can any one suggest reason for it. thank you in anticipation <?php session_start(); $_SESSION["visiting"]=$_GET['userid']; echo $_SESSION["visiting"]." ".$_GET['userid']; ?> <script type="text/javscript"> window.location="http://localhost/fi.php"; </script> | |
Hello ppl... How to insert a list of lines to sql through php and create a id for each line example....i have flames flintones flames1 .... .... so on after submitting these lines i need a short id for these lines like (short id can be anything) 1232 1546 1578 … | |
Hi, When a user registers on my site there status is 0 (not active) ... meaning they not activated there account via email. When they register i also store the DATETIME they registered, i store it in MySQL using MySQL DATETIME and using `NOW()` in my INSERT query on registration. … | |
I had a file named start.php in my D:\Wamp folder.I need to upload the file and enter the full path ie D:\Wamp\start.php into my database.I did the code.But I am not getting the full file path in my database the Code is as follows: <tr> <td width="71">Select a file <span … |
The End.