39,388 Topics

Member Avatar for
Member Avatar for UK-1991

Hello all I am having problem with my attendance management system. The problem is when ever i log in as admin it does not show a log in time but when ever i log in as a user it is howing time in. And secondly the time in and tim …

Member Avatar for UK-1991
0
162
Member Avatar for ses03

I have this code and it outputs buttons that goes down. I want them to go horizontally. please help. T_T <?php $var=1; while($row=mysql_fetch_array($che… { ?> < action='' method='post'> <input type='submit' name='view' value="<?php echo @$var ?>"/> <input name="workId" type="hidden" value="<?php echo $row['workId']; ?>" /> </form> <?php $var++; } ?> I don't …

Member Avatar for ses03
0
133
Member Avatar for weeraa

I hosted a web site. (Still developing and adding component to it) It was working well until today evining. But now it is not working well. some JS not working. I have back ups. (Every time i got back ups in working versions). I thought this happen due to my …

Member Avatar for arunmagar
0
278
Member Avatar for Mr.pc.online

i was working on a plugin that can find some special url in wordpress page contents and then if matching URL found then change that url automatically to another url like without giving backlink benfit to that site. for example : if i have defined a site that start with …

Member Avatar for Mr.pc.online
0
404
Member Avatar for cereal

#This is for Laravel 3.*# ## Hello, ## With this snippet I'm providing a simple way to automatically filter `Input::get()` and `Input::old()`. To achieve this result we need to make few changes: * extend Input and Redirect classes by creating new files in `application/libraries/`, the files are: **input.php** and **redirect.php**; …

1
377
Member Avatar for UK-1991

Fatal error: Call to undefined function session_is_registered() in C:\wamp\www\attendance\include\checksession.php on line 2 Call Stack 1 0.0021 180504 {main}( ) ..\admin.php:0 2 0.0026 182624 include_once( 'C:\wamp\www\attendance\include\checksession.php' ) ..\admin.php:2 ------------------------------------------------------------------------------------------------------------ Hello ..This error is comming when i enter the user id and pw. Can any one please help me out to fix …

Member Avatar for diafol
0
685
Member Avatar for irfath

var flashyshow=new woo_target({ wrapperid: "woo_id_joomla_", wrapperclass: "woo_class_joomla_", imagearray: <here my problem Comes> this code Inside javascript tags...! my problem is? i want to put some jpgs or png photoes into this image array to display as a slide show?? i Tried it many ways and still its not wrking please …

Member Avatar for Md.Akaash
0
160
Member Avatar for omoayan

I have these codes for the insertion of data into mysql database in php, unfortunately when I insert the data into the database they are duplicated. Any suggestion on what could be wrong with the codes. <?php // create short variable names $Database=$HTTP_POST_VARS['Database']; $Publication_Date=$HTTP_POST_VARS['Publication_Date']; $Title=$HTTP_POST_VARS['Title']; $Write_Up=$HTTP_POST_VARS['Publication']; if (!$Publication_Date || !$Title …

Member Avatar for Zagga
0
147
Member Avatar for tahakirmani88

Hello, I am trying to fetch values from a Multidimensional array using foreach loop, i have understand the basics of foreach(){} loop, but when it comes to Multidimensional array i get confused. This is my program <?php $food =array( 'Healthy' => array('Salad','Rice', 'Vegetables'=>array('Tomatto','Onion')) , 'UnHealthy' => array('pasta', 'Vegetables'=>array('potatto', 'Corn')) ); …

Member Avatar for diafol
0
6K
Member Avatar for Nirmeen Ased

<tr> <td><strong>Department</strong></td> <td width="220" align="right"> <select name="Depcategory" dir="rtl" id="Depcategory" class="title"> <option value="-1">chosse department</option> <?php $rs=$db->GetAllDepCategory($_SESSION["Faculty"]); while(list($name)=mysql_fetch_array($rs)){ echo "<option ".($DepSearch==$name?" selected=selected ":"")." value='$name'>$name</option>"; } ?> </select> </td> </tr> <tr> <td> <strong>Teacher name</strong></td> <td width="200" align="right"><label for="TeacheSearch"></label><select name="TeacheSearch" dir="rtl" id="TeacheSearch" class="title"> <option value="-1">choose teacher</option> <?php $rs=$db->GetTeacher($_SESSION["Faculty"], $_SESSION["AdminWorkName"]); while(list($Fname,$WNO,$Lname)=mysql_fetch_array($rs)){ echo "<option ".($Lname==$TeacheSearch?" selected='selected' …

Member Avatar for paulkd
0
231
Member Avatar for ricardojorge.net

# Creating a register and login page, by creating a mysql database and all php files. # ## I was reading a [thread that is dead](http://www.daniweb.com/web-development/web-design-html-and-css/threads/97183/to-create-a-registration-page-and-login-page) now, so i started this one: ## **Simple PHP login:** Create a database (mysqladmin) Name the table "dbUsers." It will need 4 fields: Name …

Member Avatar for Ank1
0
454
Member Avatar for imti321

include_once 'PATH/TO/swift_required.php'; //put info into an array to send to the function $info = array( 'username' => $username, 'email' => $email, 'key' => $key ); //send the email if(send_email($info)){ //email sent $action['result'] = 'success'; array_push($text,'Thanks for signing up. Please check your email for confirmation!'); }else{ $action['result'] = 'error'; array_push($text,'Could not …

Member Avatar for imti321
0
674
Member Avatar for adeeb.keyaam

Advance thanx to all, i am having problem with my multistep form when validations happened. please help/suggest any ideas to solve it. > image uploaded properly with condition but do not show messages and then go next step $filename = $_FILES['photo']['name']; // get extension of the image $ext = strtolower(substr(strrchr($filename, …

Member Avatar for Eng. Hadi
0
194
Member Avatar for fheppell

How can I delete a file using php? Using a linux server (if that matters). Thanks for any help

Member Avatar for Eng. Hadi
0
280
Member Avatar for geewebid

hi master, i have problem with my ci web, i use force_download in my controller but why redirect() cannot work, please tell me what my problem. $filedown = $this->input->post('filedown'); $datas = file_get_contents(base_url() . "down/" . $filedown); // Read the file's contents $name = "$filedown"; force_download($name, $datas); i have error, if …

Member Avatar for Dani
0
2K
Member Avatar for jasminjew
Member Avatar for eburlea

Hi! I have a form in Drupal that is filled up by an user and sent as email to the server. I have created a new module to modify the values in the form after the user submit it and to send them to the server with new values. Here …

Member Avatar for pritaeas
0
186
Member Avatar for mattster

Hi folks, I am looking into an IPB forum to be registered at domain.com, for example. I would like a seperate forum on each sub-domain, ie. **forum1**.domain.com and **forum2**.domain.com. Would I have to purchase a seperate licence for each forum, or could I just have them licenced to domain.com and …

Member Avatar for pritaeas
0
170
Member Avatar for Dani

Can anyone point me to a sample use case of a very lightweight PHP-based example of a Google Analytics API pull?? I'm looking for two things: * Registering a pageview * Fetching pageviews per day/week/month/all for a particular page Thanks!

Member Avatar for davidkroj
0
122
Member Avatar for mallows.yum

hi all! i have here a code to delete a record <?php define ('DB_NAME', 'vincegac_vince'); define ('DB_USER', 'root'); define ('DB_PASSWORD', ''); define ('DB_HOST', 'localhost'); $link = mysql_connect(DB_HOST, DB_USER, DB_PASSWORD); if (!$link) { die('Could not connect: ' . mysql_error()); } $db_selected = mysql_select_db(DB_NAME, $link); if (!$db_selected) { die('Can't use ' . …

Member Avatar for mallows.yum
0
130
Member Avatar for LeonardK

Hi There, I got a saved query in my database like this: # id rapport_query # 12 SELECT tablename.tablerow, tablename.tablerow FROM tablename Now what i want is to do execute this query with a php script and put the results in a array and then make an csv of it. …

Member Avatar for LeonardK
0
150
Member Avatar for deej_uptheowls

http://codecanyon.net/item/ajax-contact-form/full_screen_preview/50846 I bought this contact form that validates and produces a message when its complete. The validation messages are all in with the form. But when I try to integrate it into my page "contact.html", the validation messages popup in a new window "contact.php" and I dont know how to …

Member Avatar for deej_uptheowls
0
696
Member Avatar for bwest

Have you ever tried programming one of these: Showing Page 1 of 17 Go To: 1 | 2| 3….. Well I have written a nifty class that will take care of it for you. You can even change the formatting outside of the class. Call this class right after your …

Member Avatar for LastMitch
1
204
Member Avatar for SirMahlon

which programming language would be cool for a web app that would be able to syschronize sim contacts to a server and could be retrieved should sim be missing by logging on to the web.as well should u get a new sim u can get contacts back on phone by …

Member Avatar for LastMitch
0
275
Member Avatar for hbmarar

we have a form and if we would like to pass some hidden fields.say,username is hidden but required and email and password is what the user form is about:-

Member Avatar for LastMitch
0
151
Member Avatar for SirMahlon

<html> <body> <?php $username = 'root'; $password = ''; $hostname = 'localhost'; //connection to the database $con = mysql_connect($hostname, $username, $password,'contactmanager') or die('Unable to connect to MySQL'); echo 'Connected to MySQL<br>'.'<p>'; mysql_query($con,'INSERT INTO Personalinformation(Name, YearOfBirth, Email,Location,PhoneNumber) VALUES(Peter,2008-03-05,peter@hotmail.com,kasland,0269015748)'); mysql_close($con); ?> </body> </html>

Member Avatar for SirMahlon
0
5K
Member Avatar for adeeb.keyaam

suppose i have a account in a website, and i want to see the users who are members of this website, and my name is also listed there, but i want to remove my name from there, from my account, i can see others name without mine, and this will …

Member Avatar for iamthwee
0
157
Member Avatar for adeeb.keyaam

I want to create a form wizerd or a multi step form, there is a continue button to step forward, `<button type="submit" name="continue" onclick="return validateNow();">Continue</button>` and a previus button to step backward, `<button type="submit" name="continue" value="&lt; Back">Previous</button>`, button type must be in submit format, because i have php in this …

Member Avatar for adeeb.keyaam
0
201
Member Avatar for Maideen

Hi I have a issue in print data directly from clicking print button. Below is my code and working fine. if click print button system sends the data to another page not to printer directly. pls help me HTML page <style type="text/css"></style> <?php include '../templete/header.php'; ?> <Script Language="javascript"> function change_action() …

Member Avatar for IIM
0
1K
Member Avatar for Santosh Bajjuri

Can any one try to guide me through the installation of APACHE AND PHP SERVER with A DATA BASE connectivity.I am currently using WINDOWS 8 64-bit as my OS. I tried so many ways of installing.But couldn't find any way to it. I hope this forum will help me out …

Member Avatar for Webville312
0
153

The End.