39,320 Topics

Member Avatar for
Member Avatar for TheMightySpud

Hi all, I'm hoping someone can help me out with this one as it's driving me nuts. What I'm trying to do is create a page of 'items' which are displayed as icons, and when the user hovers over one of the icons, the items information is displayed. Here's is …

Member Avatar for JorgeM
0
241
Member Avatar for vijibala

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <?php include("config.php"); echo $asd="select name,id from item"; $qwe=mysql_query($asd); /*$qwe=mysql_query("select name,id from item"); */?> <form action="" method="post" enctype="multipart/form-data"> <table align="center" bgcolor="#009966" style="margin-top:40px;"> <tr><td>Brand Name</td><td><input type="text" name="br" id="br" /></td></tr> <tr><td>Brand Description</td><td><textarea name="des">

Member Avatar for diafol
-1
89
Member Avatar for haze man

Hi there, I am working on a website design for a simple computer store. I have all the html code and php files that i want already made but I am having trouble putting it all together. The problem is adding the file together, for example i have a login …

Member Avatar for saqib_604
0
166
Member Avatar for fheppell

I've got a file that includes various php files with a rewrite framework. I'm importing a class and registering it, and it functions for all code on that page. However when I try to require() a file, it does not seem to have access to the class. require __DIR__.'/lib/UserApp/Autoloader.php'; // …

Member Avatar for fheppell
0
243
Member Avatar for Tenaciousmug

Ok I researched EVERYWHERE on the Internet and I just can't get this to work. In my php.ini under my WAMP php folder, I have this (enabling the extensions): [CODE];extension=php_mssql.dll extension=php_mysql.dll extension=php_mysqli.dll ;extension=php_oci8.dll ;extension=php_oci8_11g.dll ;extension=php_openssl.dll[/CODE] Error: [CODE]Fatal error: Class 'mysqli' not found in C:\wamp\www\Elvonica\class\Database.php on line 11[/CODE] I have both …

Member Avatar for mohsenweb
0
5K
Member Avatar for pol.bala

I am using this code to pull out data from database. But the $bathc_no variable is not fetching more than 1 row. Suppose, I have 3 rows in my mysql, Where the $batch_no for the 1st row is "13", 2nd row is "12" and for the 3rd is "15". I …

Member Avatar for diafol
0
134
Member Avatar for narendra75
Member Avatar for almostbob
0
280
Member Avatar for RogueEU

i cannot seem to find the syntax error Parse error: syntax error, unexpected T_VARIABLE on line 24 18 $user = $_REQUEST['username']; 19 $pass = $_REQUEST['password']; 20 21 $user = mysql_real_escape_string($_REQUEST['username']); 22 $pass = mysql_real_escape_string($_REQUEST['password']); 23 24 $query = 'SELECT * FROM user, user WHERE '$user' = username AND '$pass' = …

Member Avatar for jovstudios
-1
676
Member Avatar for Pampas

I have problems cleaning up a couple of input field. I've been pecking away at this issue since I wrote the application about 18 months ago. When I think I have it cleaned up; it pops up again, when users violate rules (as they often will do) and the extra …

Member Avatar for diafol
0
212
Member Avatar for saddaf

I am working on PHP to get logitude and laltitude values from pop-up google map. I am successful in poping up the google map and getting values into the main window. I am stuck with how to escape or close the poped up google map.

Member Avatar for pzuurveen
0
327
Member Avatar for noor92

Hello, I am new to PHP and I would like to do the following: In my website, the user can add a blog but I would like the blog to go to admin first before it gets published ( The admin has the authority to publish or un-publish a blog). …

Member Avatar for Fernando_4
0
222
Member Avatar for davy_yg

Hallo, I have been trying to add SCORM in my moodle LMS (Learning Management System). I already choose SCORM for activity and upload my SCORM file. Yet, when I try to run my SCORM file : A plugin is needed to display this content. If anyone ever try moodle before …

0
92
Member Avatar for burhanahmed92

I want to null or remove array at the end of each loop. I already tried unset() or $array=array(); but its not working foreach($array as $key=>$value){ $dates[$value][]= $key; unset($dates) } Just tell me php function to null all array

Member Avatar for diafol
0
341
Member Avatar for burhanahmed92

