39,320 Topics
| |
Hi, i have a doubt in php. I need to store datas in database if i before my time ends. But before timing ends datas are not stored in db. this is my problem. Please give one solution for this. | |
hello sir i am beginner of this course. now i am doing a project where i want to print a page/part of the page from web browser without print window. may i do this? if yes then how i could do so? please help me to find out the solution … | |
Hello ! I have a problem ! I'm starting a comment system for my website. The problem is: I want to use an HTML editor, but is not fully necesary. My problem is with the security. How to secure the user input that i save in database? Because i show … | |
Hello Everyone, Can you suggest me for Any Script or snippets of dopdown value given to **database** using **jquery and ajax** in php file. Thank You. | |
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 … | |
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); … | |
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, … | |
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. | |
$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> | |
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 | |
how to redirect to a page in a specific folder... how to specify path... | |
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 … | |
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 … | |
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 | |
is html/php suited for making an accounting software? looking forward for your recommendations.thanks | |
Can we generate random unique id with alphanumeric in php? | |
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 … | |
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 … | |
1) why autoincrement is not working for varchar in phpmyadmin? 2)can we set two autoincrement in a table in phpmyadmin? | |
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 … | |
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> | |
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 … | |
Is it better to use PHP (cake) or a wordpress theme (woocommerce) to build a shopping cart for a printing company? | |
$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? | |
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 = … | |
<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) { … | |
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 … | |
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 … | |
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........!! | |
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 … |
The End.