335 Posted Topics

Member Avatar for GlenRogers
Member Avatar for janetb

if you are having trouble try using jquery. $(document).ready(function(){ $('.nivoSlider img').css('border','none'); });

Member Avatar for janetb
0
259
Member Avatar for mgn2683
Member Avatar for Vijaysurya
Member Avatar for cdays

If you are starting out, I would suggest creating a simple blog application. Keep it simple until you get strong in you php coding. A simple blog application will require php and mysql. You can even add jquery to make it more dynamic.

Member Avatar for gabrielcastillo
0
129
Member Avatar for shiva.thapa

Not sure your question is clear. You would like to have on the homepage of you site or any page of you site display the server status? php script to check if the server is up or down, then display the status on the page? like this: [Click Here](http://www.downforeveryoneorjustme.com/)

Member Avatar for diafol
0
125
Member Avatar for vizz

Try this in your htaccess: RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^([^.]+)$ $1.php [NC,L] RewriteRule ^(.*)\.html$ $1.php

Member Avatar for vizz
0
440
Member Avatar for hafiz.muhammadakas

try placiing `ob_start();` after your `session_start();` This will allow you to render code and send headers without getting the error.

Member Avatar for gabrielcastillo
0
152
Member Avatar for atiqur_29

Here is some code to get you started. This is a very basic mockup but if you look at the code and run it, this might point you in the direction you're looking for. jQuery: $(document).ready(function(){ $('#go').click(function(){ var staff_id = $('#staff_id').val(); if($.isNumeric(staff_id)){ var data = 'staff_id=' + staff_id; $.ajax({ url: …

Member Avatar for gabrielcastillo
0
249
Member Avatar for vanessia_1999

Here is a simple contact form in php. This checks if the fields are empty and if the email is valid using regex pattern. If all fields are correct the php will use the mail function to send the data to the myEmail value. This may not be what you …

Member Avatar for LastMitch
0
250
Member Avatar for Jacb

Do you want to find a solution for your visitors or staff to download spreadsheets form you database to excel? if so contact me and I can help you, I resently created a solution for a project I was working on. if you need to have the 10 spreadsheets uploaded …

Member Avatar for LastMitch
0
187
Member Avatar for jeff.erskine.1

Try this, looks like your footer was missing a div, and i would remove the font face.. use css to handle that. I could not tell is this will fix your issues, I would have to see the css or the web page <div class="wrapper"> <div class="header"> <div class="header_top"></div> <div …

Member Avatar for jeff.erskine.1
0
353
Member Avatar for nova37

you dont need to user header. if you are setting up a search form you need to use form and also need to user post/get. Example: <form action="search.php" method="GET"> <div> <p><input type="text" name="q" /></p> <p><input type="submit" value="Search" /></p> </div> </form> When you get you user input for the search form, …

Member Avatar for gabrielcastillo
0
216
Member Avatar for bazzo

Try using a framework to cut time down. http:foundation.zurb.com or http://twitter.github.com/bootstrap/index.html if not able to use a framework. Make sure to comment your css, remember to user descriptive names when creating id's and class's make sure to indent your code, and leave comments for comlicated stuff. If you're slicing a …

Member Avatar for mohitz123
0
147
Member Avatar for ilmkidunya1

User keywords for every page. make sure the keywords in listed in the page somewhere. You could even create a tag cloud to list your keywords. but you want the keywords in your content as much as possible. Page description for each page. This will follow the same rules for …

Member Avatar for James_Smith
0
250
Member Avatar for dany12

Try this: function custom_css(){ if( !is_admin() ){ $css_path = get_bloginfo('template_directory').'/'; wp_register_style('custom-css',$css_path.'css/custom.css',array().'1.0','all'); wp_enqueue_style('custom-css'); } } add_action('wp_enqueue_scripts','custom_css');

Member Avatar for blocblue
0
211
Member Avatar for kevwood

First you want to give you anchor tag the background image, unless you want you ul or li tag to have it. If you give the anchor tag the background, you can change the background with different states like, :hover, :active etc.. Here is what i would do. #P_navigation li …

Member Avatar for kevwood
0
132
Member Avatar for rotten69

here is what I use, the best i could find so far.. i use with json for pull data out of db using php [Click Here](http://www.highcharts.com/)

Member Avatar for gabrielcastillo
0
178
Member Avatar for nsteve

This will export .xls file all you would need to do is create your own query. I created a form with a hidden field value of id number and a download input button, so when user clicks on the download button, the id gets sent to my query and exports …

Member Avatar for gabrielcastillo
0
217
Member Avatar for gurusubramaniam

try using unset() Example: <?php session_start(); unset($_SESSION['username']); unset($_SESSION['user_id']); or session_start(); unset($_SESSION['username'], $_SESSION['user_id']) ?> With this you could unset specific vars if needed. or you could use `session_unset();` to kill them all. When I write logout scripts I use <?php session_start(); session_unset(); session_destroy(); header("Location: ". $_SERVER['HTTP_HOST']."/"); exit; ?>

Member Avatar for rotten69
0
130
Member Avatar for cguan_77
Member Avatar for ssembusi.david

Here is some help to get you started, its not working code, just a rough outline to get you started. it's simple and basic, but this is how I create simple CRUD forms. //Connect to db mysql_connect(); //Select DB mysql_select_db(); //Catch Post Data and Process if(isset($_POST['edit'])){ $profile_id = $_POST['pid']; $username …

Member Avatar for gabrielcastillo
0
6K
Member Avatar for gabrielcastillo

I'm trying to write a script to restart my wamp server with the click of a button. I am trying to use `exec("c:\\\\wamp\wampmanager.exe -restart");` to run the command. Seems to be not working. I have used system(), and passthru(); functions to get the results I am looking for but got …

Member Avatar for Kieran Y5
0
189
Member Avatar for gabrielcastillo

How do i get value from this return? Im looking to get the value of 2. array 79 => object(stdClass)[356] public 'parent' => int 8 public 'type' => string 'meta' (length=4) public 'name' => string 'limitcounter' (length=12) public 'value' => string '2' (length=1)

Member Avatar for gabrielcastillo
0
187
Member Avatar for Bidea

Using PHP Step 1 create form with html. Create input fields for each peice of data you would like to collect. i.e. firstname lastname email ... so on. Step 2 create a php function or method to process the user data. step 3 use the processed data, to insert into …

Member Avatar for Bidea
0
160
Member Avatar for REPattinson1

Change text-align: centre; to text-align: center; Their is no such things as float: centre; only : float:left; /float:right;/float:none/float:inherit;

Member Avatar for gabrielcastillo
0
189
Member Avatar for Griffin54

Here is what i do: <div class="wrapper"> <div class="main-content"> <h2>Hello World</h2> </div><!--end of main content --> </div><!-- end of wrapper --> /*CSS Styles*/ .wrapper {background:#fff; boder:1px solid #ddd; margin:0 auto; padding:0 20px width:1024px;}

Member Avatar for lps
0
238
Member Avatar for rotten69

check out Sublime Text 2 I think you will be happy with the results of this editor.

Member Avatar for rotten69
0
174
Member Avatar for gabrielcastillo

Im using this script to disable and enable input box. When I check the box, the input is enabled, but when I uncheck the box the input is still enabled. Not sure how to fix this. $(document).ready(function(){ $(".ncjhs_student").attr("disabled",true); $(".send_records").attr("disabled",true); $("#send_records").click(function(){ $(".send_records").removeAttr("disabled"); }); $("#ncjhs_student").click(function(){ $(".send_records").removeAttr("disabled"); }); });

Member Avatar for gabrielcastillo
0
155
Member Avatar for dany12

When I create a new site or app, I edit two files. my host file for windows, and my http.conf file for wamp. The first block is to point wamp to a new folder I created on my C: drive 'www' inside that folder i create subfolders for each site …

Member Avatar for dany12
0
120
Member Avatar for Romedk
Member Avatar for itamardori3
Member Avatar for drjay1627

clear:both can be used instead of clear class. This would keep you from having to plase extra div inside the markup <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Canada-Accessible</title> <link href="css/main.css" rel="stylesheet" type="text/css"> <style type="text/css"> @charset "UTF-8"; /* CSS Document */ #holder{ background:green; padding:10px; …

Member Avatar for gabrielcastillo
0
159
Member Avatar for charisma

Is this what you are looking for? I added this bit of code: #content ul { display:block; float:left; width:115px; padding:10px 20px; } #content ul p { display:block; text-align:center; } <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Canada-Accessible</title> <link href="css/main.css" rel="stylesheet" type="text/css"> <style type="text/css"> @charset …

Member Avatar for gabrielcastillo
0
199
Member Avatar for gabrielcastillo

Hello, Im having issue's with this jquery code for enabling and disabling select/input box's. I have been googing everything but can not find a solution. Any help would be appreciated. Thanks <?php session_start(); require_once 'includes/ncjhs_summerschool.php'; foreach($_POST as $key => $value ) { if( in_array($key,$CAPTURE_FIELDS) ) { $_SESSION[$key] = $value; } …

0
82

The End.