39,388 Topics
![]() | |
Hi Everyone. I have a htaccess file the re-writes my urls for a directory on a website I am helping to develop for a friend. the directory structure is mydomain.co.uk/dir1/dir2/shopping-cart/ The mod_rewrite rule rewrites the index.php file into pretty urls for example: shopping-cart/123/this-is-the-item-title The problem I am facing is when … | |
I want to get some datas from a php file that the data changes every 10 min . With what framework should I do it or is there any book that tells how to do this simpely ? please consider this That Im not familier with php and I want … | |
Hi, I have two diagrams and one unordered list( http://hardis.synology.me/portalen/filter.png ) that rely on select statements and I'm wondering what the best way to filter those. (one filter for all of them!) $result = mysql_query("SELECT * FROM TABLE WHERE filterArray ORDER BY Datum_formatning ASC"); I have 5 fields that will … | |
i am making simple experiment about html to pdf.i can populate all the textfields but not the check boxes,i used radio button in html so that only one can picked on the two.how can i possibly populate the checkboxes in pdf??please help! here is my code: [code] <html> <body> <head> … | |
My school has an apache/mysql server that we make and host websites from as projects. I am doing an ebay type site where people bid on a product until time runs out. Problem is I don't know how to trigger that the product should be delisted and the buyer and … | |
Hi All, I am new to this portal, hope some one will guide me with my issue, i wanted to send the data from FORM submit to update in database at the same time it shd go as email, Any help will be appritiate thanks Prashant | |
Hi Guys! I've a problem here with the $_SESSION coding. As u can see from the coding below, I've declared several session after a user is log in. I want to display the $_SESSION['SESS_ADMIN_LEVEL'] in adLandingpage.php but the code is not work. logincode.php $resultA = mysql_query("SELECT * FROM staff WHERE … | |
I have a MYSQL database that house user names and user numbers. the process is user goes to a url inputs all the information. Goes to the office they search for the user makes sure all the information is correct and assigns them a number inputs it into the the … | |
I recently download CKEditor for my web application. I want to add copy data from word file and paste on ckeditor, when i am doing this i found that all styling is gone but i want to preserve styling as it is on orignal word file. So i did little … ![]() | |
hai everybody, i need recent-plan div tag display horizontally in cmyplan-show conatiner div inside. anybody plz help me. all the layout records display in one row. plz help me. <div id="myplans-create" > <div id="horiz_container_outer" > <div id="horiz_container_inner" > <div id="horiz_container"> <div id="myplans-show" style="position:absolute;height:100%;border: solid 1px #666666;width:100%;display:block;overflow-x: scroll; "> <div id="data"></div> … ![]() | |
![]() | Hi I still learning how Smarty templates works. I can't seem to make the image appear on the Smarty Template. I try to used this `{html_image}` it doesn't work. I used `<img>` instead. <img src="images/{$book->image[tbl]}" width="115"> These are my files. This is my **index.php** <?php require("libs/Smarty.class.php"); require_once("get_data.php"); require_once("books.php"); $book = … ![]() |
Hello I have two files index.php and search.php and I want to enter the string in index.php the search to be preocesed by search.php and the result to be shown in the same window index.php. index.php <?PHP require_once("includes/membersite_config.php"); if(!$fgmembersite->CheckLogin()) { $fgmembersite->RedirectToURL("login.php"); exit; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 … | |
Hey guys, i am new to php ..I really needed your help with pagination in php .The issue is when i look at the out put, i dont see any thing.. just blank screen. Database and other details are correct. I rechecked it Here is my code : <?php $host="xxxxxx"; … ![]() | |
Hi frnds, three months back i was integrated Tiny Mce editor to my website whick integrates Equation Editor Plugin. At that time everything was going good. From last couple of days all the existed equations are displaying as Text formate. Can any body solve this issue please. ![]() | |
Hello guys.. Do you have any idea how to make a Global Positioning System (GPS) using PHP & MySQL? I don't know where should I start. Do you think it's possible in PHP & MySQL? Please help. Thank's ! Regards, amulet_john | |
here is the code of the php and the last sentence is the problem: <?php/** * The base configurations of the WordPress. * * This file has the following configurations: MySQL settings, Table Prefix, * Secret Keys, WordPress Language, and ABSPATH. You can find more information by * visiting {@link … ![]() | |
# Hello i want to use url rewriting in my core php web page site.. can some me help me ?? # For Example :- My web page url link is www.demo.com/abc.php i wana to show that page in url like www.demo.com/abc can some one tell me how can me … ![]() | |
Hey all, Selecting a MYSQL Database is throwing Errors. It's all correct. However, My page seems to think otherwise.. <?php ################### Server Connection / CONST ###################### define('DB_NAME', 'xtrapsp_Rhino'); define('DB_USER', 'xtrapsp_rhino'); define('DB_PASSWORD', 'Password'); define('DB_HOST', 'localhost'); ################################################################## // Note that whatever is enclosed by $_POST[""] matches the form input elements // $Value_name … | |
Hi all, Im trying to add sizes to the cart. However, i cant pass size over. please help. $result = $db->query($sql); $output[] = '<ul>'; while ($row = $result->fetch()) { $output[] = '<br><font color="837F77"size="6">'.$row['name'].' </font><br></br> S$'.$row['price'].'<br></br>'; $output[] = '<select name="size"> <option disabled="disabled" selected value="NA" >Size</option>'; if ($row[small_qty]== 0){ $output[] = ' … | |
Record is inserting but email is not going.. if($_POST['registersubmit']) { $to="'".$_POST['email']."'"; include('db.php'); $checkemail=mysql_num_rows(mysql_query("select * from authentications where email='".$_POST['email']."'")); if($checkemail) header("Location:".$_SERVER['PHP_SELF']."?msg=E-Mail Already Exists "); else { $query="insert into authentications (password, authcode, email, status, created_at) values ('".$_POST['password']."', '".md5($_POST['email'])."', '".$_POST['email']."', 0, '".date('Y-m-d h:i:s')."')"; if(mysql_query($query)) { $headers1 = 'MIME-Version: 1.0' . "\r\n"; $headers1 .= … | |
Hello everyone, My friend has been helping and he's been great however it's come to a halt :P I'm working with MYSQL at the moment but am having a few issues with my code. Index.php: <html><link href="stylesheet.css" rel="stylesheet" type="text/css"> <head> </head> <body> <div id="header"><img src="http://www.rhinosecurityltd.co.uk/templates/rhuk_milkyway/images/mw_joomla_logo.png" alt="Rhino Security"> </DIV> <form name="Form" … | |
![]() | I'm trying to upgrading php from 5.2 to 5.3 manualy. i downloaded the C9 x86 Thread Safe (2012-Nov-21 22:03:51) zip file, opened it into c:\php did what it said in this manual http://php.net/manual/en/install.windows.manual.php first off, I had no pear folder in the zip, and no pear-go.bat.. and second, once I … ![]() |
![]() | i have this xml file <CATALOG> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> </CATALOG> with my php code i am able to get the parent node <CATALOG> then all the other data such as <TITLE> etc etc , how would i go about getting the <CD> tag?? … ![]() |
i am not sure what i did but i messed up my page. take a look at page and you will see the problem. it puting php code in a echo"";. i cant seem to find where the problem. <!-- Connect --> <?php session_start(); //for errors include("../../INCLUDE/header.php"); ?> <!-- top … | |
Hi, I want to develop a CMS that I can use when I make websites. Want to simultaneously post it online so that people can download it and develop plugins and themes for this. Would like to have it as user friendly as other CMS such as Wordpress, Joomla, Dupal … | |
Hello! Im looking for a new source code editor. Have come to the point where I need something more powerful and professional. The big issue is this: We develop software in PHP. In our code we have language specific strings like: ------------------------------- echo "Enter your name:"; ------------------------------- We would like … ![]() | |
I just need to know, what is the difference and relashin ship between the two? | |
Hi there fellow daniweb programmers I have problem in running function in javascript <script type="text/JavaScript"> function toggle() { var e = document.getElementById('target_<? echo $id; ?>'); e.style.display = 'none'; } </script> I have button that generated in php code so its repeating itself <li><a id="target_<? echo $id; ?>" href="like.php" onclick="toggle()"><img src … | |
I am trying to help prevent SQL injection using mysqli_real_escape_string, I have the following: <?php $Connect = mysqli_connect ('', '', '', ''); if (mysqli_connect_errno()) { die ("Couldn't Connect to the Database"); } $String = "Hello, my name is (*$<>)*$)!*)_£)(!*£$&"; echo $String."<br><br>"; $Escaped = mysqli_real_escape_string($Connect, $String); echo $Escaped; ?> The problem … | |
Hello, everyone. I've recently switched hosts and the same script I was running in the past is now causing the rest of my MySQL queries to be locked, and it seems the query never completes. The code is: <? $con = mysqli_connect('localhost','user','password', 'database'); $Q = "DELETE FROM `Table1` WHERE `Field1` … |
The End.