39,402 Topics
![]() | |
I am busting my brain with this. It seem simple I tried it a few ways and it is not working how I want it. I would like for example the return policy document to be in the main content box of my page only when a person click on … | |
hey how do i start learning PHP??? RESOURCES DONT KNO plz comment thankss | |
Hai, I want to read excel file and store the data into mysql. my excel file contains special symbols like ∫,Ω,√ ... (all physics formulas). I used phpexcelreader from pear.but this symbols are not reading correctly. it shows as rectangle box. please provide a solution for this to resolve. | |
So Im editing a page on my site, and I tried to edit a code, because I got an error... cant remember what it is right now, but anyways, I changed it and got another error, something about unexpected T_DNUMBER? Well I decided to change it back, and now I'm … | |
Hello again daniwebbers ;) Wondering if you could help me out. I've been having alot of trouble trying to get a Bookmark us in the header section of my vbulletin forums. Theres an image of what i would like to do, down below in the file attachment section. If someone … | |
Hi there, I have 3 tables: Student ([B]studentNum,firstName,lastName,CourseName)[/B], course ([B]courseID,courseTotalCapacity[/B]), course_allocation ([B]studentNum,courseID[/B]). I have 3 courses, MATHS=101,BIOLOGY=102,CHEMISTRY=103. My form has the following: [CODE=html]<SELECT NAME="CourseName"> <OPTION VALUE="MATHS">MATHS</OPTION> <OPTION VALUE="BIOLOGY">BIOLOGY</OPTION> <OPTION VALUE="CHEMISTRY">CHEMISTRY</OPTION> </SELECT></td></tr> <SELECT NAME="courseID"> <OPTION VALUE="101">MATHS=101</OPTION> <OPTION VALUE="102">BIOLOGY=102</OPTION> <OPTION VALUE="103">CHEMISTRY=103</OPTION> </SELECT> [/CODE] I would like to have some kind of a … | |
Hello, I am having a rich text editor in my website it works fine when formatting text like bold etc. but the problem is that when i retrieve data from database there is no bold, italic or underline etc.Please help me. you can find the script here. [URL="http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm"]http://www.dynamicdrive.com/dynamicindex16/richtexteditor/index.htm[/URL] | |
i have currently 3 checkboxes. But the thing is i only want 2 of them to b processed i.e if check box 1 is checked then the 2 one must get blocked thus by preventing the user to check it. similarly vice versa. (this must be applied only to 1st … | |
ok i cant seem to log in with a regualr password. this code works fine without md5 but it doesnt work when i use md5. yes i've already connected and selected database. $username = mysql_real_escape_string($_POST['username']); //so someone cant sql inject. [CODE]$ = mysql_real_escape_string($_POST['username']); $password = md5($_POST['password']); $result = mysql_query("SELECT * … | |
ok so what i am trying to do is make a script run like every hour or day that would restore a DB back to it original state. or even something like if i create an email system to send off emails at a certain time that it would run … | |
Hello Friends, I am new in using codeigniter.I am working on a client project.In this i have 1 form with fields like entering name, address along with 5 file uploading basically all images.Suppose while submitting a form an error occures then fields like name and address value can be retrieve … | |
Hi everyone, I have tried finding out how to do this everywhere but I am coming up completely blank. I have content coming into my site that I have no control over and it has this symbol • embedded in it. I really want to remove it and I can't … | |
Hi, I ran into trouble trying to use the include function. Here's the code, which I think should work, index.html [CODE=html] <html> <?php include('head.php'); ?> <body> <div id="header"></div> </body> </html> [/CODE] head.php [CODE=html] <head> <title>Name</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> [/CODE] | |
Hi, I'd be grateful for a little help. I have a script which generates invoices as PDF files and stores above just above www level (so they cannot be access directly via a URL). I would like users to be able to access their own invoices but nobody elses. My … | |
I have a submit form with a text field. I want it to auto fill the date "7 days" from now into MySQL, and also be editable. The code below worked fine a few days ago, well until a new month is coming around the corner. [CODE]$SevenDay = date("d") + … | |
Hi All. I am having some troubles pulling an Image Blob from a DB and rendering it to the webpage. I can successfully get the images, but when I display them they are being cut off at 4.0Kb - so only the top 25% or so is being displayed. I've … | |
I`ve finished my website,its a social netwrk web in PHP. Now before i lunch it,i would like to know what are the precautions i should take to protect it from hackers. please if any one has idea on what i should do,to protect mysql,and my site as a whole.i will … | |
Hi can someone do me a massive favour and code something simple as i dont have time at this minute and need it fast. Key Requirements: have administator panel to add phonenumber & name have a front end with a simple javascript filter with a A-Z menu to filter and … | |
i am using a PHP file to first connect to my database and then make a table in that database. i am able to connect to the database fine but i can not create a table, it keeps on saying: Warning: mysql_query() [function.mysql-query]: Access denied for user 'SYSTEM'@'localhost' (using password: … | |
hi all i'm trying to send an email with an attachment from a form and i've found a few scripts on the internet but can't make them work. has anyone got any simple code that works for sure? and another question: is the attachment sent directly or it has to … | |
Hi Everyone! The title pretty much explains it all! I have a variable which holds the site's root url, but to make it work online and offline on my xampp, I need to make some differences. When the end variable is output, there are two "intermsediary" ones I used to … | |
Hi guys. I'm trying to validate some code, but getting ID already defined errors...which I 'm expecting as the code loops through a record set and re-uses the DIV id. The question is how would you get round this? I thought about adding a simple variable +1 to the ID … | |
Here is my code: <title>Hanuman Database</title> <div align="center"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10"><img src="../images/bg_up_exp_left.GIF" width="20" height="20" /></td> <td width="722" background="../images/bg_up_experience.gif"> </td> <td width="10"><img src="../images/bg_up_exp_right.gif" width="20" height="20" /></td> </tr> <tr> <td background="../images/left_bg.gif"> </td> <td><table width="758" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="../images/logo_1.jpg" width="96" height="122" /></td> </tr> <tr> <td><?php [B]session_start();[/B] echo "Global … | |
Problem definition:- When the customers are shopping on the store they should get the suggestions for the shopping they are doing. e.g. If a person is shopping for a party, he will fill a form giving the details about the same. [COLOR="Green"]If he has given the values like 100 people … | |
In php file while loop is used to populate data in array in a following way, [ICODE] $result = mysql_query($sql ) or die ('Error, list failed. ' . mysql_error()); while($row = mysql_fetch_array($result)) { $row[tableLegends]; $link[]=$row; } [/ICODE] and for loop is used in printing data in theme file [ICODE] for … | |
i have a site the is live being testes but it wont let mail be sent and i have changed it to mail.companyname.com like i was told but still nothing and the sever said i need yes, you will need to put the full email address in order to make … | |
I am trying to display Indian time in a text box using PHP , my script is working but there is no 'AM' or 'PM' . I am getting the time with AM or PM when i am using echo statement . Help me please ..... this is the screen … | |
I'm new to this technology. I'd be glad if somebody help me in starting this and guiding me where to start? and how to start? to learn this new technology. | |
<?php session_start(); $_SESSION['number']=$_POST["number"]; $userAgent = "Googlebot/2.1 (+http://www.google.com/bot.html)"; $target_url="http://example.com/".$_SESSION['number']; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$target_url); curl_setopt($ch, CURLOPT_USERAGENT, $userAgent); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_COOKIEFILE, "cookiefile"); curl_setopt($ch, CURLOPT_COOKIEJAR, "cookiefile"); # SAME cookiefile curl_setopt($ch, CURLOPT_AUTOREFERER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER,true); curl_setopt($ch, CURLOPT_TIMEOUT, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); $html= curl_exec($ch); echo $html; $dom = new DOMDocument(); … | |
Hello it's me again! So I've managed to create 4 linked drop down boxes like: Country : [===Country===|v|] Client : [===Client===|v|] Environment : [===Environment===|v|] System: [===System===|v|] And it's working fine with the codes written at the end of this post. Next step is I wanted a Table to contain 2 … | |
Hi folks, I'm really at a loss here, and I'm no really even sure if this is the place to post-if not, please feel free to send me where you think I can figure this out! I have a php login page that is connecting to a database that is … | |
Ok.. i have a script that lets the authorized user to browse and download the files they want(that's what it supposed to be), but... i can't get to give the user files via links. The files are in a different drive and folder then apache, so how can i make … | |
Hello I am very new to PHP. I want to make it so i can edit a certain div in an HTML page using a WYSIWYG editor such as TinyMCE. Is there a way to do it so lets say I have a list of all the pages on my … | |
I have created a form, created a table with background image (image can be changed dynamically) & inside table there are some divs <div>. There are some texts in div, these texts can be altered. What I need to submit/preview the form, when the form will be submitted 'only table' … | |
First off I want to apologize for any confusion as I'm not a programmer, so what I say, and am trying to convey, may come across as backwards or excessive. So I apologize for my ignorance. Somehow though, I manage to lumber my way through these scripts.. lol PHP Code … | |
Hi all, i need to write a script for the web portal that uploads pictures and text on the specific location on the page. I uploaded the picture but i can't display it. | |
Hey I have a website and the administration panel is powered by cPanel. I cant seem to find out why i cant send mail when using the site I have squirrel mail installed and I have a cPanel password changer plug-in installed for squirrel mail., . here is the codeing … | |
I've been trying out arrays recently, and this is my coding: [ICODE]<?php $data = array('autoguide1'=>'car', 'baz'=>'boom', 'scotland'=>'haggis', 'php'=>'hypertext processor'); echo http_build_query($data); // autoguide1=car&baz=boom&scotland=haggis&php=hypertext+processor echo http_build_query($data, '', '&'); // foo=bar&baz=boom&cow=milk&php=hypertext+processor ?> [/ICODE] What I want to try and do is make my PHP code run so that I can include a … | |
hi, can anyone please guide me how to install PHP fourm and IIS server on WIndows XP . i really need to get started with this tahnx | |
hello reader.. i am developing a website. One of the web's page is PRODUCT page where user can view, or purchase the item. There are 3 categories under PRODUCT which are; pet, gardening and food.. I'd like to implement user preferences in this page. User will pick its preferences via … | |
Hi I've been doing a study of some PHP code developed by another author in 2002. The article could be found at: [url]http://www.devshed.com/c/a/PHP/Building-A-PHPBased-Mail-Client-part-2/3/[/url] The functions I need help with in understanding are: function parse($structure) //custom function developed by author function get_attachments($arr) //custom function developed by author The following line gave … | |
Hello, I am new at this. My new website has 'weirded out' for this reason: Parse error: syntax error, unexpected $end in /home/content/e/b/a/ebaybe1/html/wp-content/themes/paisley/page.php on line 57 ???? Please tell me what this means and do I fix it from the site/wordpress end or the files end. I am using word … | |
The code below should produce my homepage but it doesnt display the stuff from the database, the page works by setting the content as the $content variable and then replacing it in the template file to make the page, any ideas? [CODE]$content = '<div id="leftindex">'; if ($db_found) { $SQL = … | |
Looking at the source code of this website: [URL="http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003"]http://superdialcouk.dmshop.biz/numbers/0207/choose.php?dmb1_SessRef=2009-08-22_15-29-14_8068_0003[/URL] What code do i copy and paste to get that table of telephone numbers on my website, the numbers need to remain dynamic in thesense tat if theyre purchased from the site given above - they then should not be viewable … | |
Hi, I have [inlinecode]header("Cache-Control: private");[/inlinecode] in page1.php to prevent page expiry problem. Let's say, when user click on Submit button it will go to page2.php Page1.php should expire if the user hit Back in the browser to go back from page2.php to page1.php How can do it? Thanks | |
I am trying to use WSDL file (webservices) to push data in Oracle database through PHP,MySql. While pushing data there is restriction that only 20 records at a time can be pushed in Oracle. Hence I need to create multiple instances so that through one php program I will be … | |
Hello, I have a MySQL database and I'm trying to make a dropdown list using PHP based on the value stored in my DB. So far I have this (copied, pasted, and edited from another forum): [CODE] <form action="maintest2.php" method="POST"> <table border="0" cellpadding="2" width="100%"> <tr> <td><b>Main Category:</b></td> <td> <select name="Name"> … | |
Hi, We're using PayPal standard. My understanding is that with the "Make PayPal optional for new users" option turned on in one's account, on checkout a customer will not be automatically returned to the local success page we've created, even though the URL is properly set and the auto-return option … | |
I am making 2 cookies, but when they are set, it shows me this error "Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\forum\index.php:4) in C:\xampp\htdocs\forum\index.php on line 81" But I dont have any headers?? Here is the code [CODE]$expire=time()+60*60*24*30; setcookie('username',$u,$expire); setcookie('password',$p,$expire);[/CODE] I made a … | |
Hi everyone, I have a website where you can vote things up and down. There is no login required to vote and it should register that you have already voted on a particular thing you have already voted on the next time you visit. It seems to work fine but … |
The End.