39,320 Topics
| |
hi everybody .. i want to use post method but not working i dont send to data ... pls help me[code]//i want to send userID and roleID in database .. i use to this code ::: <?php echo "<table border='1'> <tr> <th><font color='white'><h3>User ID</font></th> <th><font color='white'><h3>User Name</font></th> <th><font color='white'>Roles</font></th> </tr>"; … | |
Okay first of I want to apologize for the horrible title, I really couldn't come up with a decent title to be honest. Here's my problem, I am kind of new to all this but I'd like to try making (just for fun of course) a database. I have a … | |
hi my code is not working when to running .. it create to mysql files but ..not create to my table and it created to table 0 byte ... why ?[code]this is backup code :: <?php $backup=$_POST['text']; $host = 'localhost'; $user = 'root'; $pass = ''; $backupDir = 'c:\'; $backupFileName … | |
i want to know tha is object oriented php is better or simple php? n which version of php is better yet easy to learn? how much is it different from normal structured php? | |
Hi All, I have 2 tables of data, 1 is countries and the other is provinces within those countries. My problem is that accents are showing up as special characters. eg. Trois Eveches is showing as Trois ?av?tmch?copys | |
Hello Everybody... From last three days i m posting my queries but no one take it seriously, please if u people dont mind than plz help me.... i m be very thankful in future. In my database i have 6 fields and through html form i requested only three of … | |
Hi guys i have this small class task that i'm having trouble with. I need to create a PHP file using SAX to generate the display shown below from an XML file. *** This is the xml source code from which i need to generate the display: *** [CODE] <orders> … | |
Dear All, I am new to PHP. I would like to include video (Flash Videos) in the website using PHP. Can u please help by giving the code. Saji | |
Its working PERFECTLY In IE6 But in Chrome Back Button is not Working. Code for Back button [CODE]<td><a href="lims_New_North.php"><img name="lims_pages_r5_c2" src="images/lims_pages_r5_c2.jpg" width="74" height="23" border="0" id="lims_pages_r5_c2" alt="" /></a></td>[/CODE] There is no Issue with Pagination above Back link not work in Google chrome but work in IE6 code Pagination [CODE=php]<?php /* Place … | |
i have a [B]sign up [/B]page. when user signup ,his data moves to database'table having 4 colomns.1 is of username,2 of password, 3 of email & last for title. when he signsup,a page [B]choice.html[/B] opens that offers to login now or later. if the user login at that time ,he … | |
I have written a licensing system for my script and now i saved it an file called lic.php in the root folder I am going to encrypt that with ioncube when giving to a client side and i will simply include [CODE]include "lic.php" [/CODE] to call the licensing system But … | |
[ICODE]Hey I want when i click the submit button it runs a php script that then loads it to a local database where I can then use the entered data as a way for someone to login into the site but everytime i click the submit, it downloads the whole … | |
hi everybody this project my graduate project pls help me .. i dont understand where is error and how to sending mail ?[code]mr.php------------- <html> <body> <table width="380" border="0" cellpadding="3" cellspacing="1" > <tr> <td width="33%"><strong>Enter your email : </strong></td> <td width="67%"><form name="form1" method="post" action="mm.php"> <input name="email_to" type="text" id="mail_to" size="25"> <input type="submit" … | |
Can someone tell me why I am unable to update a table in mysql using php with session data. First of all, I have done some reading around daniweb and Im not sure if i should be using UPDATE or INSERT to update the table. I have session_start(); at the … | |
I just want to create a max function in php. in this function i have to just write the table name and the columns name where i want to call the function and get the max values from the corresponding column of that table PHP Code: [CODE]function max1($column_name, $table_name) { … | |
Hello all, I've made my first wordpress theme from scratch and as expected I'm running into some trouble getting it to function. Here's the error message: Parse error: syntax error, unexpected $end in /home/seve4033/public_html/blog/wp-content/themes/sevensharks/footer.php on line 35 ...line 35 is </html> so I'm lost as to what is unexpected. If … | |
Hello everyone, I am new to this forum. It would be a real help if someone could help me out for a problem I'm in from last 5 days. I am using TCPDF for generating PDF on the fly in php. I am using php5.2.6. I am using Multicell function … | |
Hey there... I got a website which i want to work properly... But i cant make it work properly without image popup working properly... PHP and HTML code: [code] <?php if ($handle = opendir('./bsbilleder')) { while (false !== ($file = readdir($handle))) { if(substr($file, 0, 1) != ".") { $bspic = … | |
HI every one I have tried 3 wysiwyg for my php web site , like ckeditor and openwysiwyg . I'm using the latest version but they have some problems and they didn't work good . I want a simple and good wysiwyg editor . What do you suggest ? thanks | |
Hey guys So at the moment i'm making an online strategy game a bit like tribalwars.net. I'm having a problem with building construction, unit recruitment, travel times etc. For example.. When a user clicks "build" for a building, the building will be added to a queue and will be completed … | |
Hello everyone, so I am going to be developing a website for a friend of mine. He owns this business that allows people to come to his store, pay 20 dollars and play some games. He wants on his website, a paying system, where users can pay 15$ instead of … | |
*********test.php************** ****************************** <form action="/forums/test_records.php" method="post" name="test" id="test"> <table width="385" border="1" align="center"> <tr> <td width="120">Date: </td> <td width="249"><?PHP echo date("Y-m-d");?></td> </tr> <tr> <td>Particulars:</td> <td><input name="Particulars" type="text" size="40"></td> </tr> <tr> <td>Debit:</td> <td><input name="Debit" type="text" size="40"></td> </tr> <tr> <td>Credit:</td> <td><input name="Credit" type="text" size="40"></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="Submit" value="Submit"> </div></td> … | |
I have a parent table and a child table linked with an Id. The child table has two fields - ch_id and item. The parent table has a field which stores the value of ch_id for that row. I have set up a php script to generate a selection list … | |
Hi I am from the UK and have been a keen web enthusiast for the past 5 years with a semi break of a few years,I am self taught and run a couple of websites [url snipped] is one and [url snipped] is another i am currently finishing them both … | |
Hey ppl, I have this assignment at school, where they asked me to create a simple site for uploading and watching videos. I must use PHP, Oracle (ORDVideo precisely), but I don't have much info online. Anyone can point me in the right direction? I am using ADOdb to connect … | |
I have a site which maintains a local message database and addressbook. What I would like to do is the following: When a user contacts another user a record of that message is stored in the message database and an email is also sent to that user. Any response to … | |
Hi everyone!!!! i have a problem with storing session variables from a file called through ajax. i have a page with a form which i submit using ajax. the page is called add.php, when you hit submit, the form is sent using $(post) to a file called addaction.php where i … | |
Please help me how i can contact the daniweb admin. | |
Hey... I've got some problems with jQuery. Code: jQuery: [code] <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); $(".bspic").click(function(){ $("#box").animate({height:500},"fast"); $("#box").animate({width:500},"fast"); $(".bspicclose").click(function(){ $(".bspicdiv").animate({height:0},"fast"); $(".bspicdiv").animate({width:0},"fast"); }); }); }); </script> [/code] PHP/HTML: [code] echo "<a class=\"bspic\" href=\"#\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"80\" width=\"80\" /></a>"; echo "<div class=\"bspicdiv\"><a href=\"#\" class=\"bspicclose\"><img border=\"0\" src=\"./bsbilleder/".$file."\" height=\"450px\" width=\"450px\" /></a></div>"; … | |
Hello there members of DaniWeb :) Im making a website for my father but suddenly an error came up :( Error: Parse error: syntax error, unexpected '(' on line 44 Code: $first = true; $include_file = "./inc/acp.php"; foreach($_GET as $key => $value) { $include_file .= (($first)?("?")("&")) . $key . "=" … |
The End.