39,316 Topics

Member Avatar for
Member Avatar for unikorndesigns

Hi guys, I am trying integrate piwik site analysis graphs with my web app. There is a way to represent the data from the locally hosted piwik in the webapp but it requires the user to log into piwik through its UI. I am thinking of integrating the piwik graphical …

Member Avatar for veedeoo
0
142
Member Avatar for Priti_P

Hello, If am entering data as "hi this is for test" as my input to <textarea> but while displaying it, it is giving me as one sentence . Help me out with this.

Member Avatar for Priti_P
0
155
Member Avatar for davy_yg

Hello I am trying to create a chart based on clicks information. How to do so ? // print jumlah klik dalam graphic $result = mysql_query("SELECT COUNT(idads) AS countidads FROM adsmgt") or die(mysql_error()); $resultday = mysql_query("SELECT COUNT(idads) AS countidadsday FROM adsmgt GROUP BY date") or die(mysql_error()); while($row = mysql_fetch_assoc($result)) { …

Member Avatar for davy_yg
0
145
Member Avatar for vizz

I need login with cookies to hide comment form, from user who are not logged in. Users can view article without login but can not comment without login **Database** CREATE TABLE IF NOT EXISTS `members` ( `id` bigint(12) NOT NULL AUTO_INCREMENT, `fname` varchar(500) NOT NULL, `lname` varchar(500) NOT NULL, `email` …

Member Avatar for vizz
0
255
Member Avatar for ckjaseem

I have got around 10 <div>'s and in every <div> there is a different datetime. I want to call a java-script function when the clients local time matches the time in that <div>'s. //sample scenario <div id="a" class ="help">2/3/2013 6:39:14 PM</div> <div id="b" class ="help">2/3/2013 2:39:14 PM</div> <div id="c" class …

Member Avatar for LastMitch
0
1K
Member Avatar for welshly_2010

i cant seem to get my json data into a selection box. here my code for the dropdown.php </head> <script src="jquery.js"></script> <script src="jquery.jCombo.js"></script> <style type="text/css"> </style> <?php $directory = opendir("C:/xampp/htdocs/SE3S604CW3/xml"); $storeFilesIntoArray[] = "please select XML to load"; while (($fileName = readdir($directory)) !== false) { $getLastFourDigitsOfFile = substr($fileName,-4); if($getLastFourDigitsOfFile == ".xml") …

Member Avatar for LastMitch
0
124
Member Avatar for OsaMasw

Hello guys I need a favor, I have array of data fetched form mysql db and contain 4 information **id - thumb - views - added by** I want to display those arrays in 3 or 4 coloumn like picture gallery. I did it with only picture and its work …

Member Avatar for LastMitch
0
1K
Member Avatar for parsa.moshrefi

Hi All, I'm new to PHP. I've started service apache2 and put a testphp.php file in its webroot directory with the following content <?php phpinfo(); ?> But when I want to see the result in the browser, the browser opens the source file instead of showing the contents of PHP …

Member Avatar for diafol
0
176
Member Avatar for mayobrains

I'm using Wordpress and a plugin called Testimonials Widget which creates a post type of its own for rotating testimonials with testimonialswdiget_widget() or a list with testimonialswidget_list(). I don't have all my code yet because I can't even get this part to work yet -- <?php if ($all_the_tags); $all_the_tags = …

Member Avatar for mayobrains
0
209
Member Avatar for ero100@live.com

HELLO!! CAN ANY ONE GIVE ME SOME HELP ABOUT THIS RADIO BOX? IT WORK IF I SELECT IT, HOWEVER ONCE I LEAVE IN BLANK, IT DISPLAY AN ERROR MESSAGE. (Notice: Undefined index: discrate in C:\wamp\www\SSWP\renting.php on line 35 ) [B]HI IS THE HTML CODE:[/B] [code=html]<div class="formorder"> <form name="renting" method="post" action="renting.php"> …

Member Avatar for pooja pinky
0
487
Member Avatar for bradly.spicer

Hey all, Been re-writing the HTAccess for the Moodle software which comes as standard. This is the code I have so far: # BEGIN Moodle <IfModule rewrite_module> #Fixes Moodle issue with redirection on shared servers Options Indexes FollowSymLinks +IncludesNOEXEC RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.co.uk RewriteRule ^(.*)$ /Moodle/$1 #Redirects lowercase to …

Member Avatar for Squidge
0
112
Member Avatar for Wailintun

hello!everybody, Now I use xampp for build database. I need simple database design to country,state,city dropdown cuz my database is not good enought. please!!!! thanks!

Member Avatar for gon1387
0
900
Member Avatar for SirVault

I've got 4 great ideas for websites that I'd like to make. I've created the layout of each within photoshop, however, I have no real experience with html/css/php/javascript so that I could actually bring it into code. 1. Where's a good place to start learning web design/development (html/css/php/javascript)? 2. Would …

Member Avatar for AleMonteiro
0
237
Member Avatar for edensigauke

I want to know what method to use to view Images from my MYSQL database using PHP. i know that for basic data it is getString(). what about for images?

Member Avatar for edensigauke
0
242
Member Avatar for lukas.vandendijssel

Hello, Somehow this is not working. I tried pretty much everything. I am also very new to PHP, but i made a nice CMS. Now I am making a website with some random flash-videos every time you refresh. This is what i got so far: <html> <head> <title>Sydcul.com</title> </head> <body> …

Member Avatar for bradly.spicer
0
314
Member Avatar for davy_yg

There are three fields in this forms: 1.Produk 2.Jumlah 3.Tanggal I wonder why Tanggal (date) are all 0000-00-00 <html> <!doctype html> <html lang="en"> <head> <meta charset="utf-8" /> <title>jQuery UI Datepicker - Default functionality</title> <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" /> <script src="http://code.jquery.com/jquery-1.8.3.js"></script> <script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css" /> <script> $(function() { $( "#datepicker" …

Member Avatar for diafol
0
159
Member Avatar for Ritesh_4

Hello, anyone can help me to add a background color to my div, for example, if an id of 2 is found (pls see my code) $idMenuParent = $resGetInfoMenu[0]['IDMENUPARENT']; //if the menu has a parent if($idMenuParent) { // get menu info $infoMenuParent = cGetInfoMenu($idMenuParent); //fetch all child menus $secondMenus = …

Member Avatar for Ritesh_4
0
267
Member Avatar for OsaMasw

I have an item box to show an information for things to be sold yesterday its was all working perfectly, but now its all missed up in Firefox look at this pic ![ff](/attachments/large/3/ff.jpg "ff") but in chrome ![ch](/attachments/large/3/ch.jpg "ch") here is the html code <div class="item" ><!-- item--> <a href="ad.php?ad=<? …

Member Avatar for OsaMasw
0
148
Member Avatar for yavindu

I have created a small web site with a registration page.I want to get after the user fill the registration form and click the submit button , the page must be redirected to the login page.That redirection part is not working.Here is my database connection code to add data to …

Member Avatar for diafol
0
210
Member Avatar for PriteshP23

I would like to solved out the SESSION part in ALL files. SESSION is not working properely anymore. In addition, i need to solved out the javascript errors. Objective is to access the *dashboard.php and other pages* from LOGIN.php and CREATEACCOUNT.php **WITH validation and SESSION**. There are two files: login.php …

Member Avatar for PriteshP23
0
2K
Member Avatar for PriteshP23

Session is not working. When user do Sign IN or Sign UP, after that on every page (dashboard.php and configure.php) user email should be displayed. It is not displaying any error but it is not working. I have used md5 method for password. I have problem regarding set session. Let …

Member Avatar for PriteshP23
0
468
Member Avatar for didzmad

Hello php community, Could you help me in my research? I just cannot find what I am looking for. I am working on a website with PHP and MySQL. I am trying to get a filter option on my website to fetch the information from database. Here are the filter …

Member Avatar for diafol
0
6K
Member Avatar for daniel36

i created while loop in php but it is gone infinite-the c <table width="100%" align="center"> <tr> <td align="center" width="100%"> <table width="95%" border="1px" cellspacing="1" cellpadding="4"> <tr> <?php $count=1; $columns=$no_of_days+2; while($count<=$columns) { if($count=1) { echo "<td colspan='5'>Owner Name</td>"; } if ($count=2) { echo "<td colspan='5'>Unit Name</td>"; } if ($count>2) { $cdate=$count-2; echo …

Member Avatar for daniel36
0
135
Member Avatar for daniel36

I am developing calendar in php.in this i created next and previous button ,but it is not working greate.I used get variable for Next and previous.but only previous button is only working.this is my code- <? if (isset($_GET['nm'])) { if($_GET['nm']==0) { $previous="pm=1"; $next="nm=1"; $month=0; } else { $nm=$_get['nm']+1; $pm=$_GET['nm']-1; $previous="nm=".$pm; …

Member Avatar for daniel36
0
150
Member Avatar for chunkbar

$ratequeri="SELECT type FROM roomreservation ORDER BY room_no DESC LIMIT 1 "; mysql_select_db($database_ast_conn, $ast_conn); $Result111 = mysql_query($ratequeri, $ast_conn) or die(mysql_error()); $omgg=mysql_fetch_array($Result111); $rrate; if($omgg=="Deluxe Floor Room"){$rrate=350;} elseif($omgg=="Executive Club Floor Room"){$rrate=350;} elseif($omgg=="Junior Suite"){$rrate=350;} elseif($omgg=="Executive Suite"){$rrate=350;} elseif($omgg=="Presidential Suite"){$rrate=350;} $insertqueri="INSERT INTO roomreservation (rate) VALUES ('$rrate') "; mysql_select_db($database_ast_conn, $ast_conn); $Result1111 = mysql_query($insertqueri, $ast_conn) or die(mysql_error()); ///////////////////////// …

Member Avatar for simplypixie
0
128
Member Avatar for Wailintun

Hi!everyone.Now I need your help and it's important.I am doing assignment about country/state/city dropdown list.I found the code in javascript for dropdown to change auto, depend on country state and city.I want it only in php code and connect with database.Submit button to search and link to another web page. …

Member Avatar for LastMitch
0
148
Member Avatar for neoanomally

I have inherited a web site that was designed in php and perl. the code was poorly designed but it has evolved into a very complex system. I am thinking about refactoring the code to make it more readable and more efficient because there is a lot of redundancy and …

Member Avatar for neoanomally
0
174
Member Avatar for SMode55

Hello, I am running a script with JQuery's $.POST the code is PHP though.It's just a basic login script that that loads from the main login page.The script itself runs fine till the end when I try to direct the user into the control panel with the header() function and …

Member Avatar for diafol
0
138
Member Avatar for AARTI SHRIVAS

i am googling for mvc in php but not get proper result is there any good website from where i can learn mvc for php and, is any other framework needed for this mvc i am currently using bitnamiwamp apche server for php what framework is used for mvc can …

Member Avatar for LastMitch
0
150
Member Avatar for dan_code_guru

How do i mod rewrite so that i have a page with a get variable is passed to parameter. I want page.php?id=67/images to go to images.php?pageId=67 Thanks

Member Avatar for LastMitch
0
212

The End.