39,393 Topics

Member Avatar for
Member Avatar for tweakernut

Okay, so I have this php code that I've been working on and I seem to be getting an error on the very last line of my code which is the "?>". I'll post the code and the error below: Error: "Parse error: parse error in C:\wamp\www\Services\VIN.php on line 64" …

Member Avatar for tweakernut
0
128
Member Avatar for danielkull

Hi, I am in a process of selecting a PHP framework which we will use for development of websites. we are almost ready to go with CodeIgniter an/or Zend. However, in our newest project we need a functionality which allows to upload text (with styles) from Word Document to database, …

Member Avatar for martin5211
0
126
Member Avatar for Bazzaah

Hi everyone, I'd be grateful for some help please. My problem is this - I am trying to find a way to pass the content of a db search from one page to another page, if that's clear. Each file opens with [code] session_start(); [/code] This is the database search: …

Member Avatar for Bazzaah
0
125
Member Avatar for Hypalink

I'm looking for a solution. I am developing a "user profile" php file which will render to the current user their profile information. The info rendered and seperated into different divs (styled with css) will be in the form of html/php. However, if no information exists in a specific field …

Member Avatar for Hypalink
0
126
Member Avatar for niths

[QUOTE]hi all, i am having a problem with logout. whenever i click on logout it wil logout but wen we click back it is going to the previous page page even after logout. so i want to avoid that. so can any one.. Thank u.. [/QUOTE] ------logout.php---------- [CODE] <?php ob_start(); …

Member Avatar for genevish
0
43
Member Avatar for rajeesh_rsn

Hai, I wrote the code of a user registration script , everything working fine with out the log out page.... I used the header function to goto the another page when visitor hits "Logout" button. And now the problem is when press the 'Back" button of the browser then we …

Member Avatar for vidhyabalu
0
80
Member Avatar for php-mysql-coder

hi to people who like starting with <?php and finishing with ?> I can always help your php and mysql works.when you need a help just add me to your msn and request a help [email snipped] friendship is first and the second must be helping each other. my name …

0
112
Member Avatar for kumarbhc85

hi, i try to write a word doc at runtime through bookmark and it work in local system. But "COM" was not working in Linux server.. pls give me some other code to do this operation. i search in google but i cant find the exact code.. Thanks Kumar.

Member Avatar for hphiri
0
528
Member Avatar for nonshatter

Hi all, I'm need to devise a server-side method of preventing multiple form submissions. The form is submitted to the same page. I have read about generating a unique value in a session and insert a hidden input field to detect multiple submits, but would this work with a same-page …

Member Avatar for JRM
0
125
Member Avatar for whiteyoh

Hi all, Im wanting to have an "upload picture" button, that on clicking will upload the picture into a directory, but then capture only the filename of the picture to be stored in the database. This is for creating a catalogue entry. Im fine with the form information and disabling …

Member Avatar for whiteyoh
0
81
Member Avatar for changeco

Does anyone know a way to check if the Google Calendar server is having problems (internal 500 error) and display a line of code saying "We are experiencing technical difficulties" instead of Googles lame debugging? I assume it would need to be some sort of ajax/php combination to check the …

Member Avatar for gotschai
0
60
Member Avatar for qariella

Hi, i have a big problem trying to make my table sort things.. Table information is cooming from mysql db.. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Min telefonbok</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1>Telefonbok</h1> <form id="form" method="post" action="phonebook.php"> <fieldset> <legend>Skapa ny kontakt</legend> <table> …

Member Avatar for qariella
0
174
Member Avatar for surya_nar

I have a database containing records which I want to edit. I populate a list box which gets populated with the records in the database and I select and click on one of the records for editing. I find that I am able to select the record from the listbox, …

Member Avatar for qazplm114477
0
4K
Member Avatar for vibhaJ

Hi all, i want to know that 'Is mysql support chinese language?' If yes then any changes require in configuration? My site is in english. Let if any user have inserted their information in Chinese and if anyone search using Chinese keyword, then it should match with mysql and if …

Member Avatar for colweb
0
69
Member Avatar for LindaJ

Hi, I have a question for all you brilliant daniweb joomla developers (mean the "brilliant" sincerely) ... and it's probably a simple one for you. I am using the latest joomla and a template a Siteground template (siteground-j15-116). Can I replace the Site Name that appears in the upper left …

Member Avatar for macneato
0
150
Member Avatar for albertkao

I want to call a C++ program from PHP with apache server on Fedora 12 linux. testprog is put in the same directory of the test php program. I see the output of exec('ls -lrt') but not exec("testprog"). Please help. The following are my php and cpp test programs. [CODE]<html> …

