39,316 Topics

Member Avatar for
Member Avatar for dhani09

I'm implementing something similar to a shopping cart - a "my favorites" page for products. Users can click on an "add to favorites" link and add products to a favorites table from which they can view the details of those products at a later time. There's no purchase on the …

Member Avatar for diafol
0
219
Member Avatar for mokshi

Hi I am generating 6 tables in pdf using fpdf in php but i am getting each table in a seperate page even if table contains only one row can you help me in this issue function function BuildTable5($header5,$data5) { $this->SetFillColor(255,255,255); $this->SetTextColor(0); $this->SetDrawColor(0); $this->SetLineWidth(.3); $this->SetFont('','B'); //Header $w=array(30,50,20,20); $this->SetFont('Arial','B',7); for($i=0;$i<count($header5);$i++) $this->Cell($w[$i],7,$header5[$i],1,0,'C',true); …

Member Avatar for DJBirdi
0
188
Member Avatar for mexabet

I'm coding a registration form that includes a file upload field. Basically, there are two queries that need to be simultaneously inserted into a database. But unfortunately, I don't know how to do it. So, I need your help. if ($my_upload->upload()) { // new name is an additional filename information, …

Member Avatar for mexabet
0
243
Member Avatar for jaspertan

Hi Sirs, can anyone have an idea reagarding lightopenid log-in on Laravel 4. i want to make a website using google account on log in. Thanks in advance.

Member Avatar for cereal
0
426
Member Avatar for rjusman90

$newq=mysql_query("SELECT * from userrights WHERE UserId=$Id"); $array=array(); $r1=mysql_fetch_array($newq); $menuid=$r1['MenuId']; <select name="page[]" multiple="multiple" size="5" > <option disabled="disabled" value="">Choose one</option> <?php $query1=mysql_query("SELECT * FROM adminmenu"); while($row1=mysql_fetch_array($query1)){ $selected = ($menuid == $row1['MenuId'] ? 'selected="selected"' : ''); echo"<option value='$row1[MenuId]' $selected >".$row1['MenuName']."</option>"; } ?> </select>

Member Avatar for rjusman90
0
148
Member Avatar for rpv_sen

HI can any one please help me how to convert timestamp to IST jtime = 2014-07-23 02:41:05 to Date H:i:s am/pm formate

Member Avatar for DJBirdi
0
182
Member Avatar for akhilckz

how to redirect to a page in a specific folder... how to specify path...

Member Avatar for <M/>
0
205
Member Avatar for ultmt.punisher

I have a `input type file` named `datafile` and I want to show file name into a span when file is loaded into `input:file` I have tried to echo `$_FILES['datafile']['tmp_name']` but it output this `E:\xampp\tmp\phpFE1E.tmp` not the real file name. suppose I have file `data.txt` so I want to show …

Member Avatar for cereal
0
233
Member Avatar for Webville312

Dear all, I have done a website that I need to integrate emailing functionality. I have done this before, and it worked perfectly, and still does. However, when I attempted to use the same code to test the emailing functionality for the new site, I get an error message as …

Member Avatar for Webville312
0
190
Member Avatar for My question

Dear friends, I have the pages for website in html, I need to change those html pages to wordpress. I don't know how to do that, Please help me

Member Avatar for khurram123
0
146
Member Avatar for judy.babasa

is html/php suited for making an accounting software? looking forward for your recommendations.thanks

Member Avatar for rubberman
0
142
Member Avatar for Sharmilamega
Member Avatar for rubberman
0
66
Member Avatar for safi.najjar1

Hey guys I have some problem for counting (products) in cart dynamically with ajax when clicking on (add to cart) "button": for example: consider that there's only one product in cart, user clicks (add to cart) "button", show div with message added plus count products in cart dynmically Here's my …

Member Avatar for safi.najjar1
0
218
Member Avatar for ultmt.punisher

I want to make a system that generate numbers on click, I have numbers from 1 to 100 like M-3134 A-3133 U-3132 and so on. and I want to put all my these numbers in array and want to show using button randomally, upto 8 numbers or 10. and when …

Member Avatar for ultmt.punisher
0
2K
Member Avatar for Sharmilamega

1) why autoincrement is not working for varchar in phpmyadmin? 2)can we set two autoincrement in a table in phpmyadmin?

Member Avatar for diafol
0
158
Member Avatar for Benjamin_4

i have a website which i sell my books on, now i want to redirect my users to the home page (index.html) when they click the download link and the file starts to download. Will really appreciate the help and support thanks. this is the php code i wrote <?php …

Member Avatar for diafol
0
104
Member Avatar for lwaterfo

