39,388 Topics

Member Avatar for
Member Avatar for com00085

Dear all , i have one question how can i submit a form with multiple form in my page and i don't want to refresh page because if refresh page other form will lose data need to input again

Member Avatar for com00085
0
158
Member Avatar for jj.dcruz

i have a database at the links. so the problem it still insert between the time some friends suggested to loop all the data 1st then validate but im confused here. **any help would be great ** <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title></title> </head> <body> <?php mysql_connect("localhost","root",""); …

Member Avatar for jj.dcruz
0
210
Member Avatar for edbr

struggling with this update in PDO, i have hacked away at it in frustration, but i cannot see my error

Member Avatar for edbr
0
218
Member Avatar for sundeep.gurroby

Table 'user' fields: UserID* (Primary Key) Address FirstName LastName Email UserName Password UserLevel RegDate Table 'transaction' fields: transactionID* (Primary Key) MonthID UserID (Foreign Key) UserName transactionDate transactionType transactionAmount OpeningBalance Balance Desired output table (for the logged user): transactionDate transactionType transactionAmount OpeningBalance Balance Advance recordset details is like this : <?php …

Member Avatar for sundeep.gurroby
0
327
Member Avatar for juspho.kaur
Member Avatar for grakovski

Here is online demo - http://cs-bg.info/news/archive/ I want to show my news like that. (like archive for each year) I want to work with epoch time. Thanks for any help.

Member Avatar for diafol
0
304
Member Avatar for sushilsth
Member Avatar for diafol

