39,323 Topics
| |
Help, I have a big probem. I wanto to read data from an mysql table and then write this data into a form so that the user can update this data. The code could seem somethin like this, but it doesn't work [code] <?php include 'complete.php'; $user_name = "exa"; $password … | |
i have three texts namely [B]price[/B],[B]quantity[/B] and [B]total[/B]. i want the value of [B]total[/B] to change with change in [B]quantity[/B] i.e [B]total[/B]=[B]price[/B]*[B]quantity[/B]. each time the value of quanity change, the function multiplies it with price and displays the quanity. can somebody send me a javascript code that can do so … | |
Based on my understanding, wp_enqueue_script is the function to bind the script to the head section while wp_enqueue_style is to bind CSS to it. My question is: is there any way to bind a php to head without using include? | |
I have a HTML/PHP form in which i am inserting vales in database.its working fine. What i am trying once user fill out the form,there should be a option of [B]save as pdf[/B] & [B]Print[/B] How to convert html form in to pdf. Need suggestions. | |
Any one here know what a RAD is? It is a concept, Rapid Application Development. There are a few of those tools in the market, do you guys use anyone? Explain us your experience. | |
Hello friends, I am learning google API I want to retrieve google contacts using Authsub. And second thing is that i want to use secure token. I have X.509 certificate with private key. In first step I got token but in second step (To get AuthSubSessionToken) I got error : … | |
When I get relevant results from mysql and display them using php I want to give a link like "see full content" where the person can click to visit that url. Is there an easy way to get the relevant url for the stuff which is gotten from the database … | |
Hi all, very new to PHP (ie. only 2 days old!) so please be gentle! I have a form with text fields and a file upload, and the php script I have is working wonders in regards to uploading the file and emailing the form data along with a link … | |
I have a project made with jsp on a apache tomcat server. I also have intalled wamp server package for the purpose of using a data base made with phpmyadmin. I was wondering if i could also use php pages im my project. I learned that a posible way would … | |
Hey everyone! I am fairly new to the php world but I am a quick learner when shown the right thing. I have a membership area sort of set up on my localhost in Easy PHP, and there is this Fatal Error that reads: "Fatal error: Cannot redeclare makeRandomPassword() (previously … | |
Hi. I'm trying to create a function which connects to a database, and then displays rows in it. I'm trying to use a function to connect, but it's not working. Here's my first code: [CODE]<?php define("SERVER", "mysql.example.com"); define("USERNAME", "username"); define("PASSWORD", "********"); define("DATABASE", "db"); function displayFunction() { $dbc = @mysqli_connect(SERVER, USERNAME, … | |
Can anyone give me a nice css code for my login and registration page , I already have my php code...I only need a nice css....thanks | |
So I'm trying to transfer a longblob from one data table to another. All the other data is transferring however the longblob isn't. I know it is getting up loaded to the temp table because the longblob column show s there is data in it. here is the snippet of … | |
Hi, is there any php function can read text between tags or quotes. For example, I have <h1>This is heading 1</h1> and "This is text in Quote", how can I use php to read the text between <h1></h1> tags or the text between quotes? I know I can use substr … | |
I want to write how long it takes to parse one of the pages for my website. I've got the setting up of the time variable at the top of my script then have a lot of stuff which is done in-between. I then display time elapsed at the bottom … | |
Trying for a few days to do this and do not know why it does not work. I want to run a php file using js. And using the event button onclick. Thanks for help file.php [code] <?php echo"<script>alert(\"good\");</script>"; ?> [/code] file.html [CODE] <!DOCTYPE html> <html> <head> <script src="http://code.jquery.com/jquery-latest.js"></script> <script> … | |
Hi all, This is a ? about Ajax, PHP and form processing. When I submit the form further below, nothing happens! I didnt set the form-"action" to anything. I left it out, to make the form submit to the same page, so I can validate on the same page too … | |
[B]Hello everyone, I'm new to PHP and creating an advertising website for massage therapists. On the profile page I'm creating a button so anyone can click on to send the advertiser an email. I created a page called profile_sendemail.php which contains the form to send the email and here is … | |
The following form if I press simpan (translate: save) suppose to save and insert all the data capture. but it does not. When I press save, it makes the form blank and none of the data being capture why is it? product_edit.php [CODE] $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; … | |
| The message is not showing. Please help me. Thanks [CODE]<?php /* logout.php */ require('obj.php'); session_destroy(); $_SESSION['msg']='You have successfully logged out. Thank you for the visit.'; header('Location: '.$kPathUrl->adminUrl.'/login.php'); exit; ?>[/CODE] |
hi i want to include images to pfd files that i create using cezpdf library. the following is my code: [CODE]$image=$this->cezpdf->ezImage(site_url("system/images/logo.jpg")); $this->cezpdf->ezImage( $image,0,0,320 );[/CODE] but it fails to load the image.can sobebody help me on this? | |
hi All, we have to integrate litmus api in our email marketing product. we got the Litmus api php classes but can not get clear idea about how to integrate. we have to do spam test for our email campaigns. what the paramaters of email(either email source or .eml file) … | |
Hi friends how are you? I am a professional website designer, I recently have joined web development area. Its very interesting and amazing field. I am making a blog website and needing some php scripts, Please! can any body help me? Also like in website designing there are lots of … | |
Hello, Lets say I have a users Database. When the user registers, it assigns a random id to the user using the mt_rand(); function. What if there is a slight chance that there would be already the id of that user in the db. How can I prevent this from … | |
hello forum, i work with oscommerce and i have to upgrade from 2.2 to 2.3. since all my tables --products, categories etc. are in 2.2 i thought i would just install 2.3 and then import the 2.2 db and viola!! but it did not, and does not work like that. … | |
trigger i am wrting on mysql table i have a tool in which i am calcultaing marks 140 atomic questions and now i want add 4 questions marks and assign to one major questions. how should i approach it. begin ("$value.governance and accountability") = ("$value.existence of a governing board") + … | |
This is basically what i need. I need users to select a manufacturer to post on a classified ad. When the users make the selection I need that information processed and sent to the page I point it to permanently for other users to see. The same for any user … | |
I just started getting into php recently and I wanted to create a simple login with(out any SQL (haven't learned it yet :$). So Here is my code for login page: [code=php] <form action="index.php" method="post"> Username<input type="text" name="user" /> <br /> Password<input type="password" name="pass" /> <br /> <input type="submit" /> … | |
Hey, out of the following codes: product_edit.php [CODE] <h2><center>Product Preview</center></h2> <p></p> <?php $data = array(); if(!empty($_GET['id'])) { $result = mysql_query("SELECT * FROM produk AS p, kategori AS k WHERE id_produk='".mysql_real_escape_string($_GET['id'])."'AND p.id_kategori = k.id_kategori") or die(mysql_error()); $data = mysql_fetch_array($result); } else { $data['nama_produk'] = ''; $data['nama_kategori'] = ''; $data['harga'] = ''; … |
The End.