39,320 Topics

Member Avatar for
Member Avatar for jacob21

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.

Member Avatar for broj1
0
4K
Member Avatar for Shamrocks

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.

0
52
Member Avatar for paresh_thummar

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 : …

0
87
Member Avatar for asif49

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 …

Member Avatar for cwarn23
0
79
Member Avatar for mspn

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 …

Member Avatar for mspn
0
1K
Member Avatar for manaila
Member Avatar for pritaeas
0
66
Member Avatar for bowmaster

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 …

Member Avatar for bowmaster
0
251
Member Avatar for geneh23

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 …

Member Avatar for nalini@121
0
228
Member Avatar for calebcook

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, …

Member Avatar for calebcook
0
134
Member Avatar for pc4fay

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

Member Avatar for Ezzaral
0
120
Member Avatar for ptara1

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 …

Member Avatar for sjsnider
0
1K
Member Avatar for zippee

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 …

Member Avatar for jpdeleon
0
626
Member Avatar for asif49

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 …

Member Avatar for asif49
0
108
Member Avatar for charles110

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> …

Member Avatar for AleMonteiro
0
127
Member Avatar for klemme

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 …

0
77
Member Avatar for intelgy

[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 …

Member Avatar for the_traveller
0
287
Member Avatar for davy_yg

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'] : ''; …

Member Avatar for davy_yg
0
126
Member Avatar for mansimran88

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]

Member Avatar for jogesh_p
0
127
Member Avatar for mwenyenia07

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?

Member Avatar for cereal
0
1K
Member Avatar for prathameshz

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) …

0
54
Member Avatar for atp_mqk

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 …

Member Avatar for jogesh_p
0
86
Member Avatar for Joshua Kidd

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 …

Member Avatar for Joshua Kidd
0
82
Member Avatar for craign924

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. …

Member Avatar for Stefano Mtangoo
0
89
Member Avatar for Pragati.rch

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") + …

Member Avatar for smantscheff
0
313
Member Avatar for jakeray

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 …

Member Avatar for kevindougans
0
142
Member Avatar for Draucia

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" /> …

Member Avatar for Stefano Mtangoo
0
111
Member Avatar for davy_yg

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'] = ''; …

Member Avatar for kevindougans
0
123
Member Avatar for bangla

Hi, below code gives me error in line 8. 1. i had paymentform.php where i entered data. 2. below is paymentinsert.php where i am getting error in line 8. Fatal error: Function name must be a string in /home/content/59/8390659/html/COUPONDISCOUNTS/php/MySQL/paymentinsert.php on line 8 [CODE]<? $username="aaa"; $password="bbb"; $database="aaa"; $amount=$_POST['amount']; $description=$_POST['description']; $sender=$_POST['sender']; $mysql_connect("host",$aaa,$bbb); …

Member Avatar for bangla
0
165
Member Avatar for jakeray

I have been searching for an answer to this for the last two days. I am trying to add a list of manufacturers to an existing form in php. This worked out ok and I got it to work somewhat. Here is the problem when the user makes the selection …

Member Avatar for joehms22
0
264
Member Avatar for Buppy

Hi, So, let's say i have a string "--_some_String_123". What is the correct regular expression pattern to remove those "-" and "_" from the beginning of the string? They only need to be removed from the beginning, so after removal the string looks like this - "some_String_123". There can be …

Member Avatar for cwarn23
0
114

The End.