Hello, Newbie with simple question here... A developer has entered this code for me to display a banner ad on my wordpress page. I want the ad to link to a page. How would I do that with this code? <div class="head_banner"><img src="<?php bloginfo('template_url'); ?>/images/image.png"></div>

Member Avatar for aliceknight
0
188
Member Avatar for nadiam

hey guys. i have this table that lists contacts that are stored in database. the data is selected from 2 tables using join which i have already got working: SELECT c.contact_id,c.salutation,c.fname,c.lname,c.dob,c.houseadd,c.personalno,c.officeno,c.email,c.spouse,c.child, s.spouse_id,s.s_salutation,s.s_fname,s.s_lname,s.my_spouse FROM contact1 c LEFT JOIN spouse1 s ON c.contact_id = s.my_spouse what im having trouble with is selecting …

Member Avatar for nadiam
0
219
Member Avatar for MikeDesigner

Is it better to use PHP (cake) or a wordpress theme (woocommerce) to build a shopping cart for a printing company?

0
59
Member Avatar for RonKevinT.Manuela

$stmt = $db->prepare('SELECT postID, postTitle, postSlug, postDesc, postDate FROM blog_posts WHERE postDate >= :from AND postDate <= :to ORDER BY postID DESC'.$pages->get_limit()); is there something wrong with my query?

Member Avatar for pritaeas
0
196
Member Avatar for hanspeare_1

Hello Admins and Php Friends, I have manage to upload the image using this codes $student_id = $_POST['student_id']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $gender = $_POST['gender']; $date_of_birth = date("Y-m-d",strtotime($_POST['date_of_birth'])); $contact_no = $_POST['contact_no']; $grade = $_POST['grade']; $section = $_POST['section']; $LRN = $_POST['LRN']; $email1 = $_POST['email1']; $email2 = $_POST['email2']; $address = …

Member Avatar for hanspeare_1
0
359
Member Avatar for silent lover

<link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7538664413577532945/posts/default/6420470017556836335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7538664413577532945/posts/default/6420470017556836335'/><link rel='alternate' type='text/html' href='http://tipsorangsukses.blogspot.com/2013/05/tips-membeli-emas-batangan.html' title='Tips Membeli Emas Batangan'/> i want to get link rel alternate href only, so the result when echo is `http://tipsorangsukses.blogspot.com/2013/05/tips-membeli-emas-batangan.html` i wrote like this but still wrong $feed = file_get_contents("http://tipsorangsukses.blogspot.com/atom.xml"); $xml = new SimpleXmlElement($feed); echo "<ul>"; foreach($xml->entry as $entry) { …

Member Avatar for silent lover
0
307
Member Avatar for nadiam

hello. i was just wondering if it is possible to insert data for date and time separately into database for a column with type datetime. datetime format is like : yyyy-mm-dd h:m:s . I know you can get date and time separately FROM database but is it possible to be …

Member Avatar for almostbob
0
173
Member Avatar for adebayo23

How do I fetch data from table into dropdown menu in mysql and post back to another table? What I want is to create a registration form for customers and attach an agent to each customer, the agent names are stored in a table and i need to post agent …

Member Avatar for wikit
0
308
Member Avatar for shishtawitch

i want to pass a youtube code like [url]http://www.youtube.com/watch?v=NMAYr709-9Y&feature=dir[/url] and it return me the embed code.........!! how can i do that with php and curl........!!

Member Avatar for Mark_24
0
501
Member Avatar for nadiam

hello. I have a table populated by name. The names are links when clicked will pop up a form for editing. each input (for editing) is populated by the equal value from database but im having trouble with one particular text box. this text box is for date of birth …

Member Avatar for diafol
0
600
Member Avatar for Sharmilamega
Member Avatar for DJBirdi
0
61
Member Avatar for toxicandy

I am currently working on an online website which houses a database inside that has 50-75 fields. I have what I believe may be a somewhat rudimentary question. Assuming we want to query the Database how would one go about making it so it builds a query statement using the …

Member Avatar for DJBirdi
0
386
Member Avatar for JulieR31392

Hi there, I have a website that i need to have a user submit some information and upload 2 files. And add the information to the database. what is the best way to do this. Any and all help would be apprechiated. This is a not for profit site. I …

Member Avatar for Banderson
0
182
Member Avatar for gcclinux

Hello, I have been breaking my head here and I can't figure out what I am doing wrong, I am trying the get the result of the first query into variables to then run the second query. It works inside mysql but not insite my php query. $data = mysql_query("select …

Member Avatar for gcclinux
0
218

The End.