38,020 Topics
| |
Hello All - I need some help. I've got a page that lists events (fairs, seminars, etc.) that have been registered by the user, I would like to find a solution that will list these events and next to them include the number of people that have registered to attend … | |
Hi, i am new to php and i have lots of doubts since i'm learning it on my own, any help/advice/suggestion is very much appreciated. i have gone through many threads, but they dont answer to what i'm seeking. if i missed any thread which answers to the point, please … | |
[CODE] <?php require_once('upper.php'); if(isset($_POST['submit'])) { //This is code in which we can choose the type and size file uploaded or upload anything. We can declare the path of folder or can do without it. if($_FILES['uploaded_file']['size']< 200000) { /*if($_FILES['uploaded_file']['error']>0) { echo "Error occurs".$_FILES['up_test']['error']."<br/>"; } else{*/ $Title=$_POST['Title']; $City=$_POST['City']; $Content=$_POST['Content']; $Date=$_POST['Date']; echo "Uploaded … | |
Hi Friends, I am come with a new query in jQuery. I have a listing form in which the details showed , the View more Details is implemented using Ajax. When Click "+" sign there is a loading image show First then the Result show there ... It's all working … | |
This is pretty detailed, but here goes. I have a user registration/log in system in place. I have no issues at all registering users or logging them in. My database contains 5 tables. As follows usersystem [INDENT]Fields: username password email total qid[/INDENT] q1 [INDENT]Fields: username answer rank value[/INDENT] Tables q2 … | |
Testing only one character of first alphabet of kannada [URL="http://tlt.its.psu.edu/suggestions/international/bylanguage/kannadachart.html"][B]ಅ[/B][/URL]. function htmlentities is not returning &# 3205 Here is my complete code. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>UTF8 to HTML Entity</title> </head> <body> <?php $str = '&# 3205;'; // remove space in … | |
I get the value in the database and click on the id field how i past(get ) this field to other location can anyone help me | |
Hi guys! I have a website in PHP that runs centered of the browser. i want to design it such that it covers the whole page of the browser e.g. ([url]www.gmail.com[/url]). Does anyone have any templates or links that can help me out on this one? | |
Hi I want to download a zip file (xml file in zip - size more than 50mb) which is in another website to my server using PHP scripting. That particular file is updating daily in that site, so i need it to download and use it daily basis. any help … | |
pls can anybody helpme with smtp ip and password or php inbox mailer i we be greatful ,here is my email [removed] | |
[CODE]<?php if(isset($_POST['ActivityId'])) { require_once('database.php'); $Search=$_POST['Search']; $query="select * from registration where Flag='A' AND Activity like '%,$Search,%'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)) { echo "<table border='2'><tr><td> Name--".$row['Name']."</td> <td>Contact Number--".$row['ContactNumber']."</td> <td>Email--".$row['Email']."</td> <td>Address--".$row['Address']."</td></tr></table>"; } } elseif(isset($_POST['EventId'])){ require_once('database.php'); $Search=$_POST['Search']; $query="select * from participation where EventId ='$Search'"; $result=mysqli_query($dbc,$query) or die('Not Connected'); while($row=mysqli_fetch_array($result)){ $LoginId= $row['LoginId']; echo $LoginId;} … | |
Hey all, I have an auto refresh script i use on my site which is below... [CODE] <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script> <script type="text/javascript"> var auto_refresh = setInterval( function () { $('#load_tumblr').load('tumblr_blog.php').fadeIn("slow"); }, 5000); </script> <div id='load_tumblr'>Loading...</div>[/CODE] Im wondering if i would be able to have an option for users to turn … | |
Hello, a quick question. If you have a PHP dynamic dropdown menu (that autopopulates with info from a mysql table), then the menu automatically links to its values, i.e. "page.php?value1=value1", correct? If you have two dropdown menus, then it becomes "page.php?value1=value1&value2=value2". Is there any way to make the dropdowns link … | |
I'm making a page views script. I kinda need help with making the database making it +1 each view. This is my current code: [CODE] mysql_query("UPADTE posts SET views=+1 id='$start'"); [/CODE] | |
I have a php script running which is checking that information in a form has been entered and that the form hasn't been by passed however when submit is clicked and the script is run I get the last error message saying 'You must complete the form' even though the … | |
Hello Everyone, I am new at this so please bare with me. :) I've been having such a hard time with my form. I am finally down to one last little problem. I cannot get my font size to display when selected. [U][B]This is in my HTML:[/B][/U] [code] <form action="processor.php" … | |
Hi, Below is the data format which I am passing to php via javascript in json format. [CODE] {"name":"Secret","value": "checked","name":"OldSpice","value": "unchecked","name":"Degree","value": "unchecked","name":"Dove","value": "unchecked","name":"Axe","value": "unchecked","name":"Maxim","value": "unchecked","name":"Nivea","value": "unchecked",}[/CODE] I can access the data successfully using the code [CODE]echo $_POST['name'];[/CODE] I want to convert it to an array. I tried to use json_decode() … | |
heyy . please tell me how to can i connect databases together . couz i am doing a project and i have to like some databases and get some information from at least 5 databases tables and display them in one page . can i do more than a connection … | |
Can anyone tell me why this code is not working? It outouts 8 colons, one for each element but no data which means the [$i] is NOT referencing the array element [CODE] $geo_addr = array("number"=>1600, "zip"=>34208, "suffix"=>'', "prefix"=>'', "type"=>'parkway', "street"=>'amphitheatre', "state"=>CA, "city"=>'mountain view'); $count = count($geo_addr); for($i=0; $i<$count; $i++) { … | |
| I have this short script that instead of displaying the images, displays the raw biary data stored in the blob. Where am I going wrong please? [CODE]<?php @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $result = mysql_query("SELECT * FROM … |
Hello, For the project I am currently working on, I have to display user's schedule from Monday to Sunday. My database design is as follows: [CODE]course(id(PK), course_no, credits, title, description) section(id(PK),section_no,course_id(FK),instructor_id(FK)) timeslot(id(PK),day,start_time,end_time) section_times(section_id(PK,FK),timeslot_id(PK,FK))[/CODE] Course has many sections. Sections has many time slots at which they are taught. A section is … | |
Hi, I need to analyze a string and get the text between, before, and after the forward slashes.. The string will always look something like this, but will vary: $str = "I will go to the store with <# one/two/three #> people." Then I need to create a form with … | |
How to make a php mailing form that will send emails to my email address by checking spam and if spam email send to my email address then it will automatically remove the spam email. How i can make this type of php form? Is this types of script are … | |
Hey Guys, How would I go about echo'ing a large amount of symbols (#"'~/\|*&^%!) in an echo statement without having to put a backlash at all the clashing ones, specifically " and '? [CODE]\"`+w\"`2x'`!_\"`%&+` S%`1a&`&Y+`%\\4`(&+`$N!1`+n(`&&\"`$#\"9`#1#`$R&`\"H6`2+#`)9!`\"C#`(;\"`/x!`0^)`+k\"`,T'`.w4`.>%`';(4B`!{!F`!-!` B!64`&U#42`\"6$`\"e\"`02%`-i'`#4#`)]$`$.;`+B*`3d)`#u0`)@#`#o*`#4&`$6!5`)Z-`\"k\"`&>+`)X#`&h\"`$S\"`) %`!x!`0;%`//\"`$j,`*?!`#k(32%3` 6!48`+U&73`\"\"#61`&u!`(J%` ,\"`%P\"`+_%7%6D`\"p#7`-W'3`,P\"`*?$`,,\"`3C#4`#!$`$l$`+w\"`3s/1`%]*`),%`*q\"`$T!`%w+7`! \"`/W'6F`#-!9`!u$`28\"`%!'`!()`-&\"`)/\"`%G(`&i$6C`$x$`'S\"7`%3!`\"8%`-8%`-t+`%!!6C` Q!`,o$`(J\"6D%7` V\"`'8\"`%n\"`)*$6A`!K!`2D\"`-t\"`!8\"`,?$`!1#D`\"i!`&2%` 9!`$S\"`#C)`# \"`\">\"7`)Q$`+Y\"C`!B!`%2\"`(e\"`($-`&M(`&C#F`$Q$`-P(`$P\"`#Q-`\"A\"`$CA`1e1` 5(`2GC0%2`&x!`'\"#`,i$`%D\"77`\"W!`%K!`$A.`/q+`(V\"`!J\"`,/\"`//%6E`$:#`.%)`\"u!`.d&`,K$`&F#`#V%`!z%`#2\"` &\"`&0!`3.&`2V%`)#+`\"t\"`.,\"` E!`(m&`3P(7`%l*`#q\"`-Q!`(#\"``1)\"` kC`#P+`$I2`-#\"`3<66`0H!`,|&6`#d#`$}.`)7#`#k%`&A\"`$t\"`#z\"D`1^#`,&%`*e%`$R2`\"K'74%1`%J%`\" %`&V%8`2c$`*Q'`%\\+`\"()`%J4E%3C%62`\"+#2F%3E%3C` \",`3A1`%D+`+V1`+7&`*6!`\"e\"`\"|#A`*)`-F#D`\"o!`*_\"`*D\"`% … | |
I am not sure where to begin with this code or how to go about it. I was wondering if anyone could give me some ideas as to where to start or ideas on how to accomplish this (If you want to help with sample codes I'd love that too, … | |
I have a log in system and upon logging in, I cannot get the page to redirect to the members section. I've tried a bunch of different methods, and none seem to work. Here is my current code, can anyone offer some suggestions please? [CODE]{ $username = mysql_real_escape_string($username); $password = … | |
That's all of my code and you can see at the end there's a die function can you tell me what I did wrong? It's this die function.... [code] if(!$Query) { die("There was an error creating your product!"); } else { echo "Yes! Your product was created I hope " … | |
Hi everyone! On the main page of my web page displays the latest tracks created, which shows the title of the subject, who did it, the category in which I believe and the facade. But now I would like to show your profile picture thumbnail which takes you to their … | |
demo.php <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>My First Project in PHP</title> </head> <body bgcolor=tan> <h1><font color="firebrick">PHP MySQL </font></h1> <form action="success.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="box" value="100000"> <table width="500" border="1"> <tr><td><b><label for='name'>Name :</b></label></td> <td><input type="text" name="Uname" size="20" /></td></tr> <tr><td><b><label for='mail'>Email :</b></label></td><td><input type="text" name="mail" size="20" /></td></tr> <tr><td><b> <label for='Updated_file'>Attachements:</b></label></td> … | |
Is there any way to [B]check and validate regular expression syntax before processing it[/B] in php. I've a scenario in which user input regular expression and my piece of code process user input regular expression, but validation is necessary before processing it and message if invalid regular expression syntax. such … |
The End.