39,316 Topics

Member Avatar for
Member Avatar for svkkotla

hi every one a problem in project i have admission page in that i need auto generating number,every time i refresh the page i need to get autogenerating number can any one help me

Member Avatar for AARTI SHRIVAS
-1
80
Member Avatar for GraficRegret

I am trying to delete pictures from the server that are associated with a specific item, that way when the user clicks on the delete button it will delete the item as well as all pictures associated with it, after doing a bunch of searching and experimenting I have this …

Member Avatar for GraficRegret
0
277
Member Avatar for Khav

Hello I want to extract content of a website found between some specific html tags.How can i achieve that with php. For e.g consider viewing google.com soure code.I want to extract data with <title> </title> tags and store it in a variable(its "Google" in this case) Bascially script navigates to …

Member Avatar for veedeoo
0
268
Member Avatar for soapyillusion

Hello everyone, I am once agian running into a problem with something that's normally simple, yet lovely cakePHP has to make all so very hard. I'm once agian tasked with improoving the bookmarking application on our website. This time I am suppose to have the url save the date: start …

Member Avatar for soapyillusion
0
140
Member Avatar for aoi.serizawa.9

hey guys im trying to update my database here, the code is running fine session_start(); $school_id = $_SESSION['school_id']; $faculty_id = $_SESSION['user_id_fac']; $subject_id = $_POST['subject_id']; $year_grade_level = $_POST['year_level']; $subject_handeler_id = $_POST['subject_handler_id']; $student_grades_boy = $_POST['student_grades_boy']; $student_grades_girl = $_POST['student_grades_girl']; $values_boy = array(); foreach ($student_grades_boy as $key=>$data) { $student_id_B= $data['studnt_B_id']; $grade_B = $data['studnt_grade_B']; $values_boy[$key] …

Member Avatar for ajbest
0
309
Member Avatar for mmcdonald

Hey all, cant get this very very simple query to work but I have been going 26 hours and my thoughts are numb. Please assist? I have error reporting on and request mysql errors but I'm getting nothing. Contents of config.php $db_host = 'localhost'; //IP of database server (most likely …

Member Avatar for JorgeM
0
137
Member Avatar for anjerodesu

Hi everyone, I would like to ask a question about MySQL. Say, I have a database like this: database 1: articles |- id |- title |- description database 2: tags |- id |- articleID |- tag I needed to search from articles.description and tags.tag and while doing so, the searched …

Member Avatar for anjerodesu
0
323
Member Avatar for cussel

> Hi guys, how to get **date modified** document in process upload? ex: test.txt 30/11/12 02:13 how to get this date **30/11/12 02:13** while upload this document? > i've try like this but the result not matching with real date modified $filename = $_FILES['uploadedfile']['name']; echo date("d m Y H:i:s",filemtime('/' . …

Member Avatar for pritaeas
0
73
Member Avatar for Motifaithed

Hi Guys, I'm starting on a new project, it's a login page, let say I have a sql column[dateReg], it is the time the user registered or change his password, then everytime he login, I want to compare his login date to the dateReg and if the next time he …

Member Avatar for broj1
0
507
Member Avatar for aglaf1979

This site was made by a previous designer and the client needed some updates. The header and nav were an image file before and I recreated them as include files with CSS. I have tried different variations to input the includes and it still not showing up live. Here is …

Member Avatar for TonyG_cyprus
0
155
Member Avatar for hunterious.latham

I run a text based game and I am having some trouble. I have a hospital section of the game where if you loose a fight you go here for a period of time. Now you see the time is supposed to go down say if you go to the …

Member Avatar for ajbest
0
149
Member Avatar for unikorndesigns

Hi I have modified the dropbox script with the following <script type="text/javascript"> $(function(){ var dropbox = $('#dropbox'), message = $('.message', dropbox); dropbox.filedrop({ // The name of the $_FILES entry: paramname:'userfile', maxfiles: 10, maxfilesize: 50, url: '<?php echo base_url();?>ajax/post_file.php', uploadFinished:function(i,file,response){ $.data(file).addClass('done'); // response is the JSON object that post_file.php returns }, …

Member Avatar for LastMitch
0
379
Member Avatar for Thapsta

I'm new to php and im running xampp and the apache server is running, i created an html (phptext.html) form below which inputs the user's name and sends it to a php file called phptext.php. now the problem i'm getting is the html form sends data to the php file …

Member Avatar for broj1
0
207
Member Avatar for luis_see_me

So, I have a small site for the highschool I'm currently in, a pretty simple site connected to MySQL for a simple HelpDesk app (I used a lot of scripts that I found here to make the site work, thanks for the contributors btw!!), and some useful links for school …

Member Avatar for Shadizon
0
191
Member Avatar for GraficRegret

I got everything working on the edit information page even the delete picture and insert a new picture. However when I delete or insert a picture, every field in the details table dissapears, if it turns out to be a field that is editable then it gets replaced with a …

Member Avatar for GraficRegret
0
175
Member Avatar for hunterious.latham

***Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/crysta21/public_html/hospital.phpon line 53*** <?php /* MCCodes FREE hospital.php Rev 1.1.0c Copyright (C) 2005-2012 Dabomstew This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the …

Member Avatar for GraficRegret
0
419
Member Avatar for doha786

I have an array having unique 'table_id' that will find 'parent_id' and goes under parent index. My Array: Array ( [0] => Array ( [table_id] => 7 [table_name] => Macro [parent_table] => 1 ) [1] => Array ( [table_id] => 4 [table_name] => Dise [parent_table] => 7 ) [2] => …

Member Avatar for Bachu
0
112
Member Avatar for AARTI SHRIVAS

is it possible in php java scrip and jquery that we give a condition and redirect page to another pages on depending on those condition like if($id==1) { header(location:page1.php); } else { header(location:page2.php); } the value of id comes from database. something like that using jc jquery enything please help …

Member Avatar for AARTI SHRIVAS
0
307
Member Avatar for Vincentas

Hi there, I'm trying to send the binary representation of data through a PHP socket. So if the number was 15, socket_write would send 00001111 as binary representation for 15. How should I do this?

Member Avatar for pritaeas
0
76
Member Avatar for AARTI SHRIVAS

<?php session_start(); include("connection.php"); $id=$_SESSION['id']; ?> <!DOCTYPE html> <html class="beautiful js " xml:lang="en" lang="en"> <head> <link href="120gb_files/index_packaged.css" media="screen" rel="stylesheet" type="text/css"> <title>mackbook_how to find</title> </head> <body> <form method="post"> <div class="box"> <div class="button"> <select id="screen_size" class="fancy" style="border:1px solid #ccc;" > <option selected="selected" value="">Screen Size</option> <?php $sql="select * from `mackbook`"; $result=mysql_query($sql); while($row=mysql_fetch_array($result)) { ?> …

Member Avatar for AARTI SHRIVAS
0
4K
Member Avatar for earlxph8

hello, i have a basic code, and i want to fetch a data from mysql using PHP, and display in my html page; i just want to have a basic idea so i can add more details later on, like data of birth, nationality, profession etc. im planning to make …

Member Avatar for simplypixie
0
22K
Member Avatar for earlxph8

hello guys, how can i display the data from php mysql with text decoration for example underline or a dotted line css/html? thanks.

Member Avatar for earlxph8
0
722
Member Avatar for hwoarang69

i just started reading how to connect ur cart to paypal. i get the main idea but when i hit paypal buy button. data doesnt tranfer. so on paypal site it alway say to have 0 items in ur cart. <?php ... $x=1; $pp_checkout_btn = ''; $pp_checkout_btn .= ' <form …

Member Avatar for hwoarang69
0
172
Member Avatar for Reliable

Hey everyone, I was under the inpression that PHP would refresh dynamically and not necessarily the whole page. When I make forms in PHP I am noticing the entire page gets refreshed before the new content is displayed. this is the oppsite of what I am trying to acheive. If …

Member Avatar for diafol
0
229
Member Avatar for mehnihma

I have this code to parse XML file I need to take elements "Name" and write them all to csv header (from every product in XML) with rest of the XML data, but I need values to be as data in csv For Now I can write just header, but …

Member Avatar for LastMitch
0
256
Member Avatar for eltonpiko

hi i have some data in mysql db and i need to create a page where i have a dropdown down box with different categories. when a user select a category from a the drop down it will show data form the mysql table from that category. so how can …

Member Avatar for eltonpiko
0
189
Member Avatar for pjrey

i dont even know how to title this subject. curious how i would go about inserting data from an array file i have name array.php into my cgi. i have a set of links at the bottom, and i change one of the anchors depending on the season #summer, #fall …

Member Avatar for leakbali
0
299
Member Avatar for McLaren

Hello, I was following series of tutorials http://net.tutsplus.com/tutorials/javascript-ajax/build-a-contacts-manager-using-backbone-js-part-5/ 5 part is not finished yet. BUt I 4 parts are done. In 5th part there is written about .net, but I want to use php. The problem is - application worked fine when I was not using php - only html …

Member Avatar for McLaren
0
236
Member Avatar for bamastangguy_1

Hello, I have just completed a rather large project which involved data that was less than optimal html wise. Our biggest problem currently is that we have a structure like this: <ul id="postblockinfo"> <li>List One</li> <li>List Two</li> <li>List Three</li> <li>List Four</li> <li>List Five</li> </ul> Text that is suppose to be …

Member Avatar for bamastangguy_1
0
145
Member Avatar for network18

Hi, I am planning to create location tracing based on IP and presenting the relevant contents to the user as par his country, similar to msdn website. I have installed the php_geoip.dll and change the ini file too, to include this dll The dll shows enabled in IIS as well, …

Member Avatar for LastMitch
0
649

The End.