It seems the article [Update on PHP.net site malware hack attack](http://www.daniweb.com/web-development/php/news/466087/update-on-php.net-site-malware-hack-attack) has been at the top of the PHP forum for 3 months. OK, there have been a few comments, but it's getting a bit old. Is there any reason why this is a sticky? BTW - good article by …

Member Avatar for richkardmunga.hounarable
0
593
Member Avatar for reshma.patil
Member Avatar for sushilsth

<?php $query=mysql_query("SELECT model_no,images1 FROM nokia"); echo"<div>"; while ($img = mysql_fetch_array($query)) { echo $img[0]; echo "<img src = cms/pages/images/".$img[1].">"; } echo"</div>"; ?> what is actually wrong in my code.. its not displaying images($img[1]) but it displays the content 'model_no' ie. $img[0]. plz any sugesstion would be greatly helpful...

Member Avatar for kgavhane12
0
370
Member Avatar for shaqib

Hello, i have the following column in mysql table. number | name 123 | ABC XYZ 456 | DEF QRS hre is my mysql query: $query = "SELECT name, extension FROM users ORDER BY name ASC"; $resultID = mysql_query($query, $linkID) or die("Data not found."); $xml_output = "<?xml version=\"1.0\"?>\n"; $xml_output .= …

Member Avatar for shaqib
0
177
Member Avatar for david.roun.7_1

So, I checked the first 5 pages and couldn't find anything like what I'm asking. When a user registers on my site, it automatically creates a new directory and uploads a picture of their choice, to the directory. When the user logs in, the webpage shows their photo, taken from …

Member Avatar for david.roun.7_1
0
250
Member Avatar for chaitu11

When i reload my registration page, duplicate data gets entered in to database ...should i clear cookies..any solution

Member Avatar for JorgeM
0
105
Member Avatar for adsegzy

Hello, I uploaded some pictures on my website and i want to watermark them on preview. the watermark file is <?php // Load the stamp and the photo to apply the watermark to $stamp = imagecreatefrompng('images/watermark.png'); $im = imagecreatefromjpeg('imgs/products/picture.jpg'); //needs to be dynamic instead of static // Set the margins …

Member Avatar for iamthwee
0
222
Member Avatar for persianprez

Hello all, I get the following error when hitting submit in my form to post to the spreadsheet: > Fatal error: Uncaught exception 'DOMException' with message 'Namespace Error' in /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php:220 Stack trace: #0 /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php(220): DOMDocument->createElementNS('http://schemas....', 'gsx:') #1 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets/Extension/Custom.php(64): Zend_Gdata_App_Base->getDOM(Object(DOMDocument), 1, NULL) #2 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets/ListEntry.php(77): Zend_Gdata_Spreadsheets_Extension_Custom->getDOM(Object(DOMDocument)) #3 /home/pedrum/public_html/Buzz25/Zend/Gdata/App/Base.php(329): Zend_Gdata_Spreadsheets_ListEntry->getDOM() #4 /home/pedrum/public_html/Buzz25/Zend/Gdata/Spreadsheets.php(336): Zend_Gdata_App_Base->saveXML() …

Member Avatar for Окна
0
225
Member Avatar for ysfzby

Hi Friends; I have experience in PHP programming language started to be proficient with the more recent and would like o make a site like this http://www.yorungetur.com In my experience, the best way to learn it in order to win, and how can I do?

Member Avatar for Alberto Bucur
0
497
Member Avatar for davidjennings

Hi All, I am tring to capture the data being passed from an ASP page. `<td height="30"><a href="http://admin.boilerrentalservices.co.uk/availability.php?<%= rowProduct("GRPCODE") %>"><%= rowProduct("GRPCODE") %></a></td>` using VAR_DUMP($_GET) in the PHP page which produces this `array(1) { ["AHU-100-200"]=> string(0) "" }` How can I extract this 'AHU-100-200' data in a usable form and use …

Member Avatar for davidjennings
0
162
Member Avatar for marriott81

Hey all, Kinda new to php but have managed to create a website with a login script (cheated and used usercake) but have modified it to my own needs mostly. However I now need to make it so that when the user registers it sends it to me not to …

Member Avatar for marriott81
0
612
Member Avatar for Jemuel

please help i am trying to extract data from database into multiple columns but i can't get it. All your helps is very needed. Thank you! this will be the output (actual value of my serial table) 1233BED13DS01132 1233BED13DS00878 1233BED13DS00012 1233BED13DS00097 1233BED13DS01315 1233BED13DS00461 1233BED13DS00835 1233BED13DS00010 1233BED13DS01313

Member Avatar for diafol
0
224
Member Avatar for iamthwee

Hi friends, I'm wondering what is the best way to go about validating my forms with both php and ajax. For example, I want to use the form_validation library but also jquery such that the page doesn't require a refresh or redirect. How best to do this what is best …

Member Avatar for iamthwee
0
4K
Member Avatar for Priti_P

Hello, In Drupal, I have created google calendar $client in one node. (On the same page I have done its connection obviously) when I do node_load(node_number) on another node, then it gives me $_Session['token'] but do not give me $cal object. Why so? and I want to use this $cal …

0
148
Member Avatar for mohan@nano

i want validate the textbox value . i alresdy ve another text box value which is get from the database. i want to compare these 2 values and the databsae value is the grater value next textbox should be = or below to the database value pls help me

0
96
Member Avatar for neha05

Hello All,Ineed a help in uploading image in which i want that the image which is of 150 dpi(dots per inch ) ,is only upload and smaller den that show messge .My issuue is that how i apply tht :( please give me some direction in tht

Member Avatar for neha05
0
1K
Member Avatar for njagi

I need to know how one can generate an excel report from html output for example below <? header("Content-Type: application/vnd.ms-excel"); echo "<table border=1> <tr> <td>Cell 1</td> <td>Cell 2</td> </tr> </table>"; ?>

Member Avatar for swss
0
3K
Member Avatar for engrjd91

I am trying to make a login page. I've a database in which i have created a table named users, there are 2 fields which are need to be checked for login which are "username" & "password".. Whenever user logs into the page & if the name is present in …

Member Avatar for engrjd91
0
3K
Member Avatar for SHAHAB UDDIN

I need a travel agency project that show delete ,insert , update the customer information & log in the customer & admin.Please help me.

Member Avatar for ahqaf
0
106
Member Avatar for andi-dev

hello i have create some webpages they work and are nice but when i click in contat form which contain php code inside it display all code which are inside.

Member Avatar for andi-dev
0
441
Member Avatar for kumar89hitesh

how to make a web page compatible on all browser in php? I made a web page but it not compatible on internet explorer and mozilla. i m using google chrome? please give me suitable example with code.

Member Avatar for diafol
0
72
Member Avatar for dinhunzvi

i have PHP code that creates a text file. after the file has been created i want it to be opened in another tab. how do i modify the code below. <?php session_start(); require_once 'includes/config.php'; require_once 'includes/functions.php'; set_time_limit(0); // override the maximum execution time in php.ini file if ( isset( …

Member Avatar for diafol
0
698
Member Avatar for ganesh641

i installed PHP version5.4.3 SQL server 2008 IIS7 SQLSRV version3.0 Drupal 7 SQLSTATE[42S02]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name 'watchdog'. This error occurs right after the following during Drupal 7.26 installation (shown in the error report). It hangs at the start of Install Profile: Installation tasksChoose profile(done)Choose language(done)Verify …

Member Avatar for Doug_Vann
0
448

The End.