39,388 Topics
![]() | |
Hi! *Minimize HTTP requests*. One of the suggestion I always read is to combine files, so I made a little Class that merges files on the fly, the supported formats are CSS and Javascript. With little efforts, I think, it can work fine also with JSON and CSV. Usage is … | |
hello there - been awhile since ive been about but im ready to crack on with my learning :) kk i used to have this installed on my last "free" host and it worked fine now im on a paid host (hosting24) it doesnt seem to want to work correctly.. … | |
In these three functions, you can filter to a url to just the domain name. There are three main methods of doing so which are all shown in the example and the usage of each function is shown in the example. ![]() | |
There must be a easier way to do this: it prints the size of a mysql database in Megabytes. $query = mysql_query("SELECT data_length, index_length FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'pvs'"); while($data = mysql_fetch_array($query)){ $num[] = ($data['data_length'] + $data['index_length']); } for($i = 0; $i < count($num); $i++) { $tot = $num[$i] … ![]() | |
Hello to all, first I am really sorry if i posted this thread in wrong section or something like that... :) So i wanted to get some help from other people who uses PHP language. I want to ask for the best and secure way to do this. All kind … | |
i want to go inside the if statment if i have both things in one row. so if i have image_id = $image_id_g and user_id=$user_id_s on same row. i wan tto go inside the if statment. but this is not working. i thinkg this query is testing two things sepeartly. … | |
Hello, I'm done with my html and css file and now I'm trying to start with the php , but after I type <?php ?> and then try to type > $name = $_post['name']; > line 9 <?php ine10 $name = $_post['name']; line11 ?> I get error "There is a … | |
I recently decided to try out a simple PHP/MySQL pagination script I found online. After replacing all the required data and creating a connect.php file with my db information, I got a bunch of errors on the page with the script: here they are, in order: Warning: include(connect.php) [function.include]: failed … | |
Hey guys, I need a little help with some code im working on. In the end I want some code to change the visible text when dates are past, my current code is below, but this only works for one date. I would like it to update to the next … ![]() | |
Hi all, I have a registration page which allows the user to open up separate windows to include additional information. But for some reason it freezes the page and doesn’t allow data to be submitted into the MySQL database table. I’m mot sure whether this is a php or a … | |
Hi all, I have a registration page which allows the user to open up separate windows to include additional information. But for some reason it freezes the page and doesn’t allow data to be submitted into the MySQL database table. I’m mot sure whether this is a php or a … | |
I know little PHP, but even less MySQL, and my host doesn't allow remote database connections (for example, from Dreamweaver), so in addition to being confusing to me, database management is impractical. Is there any way to put a timestamp on an article automatically, without resorting to MySQL tables? | |
I have a project in which I desire to upload and download blob files in php. I have written the codes to upload the files into mysql however, when I try to download the files, be it pdf, .doc or jpeg, the error message I get is "The selected file … | |
This is the form where i can upload the image file: <?php require_once ('includes/config.inc.php'); session_start(); // If no first_name session variable exists, redirect the user: if (!isset($_SESSION['first_name'])) { $url = BASE_URL . 'index.php'; // Define the URL. ob_end_clean(); // Delete the buffer. header("Location: $url"); exit(); // Quit the script. } … | |
Actually, I am learning php and I am eager to know how to send mails from php? Can you give me any start links from where i can learn to send mails and implement on my PC?I have learnt php on my own and now i want to implement this … | |
Hi Friends, I am trying to limit the number of pages to display on my code. Can someone please help? I am trying to get something like http://stackoverflow.com/questions/8361808/limit-pagination-page-number $Num_Rows = mysql_num_rows($objQuery); $Per_Page = 15; // Per Page $Page = $_GET["Page"]; if(!$_GET["Page"]) { $Page=1; } $Prev_Page = $Page-1; $Next_Page = $Page+1; … | |
I'm new to PHP, and trying to create a paginated layout. Could someone walk me through the easiest way to do so? | |
hi im having an error with my code can anyone help me try to fix my problem the error is Fatal error: Call to a member function diff() on a non-object in C:\xampp\htdocs\msicfinal\samp.php on line 12 and my code is <?php /*These look like they are sent via form submit … | |
I am having problem with search and replace html content. The records coming from the database. The populated string contains html mark up and image name also. I am doing a search and replace it will affect the image also. Could any one help me to get rid of this … | |
I have included "header.php" on my pages to fix redundancy. In header.php you'll find the navigation, style sheets and scripts. The problem is, I cannot use header.php dynamically on different pages because it has a static links. Pls help me. im a newbie here. Thanks in advanced! ![]() | |
I am bemused by this problem, I've run the php code through an online tester and there are no errors but when I click Submit without filling out any fields it just refreshes the page, no errors are displayed. When I complete the form and click Submit the same thing … | |
<br /><b>Notice</b>: Undefined variable: firstname in <b>C:\xampp\htdocs\dl\index.php</b> on line <b>66</b><br /> | |
Hi have confussed myself, can you see why i cant get a new pic to be displayed in the box on click please ? <HTML><HEAD><TITLE></TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 10.00.8400.0"><STYLE type=text/css>BODY { FONT-FAMILY: verdana, arial, sans-serif }</STYLE> </HEAD><BODY> <FORM style="BORDER-TOP-COLOR: ; BORDER-BOTTOM-COLOR: ; BORDER-RIGHT-COLOR: ; BORDER-LEFT-COLOR: " method=post action=refresh> … | |
Hello Everyone, I've made a web page which you can see [here](http://www.ezaspi.org) that works fine on every major browser EXCEPT IE. In IE the contact form doesn't show. Here's the code: <!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=UTF-8" /> <title>Mrs. Ward's Easy … | |
Hi, I'm trying to create contact us form I have to create three page 1-index.html 2-main.css 3-contact.php can you explain how can I make it like this [Click Here](http://postimage.org/image/rw5lffh7h/) and what is wrong with my code one more question what should I put in contact.php page ? with explanation please … | |
I want to iterate through html table and display the values. for instance, column keys are fname,lname,mkt,positions. if for instance there are 10 rows,how can i access them and send them to php script ? | |
Hi, I would really appreciate if I could be helped on the following PHP code. I have two arrays. 1) $user 2) $usertotal $user can have as many names stored in it. Example: $user[0]="John"; $user[1]="Sean"; $user[2]="Nick"; $user[3]="Jay"; ................ ................ Similary, $usertotal can have as many amount stored in it. Example: … | |
Hi guys, Really need help I have this case i have a sms gateway and php with oracle database runnin my system is filling a leave now if i want to text leave<space>143 from mobile phone it will i can file leave directly from my database really appriciate your smart … | |
I'm a novice to PHP and MySQL, and would like to create a mailing list on my site, which can send HTML documents (basically styled to match the actual website). Can someone point me towards a good tutorial, or show me how to do so? | |
I have an input text and want it to suggest **custom taxonomy terms** as soon as i type on it. These codes below i found after some googling, gives the idea about how to use autocomplete method in WP but i can't figure out how to achieve custom taxonomy terms … |
The End.