["dfml"]=> array(32) { [0]=> string(10) "2014-02-27" [1]=> string(10) "2013-10-30" [2]=> string(10) "2013-09-30" [3]=> string(10) "2013-04-30" [4]=> string(10) "2013-02-27" [5]=> string(10) "2012-10-31" [6]=> string(10) "2012-09-28" [7]=> string(10) "2012-05-02" [8]=> string(10) "2012-02-28" [9]=> string(10) "2012-02-27" [10]=> string(10) "2011-10-31" [11]=> string(10) "2011-10-03" [12]=> string(10) "2011-04-27" [13]=> string(10) "2011-02-25" [14]=> string(10) "2010-10-30" [15]=> string(10) …

Member Avatar for Excizted
0
274
Member Avatar for noor92

Hello, I have little knowledge with PHP and I was assigned to try to fix some of the things that don't work in a website. The website basically deals with two different users, a trader who can post articles and a blogger who can post blogs. When a user registers …

Member Avatar for noor92
0
206
Member Avatar for Mike_16

Hey all, I am trying to update submissions from my SQL database from an edit page via an edit link in line with the submission which captures the ID of the database entry. When I click the edit link a new page opens and it has a form to update …

Member Avatar for veedeoo
0
407
Member Avatar for cthulhumythos

I am trying to make images coming from links within my mySQL database appear next to each other. Here is my code: <div class="container-outer"> <div class="container-inner"> <?php if ( $imagePath = $article->getImagePath( IMG_TYPE_THUMB ) ) { ?> <a href=".?action=viewArticle&amp;articleId=<?php echo $article->id?>"><img class="articleImageThumb" src="<?php echo $imagePath?>" alt="Article Thumbnail" /></a> <?php } …

Member Avatar for JorgeM
0
642
Member Avatar for Belton

<?php include ('pages/dbconnect.php'); $rekdep=mysql_query("SELECT * FROM t_org ORDER BY dept, com ASC"); echo "<table class='gridtable'>"; echo "<tr><tr><th> Departement</th><th> Commune </th><th> ORG </th><th>Animal</th>"; echo "</tr>"; echo "</tr>"; $odl_dept = null; $odl_com = null; $odl_org = null; while($dep=mysql_fetch_assoc($rekdep)){ //List of department if($dep['dept']!=$odl_dept){ echo "<td>".$dep['dept']."</td>"; } //display blank td if the same department …

Member Avatar for mglobs
0
256
Member Avatar for chaitu11
Member Avatar for gogs85

How to make meta tag for each post in php using post for meta description?

0
79
Member Avatar for abcd@gmail.com
Member Avatar for everton.retweets

Hi Everyone, I have been trying to find out what the problem is with this foreach but I am unable to... Is there anyone who can me please foreach($results as $row); $dbcansecurecode = $row['securecode']; $dbcanactivated = $row['activated']; $dbcanpwdreset = $row['pwdreset']; I have echo'd the results out for the foreach but …

Member Avatar for everton.retweets
0
255
Member Avatar for centenond

I remember watching a tutorial a long time ago that something like // treated the next char as part of the string I need this cus i want to echo something that needs the quotes and doble quotes, and cant use one since echo ''; is using one already

Member Avatar for centenond
0
102
Member Avatar for ZER09

Hi Is there way to enable the mail function without access to php.ini? The mail function was disable by my hosting provider, and there is no way to enable it because it was shared hosting. I already search in google how to enable mail function, but got nothing. I was …

Member Avatar for almostbob
0
566
Member Avatar for krupal5

I heard about decision making system like crystal report and I want to know how to implement CR with PHP? I have some basic knowledge about PHP,Mysql and Wordpress.

Member Avatar for chrishea
0
88
Member Avatar for ray100

I can't figure out what's wrong with this. The program works, but the deduplication doesn't work. The error I get is : Notice: Undefined variable: SongToAdd in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Notice: Undefined variable: ExistingSongs in C:\ITEC315\htdocs\users\ramojumder0\Reinforcement Exercises\Ch. 6\R.E.6-1_SongOrganizer.php on line 54 Warning: in_array() expects parameter 2 to …

Member Avatar for SilverKenn
0
475
Member Avatar for chaitu11

how to find number of days(days ago)different between today and database date .. eg: difference between 04/09/2014 and 06/08/2014 =(no of days ago)

Member Avatar for diafol
0
319
Member Avatar for sama.alebrahimy

hello how I can call google chart and sent to morethan three column from database in one chart thank you

0
250
Member Avatar for vitalisz

hello all i have problem with time zone <?php if (!isset($_POST['submit'])) { ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html> <body> <div id="main"> <div id="caption">Create new</div> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> name:<br/> <input type="text" name="title" size="40"/><br/><br/> News:<br/> <textarea name="newstext" rows="15" cols="67">

Member Avatar for Bob Hensley
0
164
Member Avatar for sktthemes

The End.