39,320 Topics
| |
Hi i m trying to save a file pdf to a location : xampp\htdocs\cake\app\webroot\files or any where in my pc i have this code... public function upolad() { $filename = ''; if ($this->request->is('post')) { // checks for the post values $uploadData = $this->data['Pod']['pod']; if ( $uploadData['size'] == 0 || $uploadData['error'] … | |
I have the below code that grabs all the data I need, but as there are duplicate names in each row, I only want to display this once as a heading, and then display the array. <?php echo "<h1>Results Summary</h1>"; //TABLE RESULTS $psba = $_POST['psba']; $con = mysql_connect("localhost","root",""); mysql_select_db('project', $con) … | |
My teacher needs to be able to view my databases in PHPMyAdmin however I am running on local host. How could I make it so he can connect to my localhost on another computer? | |
Hello every one i am seeking a user of joomla to help me a little. During joomla webinstaller database mssql is not connected it gives number error, now what to do??? Why mssql is not connected m using xammp server... | |
Hi all, Im currently working on a php script that adds information to a database I created. I know the php script works because when i run localhost/signup.php?Name=test&User_ID=1 it works, however I cannot run the script from another computer. I have tried **x.x.x.x:3306/signup.php?...** and **x.x.x.x:8080/signup.php?...** however none of this seems … | |
Hello! The main idea is that i want to set the variable for screen resolution of the user and pass it to php to manipulate her. How can i achieve that? | |
Hi All, I have a script that works fine for transferring files from one server to another when I use HTTP protocol. (When I use a test site that is.) Here is the script, working on test site with HTTP: // Navn på faktura der skal hentes $pdf_faktura_navn = 'Microsoft_sporgeskema.pdf'; … | |
Hello, I have a csv file of about 200 rows and i have to create a xml file for each of them. The template will be the same for all expect two line which will be changed and will be replace the the data in the rows. Any idea how … | |
i created a simple project usin firefox...bu when i browse it in it the template was destroyed..y is that? what shall i do? | |
Hello everyone! I am new to php language. I want to know if we install xammp server on our pc . Is there any need to install php 5.5.1 or any other version through php.net and mysql for data base or simply start work on the editor in simple php … | |
Chanced upon a [youtube tutorial](http://www.youtube.com/watch?v=NJZBl5KXdXc) and decided to try out. When user hovers over to the image, he should be able to click on "Toggle avatar image" choose an image that he wants to change to. However, the "browse" and "upload" buttons are not appearing when I clicked on "Toggle … | |
Most annoyingly I cant get this to work, I made a sample table where there will be duplicate entries in some of the fields, and I need to display then all. table looks a bit like this id county city phonenumber the id is unique as is the phonenumber, but … | |
i want to learn Best Frame work for Web Development , plz tell me which framework is best for all kinds of secure 100% & modern web development . a some toturial site if you have , than plz share Thanks | |
Which framework is the best to develop a mobile application using database connection? | |
A PHP Error was encountered Severity: Notice Message: Undefined index: id Filename: controllers/event.php Line Number: 215 function addParticipant() { $data['event_id'] = $this->input->get('id', TRUE); $event_detail = $this->EventModel->getEventDetail($this->input->get('id', TRUE)); $data['event_title'] = $event_detail[1]; $this->loadpage($data, 'people', 'Add participants | BCIPN'); } | |
I have posted code for my index() action from TestsController. To tell you what it does is that I login my username and password on that action. Since if you're only going to input the username and password, they are the only data that can go through $this->request->data. Now I … | |
Hi, I just downloaded TinyMCE WYSIWYG, and I am doing an insert query into MySQL using PHP. Everytime I submit the form it returns false. and if I toke out the textarea everything goes ok. I am pretty sure it's TinyMCE. Have any of you came across this problem, am … | |
Hello I am trying to create a simple gallery CMS. All the pictures will be saved in uploads/ folder in the root of Codeigniter. Looks like my errors have to do with php programming. I am trying to print the pictures gallery to the screen: controllers/upload.php <?php class Upload extends … | |
Is it possible to use Kohana ORM with MySQL AND Oracle DB? More wider questions is is it possible to use two different databases (RDBMS) with Kohana? | |
How can i make a single login form for purchaser , seller , distributer , franchiser . All have diffrent right , franchise can se all activities of distributers , seller & purchaser bt a distributer cant se franchiser data . Distributor can see only seller & purchaser . And … | |
Hi, Someone suggest me to use Netbeans to debug code in php. I have installed php, yet do not know how to detect errors that I have using Netbeans. Does anyone know how to use it ? I try debug -> debug file -> Run arguments (empty) -> (x) php … | |
I have the following function: function rank() { $sql = "SELECT * FROM applicant_details"; $results = $this->db->query($sql)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $applicant) { $applicant_age = $applicant->age; $applicant_id_number = $applicant->id_number; foreach ($job_advert as $advert) { $job_title = $advert->job_title; $age = $advert->age; if ($applicant_age … | |
Hi all, I have to find out to write a function that can serve PDF documents (invoices) in the browser window. My challenge is that the PDF fiels is on another server, which I do have access to. Can I somehow just create a link on the site, and then … | |
Good Day everyone im having trouble in script right now basically im trying to make an if statement that will assign rate base on the destination, branch ,service and vehicle. which is working fine just a moment ago but when i add another array for another destination it seems that … | |
If got a problem in a mysql select string. I get some data from a mysql table and want use some data to pull data from another table. When I use static (i typed it in) it works good but when i use the data that i got from the … | |
Here, i've built a script that gets the time a user accessed the login page and stores it in a session with the user's i.p address and when next the same user accesses the login page, if the time difference is less than 5 seconds, the script wil display a … | |
Can any Body Tell me how can i genrate E-pin for MLM web site which makes payment secure from customer to admin & how can i transfer these pin from customer to customer in secure way | |
When i m making contact from with database connection, 2-3 times it is executing properly but ,after that when i execute it again ,thn it is opening only multiple tabs in firefox .wht should i do nw plz help my web server is wamp | |
Hi, Installing a new script.... Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 5 Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/13/11394913/html/config.php on line 4 … | |
Hi, I have been trying to integrate gravatar to my login system but it doesn't seem to work. Here is the code: <?php include("include/session.php"); $connectmysql = mysql_connect("localhost", "********_login", "*******"); mysql_select_db("********_login", $connectmysql); ?> <html> <?php $email = mysql_query("SELECT email FROM blog_users WHERE user = '$session->username', $connectmysql"); $default = "mm"; //This returns … |
The End.