39,402 Topics

Member Avatar for
Member Avatar for vizz

How to create [Calendar](http://www.cafeshistoriques.com) like this example? Dates are marked for posts available. [Example2](http://www.easyphpcalendar.com/demoBlog7.php?ev=2456175&mo=9&yr=2012) I want to redirect on post.php and show only post available for date clicked from Calendar

Member Avatar for vizz
0
97
Member Avatar for ajay.motah

hi, im using jquery for dynamic diaply of login, but now i wish to start the $session once the login is sucsseful. but my code is found in a function in a php class. So can i call that function? Thank you!

Member Avatar for theHop
0
72
Member Avatar for venkyb47

I am unable to send a string from php page to java script page. I am storing a string in a php variable and I want to send this value to java script page on image icon click. Here is the source code: timetrack.php $activityid = $getResult->fields('ACTIVITY_ID'); // Now consider …

Member Avatar for venkyb47
0
344
Member Avatar for Tko_1

I am trying to redirect if working.php is present in folder other wise echo no file. this script only echo's no file. thanks. <?php $filename = 'working.php'; if(file_exists('$filename')) { header( 'Location: welcome.php' ) ; } else { echo "NO FILE"; } ?>

Member Avatar for Tko_1
0
116
Member Avatar for kartikkp

$getTime = time(); $newTimeFormat = date('h',$getTime); if($newTimeFormat > 3 && $newTimeFormat <=12){ echo "<section id=\"main\" class=\"column\"> <iframe height=\"890\" width=\"100%\" frameborder=\"0\" id=\"display\" scrolling=\"auto\" src=\"displayDayShift.php\"></iframe> </section>"; } if($newTimeFormat > 12 && $newTimeFormat <=21){ echo "<section id=\"main\" class=\"column\"> <iframe height=\"890\" width=\"100%\" frameborder=\"0\" id=\"display\" scrolling=\"auto\" src=\"displaySwingShift.php\"></iframe> </section>"; } if($newTimeFormat > 21 && $newTimeFormat <=3){ …

Member Avatar for Zagga
0
189
Member Avatar for Jiggles.X

Hi every one. I have a bit of a problem/ headache. I am trying to make a dropdown style menu for a website that runs off a CMS I made everything works fine but I can for the life of me get the menu system to work! This is the …

Member Avatar for Jiggles.X
0
111
Member Avatar for garyjohnson

Okay I have a database where it stores the users information, like their login name, email, and password. They can upload videos to my site, when they upload the videos, it saves to a database, the database is set up like this, VIDEONAME EMAIL NAME funny sample@email.com abcd.mp4 It stores …

Member Avatar for LastMitch
0
244
Member Avatar for andyy121

this is the index page <?php if (isset ($_POST['keywords'])){ $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty ($keywords)){ $errors[] = ('Please enter a serch terms'); }else if (strlen($keywords)<3){ $errors[] = ('Your search terms must be three or more characters'); }else if (search_results ($keywords) == false){ $errors []= ('Your …

Member Avatar for LastMitch
0
269
Member Avatar for andyy121

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <?php include 'func.inc.php'; ?> <title>SEARCH</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <h2>SEARCH</h2> <form action="" method="post"> <p> <input type="text" name="keywords"/> <input type="submit" value="Search"/> </p> </form> <?php if (isset ($_POST['keywords'])){ $suffix =""; $keywords =mysql_real_escape_string(htmlspecialchars(trim($_POST['keywords']))); $keywords =$_POST['keywords']; $errors = array (); if (empty …

Member Avatar for LastMitch
-1
393
Member Avatar for harsha.netpem

hello, I need to freeze the two columns from the large amount of data which is fetched from database using php. For e.g using the table students column name:- id, name, class, section, roll number,remarks,address,etc... I want to freeze two colums i.e id and name, so how can i create …

Member Avatar for diafol
0
297
Member Avatar for Ghost

Hi guys! I've been using PHP for fun for a while, and now I'm interested in playing with some scraping. I know regex is the way to go. So I'm trying to scrape a page of 4chan. I want to grab the images and the title of the thread of …

Member Avatar for diafol
0
240
Member Avatar for GazzaCurran

Hello, im very new to php. Ive created a form in dreamweaver using Tick boxes and normal text boxes. I need the form to send to a email, the tutorials ive read dont usually encorperate tick boxes. here is the form <form name="contactform" method="post" action="send_form_email.php"> <table width="450px"> <tr> <td valign="top">Personal …

Member Avatar for broj1
0
139
Member Avatar for sharathg.satya

can anyone provide any site with plenty of examples to learn PHP. i got [url]www.w3schools.com[/url] but i didnt find good examples in them. please help me.

Member Avatar for emoviefreak
-1
122
Member Avatar for PHPuss

<?php $db_conn = ocilogon("root", "admin", "//localhost/xe"); $cmdstr1 = "SELECT *FROM TESTS WHERE TEST_TIME BETWEEN TO_DATE('2012-01-01','YYYY-MM-DD') AND TO_DATE('2012-02-02','YYYY-MM-DD')+1 and SYSTEM_NAME like '%SYSTEM_1%' "; $cmdstr2 = "SELECT *FROM TESTS WHERE TEST_TIME BETWEEN TO_DATE('2012-01-01','YYYY-MM-DD') AND TO_DATE('2012-02-02','YYYY-MM-DD')+1 and SYSTEM_NAME like '%SYSTEM_1%' and RESULT='0'"; $parsed1 = ociparse($db_conn, $cmdstr1); $parsed2 = ociparse($db_conn, $cmdstr2); ociexecute($parsed1); ociexecute($parsed2); $nrows1 …

Member Avatar for pritaeas
0
89
Member Avatar for raj-uk

Hi All, i found this code which is ok but i need this to highlight whole line in colour, for example like: *1. Mr Johan call in office on sunday* *2. No More call to johan* *3. Johan has Paid All* I am telling the script to start from star …

Member Avatar for diafol
0
167
Member Avatar for flynismo

## A quick overview: ## After the login form is submitted, it is handled by a seperate file, which checks the form and sets session variables if the login was successful. The script works fine...it will log me in, and redirect me to the proper page as well as set …

Member Avatar for flynismo
0
316
Member Avatar for jacksantho

Hi, Any body please help me out, am facing the following error Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1704 bytes) in C:\xampp\htdocs\phpexcel\Classes\PHPExcel\Style\Borders.php on line 517

Member Avatar for riverspart
0
217
Member Avatar for marifard

Dear, I have 2 tables, first table name: directory fields: id, name, surname num1, operator1 (operator id from operator table), num2, operator2 (operator id from operator table). (num2 and operator2 may be left empty) second table. name: operator fields: id, operator I made a page to display the data from …

Member Avatar for LastMitch
0
170
Member Avatar for daniel36
Member Avatar for LastMitch
0
183
Member Avatar for daniel36
Member Avatar for LastMitch
-1
151
Member Avatar for mgn2683

I have a contact form that is using a Send Form php file to validate and then send an email with the form contents. The area I am having issues is debugging an error, I believe it is coming from the dropdown selection in my form. The page can be …

Member Avatar for mgn2683
0
290
Member Avatar for tshepom

Hi guys hope i can get some help am struggling to get my contacts page to submit a form to my email address... http://www.dytelligence.co.za/contacts.php could any1 out there please view my source code and tell me what i need to change on the code. thank you in advance. is the …

Member Avatar for nhadat.com.vn
0
171
Member Avatar for chira9na9pal
Member Avatar for pritaeas
0
75
Member Avatar for lse123

How get all image names of files in an image folder in php5? after will use php to eject html to view all images of the folder in a web page...

Member Avatar for DarkMonarch
0
98
Member Avatar for cristian.stilpeanu.3

Hi, i have a problem of some days. I'm working to a website but when I installed it I have a very noticeable error page, I wrote: "Notice: Notice: Undefined index: user_name in C:\xampp\htdocs\index.php on line 118" How can I get rid of this writing. Thank you! It is a …

Member Avatar for pritaeas
0
276
Member Avatar for sunil429

Hi, I am trying to fetch paypal status and notification to my databse but i am unable to do that..plz help me out...

Member Avatar for pritaeas
0
31
Member Avatar for code739

echo prev($result_row).'prev-'; echo curent($result_row).'cure-'; echo next($result_row); hi fellas as what you see above i print them all actually they were inside a foreach loop wahat i expect i they will print all but the firstline is the only one which appear what i observed is only one line out of …

Member Avatar for code739
0
153
Member Avatar for chandbasha

Hi All, I have an array which is like this Array ( [0] => Array ( [cat] => 17 [sub] => 143 [prod] => Contest : Apple Iphone 4SContest :Pay & get a chance to win ) [1] => Array ( [cat] => 17 [sub] => 143 [prod] => Contest …

Member Avatar for lps
0
162
Member Avatar for bLuEmEzzy

Is it possible to make a datagridview in php? Wherein you can add, edit, delete records. Please Help me.. Thank You God bless you all :)

Member Avatar for lps
0
90
Member Avatar for iamthwee

How's it going guys... Just got another interview lined up for a web interview within a school. I've not been given any idea of what to expect. I thinking I'm probably going to be writing/maintaining their website using a pre-existing CMS -joomola (From a quick preview) Understanding a web portal …

Member Avatar for LastMitch
0
232
Member Avatar for garyjohnson

I have created a php file upload so users at my site can upload files and i have also creaated a php script so users can log in and make accounts, I want my users to be able to log in and be able to see the previous videos they …

Member Avatar for Agarsia
0
234
Member Avatar for Sahana@123

hi,i wrote a program for html using php, nd stored the file as filename.php. it has store in my computer as filename.php.txt. now i want to see the result of my program, please help me to see my result in internet. here i also used mysql also.

Member Avatar for diafol
0
122
Member Avatar for garyjohnson

This is really hard to explain but I am going to try me best, I have an html page which displays a video player named brosweplayer.html, the code is this, <!DOCTYPE html> <html lang="en"> <head> <title>Untitled Document</title> <meta charset="utf-8"/> </head> <body> <video src="$name" controls="controls"> </body> </html> Now, I also have …

Member Avatar for LastMitch
0
557
Member Avatar for MDanz

I just installed wamp, so i can test my website offline. Now i get numerous Undefined index or Undefined variable errors, which i know how to fix. Now logging in works online but with wamp it doesn't work. The code isn't wrong. I imported the database online to offline. I've …

Member Avatar for ryantroop
0
93
Member Avatar for anitg

I have no issues with the query in the below code. But the second code is throwing the error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 Working code …

Member Avatar for broj1
0
202
Member Avatar for Hypalink

Hi guys, I´m attempting to write a simple "get quote" script, but need some advice about best practice. I want to structure it as follows, lets say a customer wants 1,2,3,4 or 5 apples - I want the quote to be $1. If the customer wants 6,7,8,9 or 10 apples …

Member Avatar for Hypalink
0
188
Member Avatar for daniel36

Can anybody tell me maximum lenth of paypal custom variable used in paypal button or paypal payment form?

Member Avatar for LastMitch
0
89
Member Avatar for Stardemos

<?php $conn = mysql_connect("localhost", "sermail_demos", "demos")or die("sem conecчуo ao servidor"); $db = mysql_select_db("sermail_sermail")or die("Base de dados nуo foi encontrada"); $b=1; $c=2000; $sql2a = 'INSERT INTO content_type_image ( vid, nid, field_stock_value) VALUES'; for ($i=197; $i<2000; $i++) { $sql2a .= '('.$i.','.$i.','.$b.')'; } mysql_query($sql2a) or die(mysql_error()); echo $sql2a; ?> i cant finf out …

Member Avatar for blocblue
0
88
Member Avatar for opawix

if (@$_GET['action'] == "Edit Record") { print "<font color=black size=14><center>Edit Student Records</center></font><br>"; $result = mysql_query ("SELECT * FROM students"); $rows = mysql_num_rows($result); if ($rows != 0) { print "<form>"; print "<font color=black><center><b>Select Student:</b><center></font><br>"; print "<select name=idnum>"; for ($i=0; $i< $rows; $i++) { $row = mysql_fetch_row($result); print "<option value=$row[0]>$row[1] $row[3] $row[2]"; …

Member Avatar for pritaeas
0
119
Member Avatar for daniel36

i am having a string in a variable similar to $school="bal bharti vidhya mandir"; i want to change this string into 'bal-bharti-vidhya-mandir'.Is it possible?I also need its reverse in my project.

Member Avatar for lps
0
95
Member Avatar for alvin.decker

Hey! I am an experienced programmer (php, javascript, mysql, some ajax) who is looking for an experienced and competent graphic and/or web designer with whom to create a text-based RPG. I will assume the financial risk and the programming responsibilities. I need someone to make the banners, logos, icons, and …

Member Avatar for rotten69
0
224
Member Avatar for garyjohnson

I am trying to join two database tables, the tables are set up like this, This is table fgusers3, which stores my users login information. id_user name email phone_number username password confirmcode 1 Bob bob@email 000000 bob1 bobby 12345 This is table videos, which stores my users video upload information. …

Member Avatar for garyjohnson
0
239
Member Avatar for bulbul.sust.9

what is built in function in php ? and whts the difference of it with user defined functions? i think isset, unset, gettype,settype, strlen, strpos etc are built in function and when we write a function like this > function name{} that is user defined ? im little bit confused …

Member Avatar for diafol
0
112
Member Avatar for showman13

Good Morning, I am working on a script that requires multiple embedded function calls that could go up to 5 levels deep My Question is this... I need to be able to use the accumulating variables from function D outside of all the functions to display data. if I have …

Member Avatar for DarkMonarch
0
147
Member Avatar for gilgil2

Hi I have the following code being used to insert some data into a MySql database, all the error checks etc. are done before and those are fine, and the code returns connected successfully but nothing is put into the database, nor does the database check for duplicate usernames, because …

Member Avatar for iamthwee
0
2K
Member Avatar for jacob21

Hi, my website svnnews.in is hacked yesterday. Now its showing some hackers messages. I need my website back.Need suggestion to make my website hack free.

Member Avatar for iamthwee
0
126
Member Avatar for andyy121
Member Avatar for andyy121
0
266
Member Avatar for Angle90

Hello Everyone, I need your help please, using htaccess, I like to know how to deny access to an index.php file from all visitors except me. I have tried the following; <files index.php> order allow,deny deny from all </files> That works denying all access to that file. I would like …

Member Avatar for Angle90
0
180
Member Avatar for gilgil2

Hi I am trying to write a password reset script. An email with a link is sent to the user, and then if the username and a 32 character string in the link match the info in the database they can change the password for that account. Here is what …

Member Avatar for iamthwee
0
1K
Member Avatar for andyy121

hi i wont to change the activatet value of user log in in database example:when i log in in the page the value must change from 0 to 1 any idea

Member Avatar for andyy121
0
237

The End.