39,326 Topics

Member Avatar for
Member Avatar for bc090200540

sir i am doing my project and i am using session array to save some variables that can be accessed at any page but i am unable to access the values saved in session array <html> <head><title>student home page</title></head> <body bgcolor="lightblue"><h1>well come to student login page</h1> <form name="f1" action="" method="post"> …

Member Avatar for bc090200540
0
123
Member Avatar for dag25

i am trying to Upload and Store an Image inside a MySQL, for some reason i got a broken image when photo is submitted . i know its a bad idea ti store images in using database i am doing this for testing purposes. please help <!DOCTYPE html> <html> <head> …

Member Avatar for dag25
0
888
Member Avatar for mwnt2014

Wordpress plugin permalinks not working If we add ? at the beginning of wordpress permalinks then its working. Give the solution.

Member Avatar for ravi142
0
301
Member Avatar for SalientAnimal

Hi All, I have managed to get a few bits and pieces of code together, that I would like to try and combine to get the desired result for my form. The top section of the code is code that I had originally created myself and had some assistance in …

0
209
Member Avatar for Tinnin

Hi All, Similar problem to my previous post. I've made some progress and managed to get it working on my localhost but on the host server it still flops. I have been told to save the wsdl to file and access it from the file. However, I am not familiar …

Member Avatar for Tinnin
0
493
Member Avatar for tobinhoadesanya

Hello, Am new here but I will appreciate if I can get an answer. I am to build a miniature automatic feedback for programming assignment system in PHP as a final year project. This system will take a programming assignment in C either through a web form or a text …

Member Avatar for SalmiSoft
0
288
Member Avatar for neel_1708

HI neel I want to convert integer value of variable to float ie. i am adding two variables and the addition is integer and i want convert it to float eg: $var1=30; $var2=40; $var3=$var1+$var2; i want to display var3 as 70.00 please tell me how to do this Thank you

Member Avatar for Elbert_1
0
424
Member Avatar for titos97

I am trying to make authenticate and authorization through windows 2008 active directory . i am able to authenticate and retrive users under direct member but unable to list or link users through member of member. suppose user joe is direct member of Dl-Engineering NS group and user sam is …

0
350
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
244
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
135
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
680
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
330
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
223
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
345
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
408
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
643
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
257
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

The End.