Member Avatar for mutirelover
0
2K
Member Avatar for niths

hi all, is there anything wrong in this. i need hav the value in the radio button to display in the next page. so please can anyone. thank u. ---------user.php-------- [CODE]<tr> <td><input name="radio" type="radio" value="projectassign"></td> <td><?php echo $row['projectassign']?></td> <tr> <td><input name="radio" type="radio" value="projectassign"></td> <td><?php echo $row['projectassign']?></td> [/CODE] ---------upload.php--------- [CODE]<?php echo …

Member Avatar for rajarajan2017
0
183
Member Avatar for MDanz

i have a div that is a pop-up, and it is in a loop. I want to add a form to the below code so i can send the data in the textarea to the next page. Because it is a pop-up, the style changes from display:none to display:block, but …

Member Avatar for rajarajan2017
0
89
Member Avatar for MDanz

i have a textarea with alot of words in it. Is there an alternative way to send the words in the textarea to another page without using a form and submit button?

Member Avatar for vibhaJ
0
947
Member Avatar for futhonguy

Hi I am trying to join 2 sentences together using php and mysql. How can i do so? I am doing this as i need to add an update of a new remarks to the existing remarks. For example, $first = '[B]Hello[/B]'; $second = '[B]world[/B]'; To get the string '[B]Hello …

Member Avatar for futhonguy
0
90
Member Avatar for gymangel812

I want the program to update or add to a database. If an item is selected from the dropdown menu (filled with the product names already in the DB), they I need to update the fields with the information typed by the user or update the picture that is uploaded. …

Member Avatar for sallecpt
0
95
Member Avatar for Helleshtern

I'm trying to could backup one of tables from database using php only. I'd like to save result in some directory at my server or (the best) send it via e-mail. My problem is that: - [B]exec()[/B] is disabled - [B]system()[/B] is disabled I'm tried to use "[B]SELECT * INTO …

Member Avatar for sallecpt
0
124
Member Avatar for gauravchauhan

Only Single image is display .guide how i display multiple image in our page in php i am sending coding . there are two file1.php and file2.php .guide me file1.php [code] <?php header("content-type:image/jpeg"); $con=mysql_connect('localhost','root',''); if(!$con) { die("colud not open"); } $d=mysql_select_db("test1"); if(!$d) { die("colud not open"); } $q1=mysql_query("select * from …

Member Avatar for sallecpt
0
171
Member Avatar for sallecpt

Could someone help me with this - I've cracked my head since. When i submit a form and then retrieve the data, there is no paragraphs. Yes I am aware of HTML encoders like TINYMCE but I'd like to submit in plain text. I tried htmlentities and htmlspecialchars but nothing …

Member Avatar for sallecpt
0
186
Member Avatar for AliHurworth

Hi, I am running the scripts below which should return a string containing a URL. So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as [I]?Location=[/I]. It won't work at all in IE. Can any one help? This is the form: [CODE] <!DOCTYPE …

Member Avatar for BlueIceStudios
0
200
Member Avatar for vishalkhialani

Hi, I want to write a script which will search the net based on a few parameters. They are: 1) Find sites which high pr. 2) Sites should have the feature to allow users to register. I know very basic php and I was wondering how I should go about …

Member Avatar for vishalkhialani
0
198
Member Avatar for boet

Hi everyone, This is the error I get for this project. Been through the code all day and no problems found, still I get this error: DB access error(You have an error in your SQL syntax;check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for JRM
0
105
Member Avatar for nsutton

This doesn't really have anything to do with Php but I'm following a php tutorial so...I've NEVER used any database system before... Anyway, I'm following this tutorial, [url]http://buildingbrowsergames.com/2008/04/15/designing-your-database/[/url] I'm up to the part where your making the user sql table in the tutorial. I have no idea where to input …

Member Avatar for JRM
0
206
Member Avatar for ashking

Hi, Im not much of a php coder, mainly use VB. But i had a problem with one of my apps. To make it more secure i would need each php parameter to go through one site. Here is an example of what i mean: - Application loads - sends …

Member Avatar for colweb
0
63
Member Avatar for danielkull

Hi, I want my cookie was changing like that: 1,2,3,4,1,2,3,4,1,.... after each time I refresh the page. but it is changing somehow randomly. [CODE=php]if (!isset($_COOKIE["bbb"]) && empty($_COOKIE["bbb"])) setcookie("bbb", "1", time()+3600); else { switch ($_COOKIE['bbb']) { case 1: setcookie("bbb", "2", time()+3600); break; case 2: setcookie("bbb", "3", time()+3600); break; case 3: setcookie("bbb", …

Member Avatar for danielkull
0
104

The End.