Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~10K People Reached
Favorite Tags

28 Posted Topics

Member Avatar for mgn2683

You could use box-shadow. Will work for all current browsers. css3. http://www.w3schools.com/cssref/css3_pr_box-shadow.asp Though I would use images. Images will work on any browser. One way would be to edit the body background in photoshop and find the right spots then add the shadow. Another way would be to split your …

Member Avatar for mattster
0
293
Member Avatar for geneh23

depending on your set up. If it's database driven u could add check boxes to ur back admin where users listed. then if u want them to be admin you could check the box submit and in your database where users are u could add a column called "isadmin" and …

Member Avatar for diafol
0
541
Member Avatar for empror9

You would use "pretty urls" with mod-rewrite. Add an htacess file to your root directory with the rewrites in there You can search online for auto gens to create your file or re-write. I wont post a link because it seems they add rewrite spam. but below should work for …

Member Avatar for empror9
-1
206
Member Avatar for reco21

Im grabbing a page with below. $homepage = file_get_contents('http://www.example.com/'); echo $homepage; How do I write it to a file.txt and overwite in the event the file exists ? Thanks.

Member Avatar for reco21
0
1K
Member Avatar for geneh23

missing a ] after pid header('location: view_album.php?post_id={$_POST['pid']}&album_id={$_POST['album_id']}'); After you will use a get method on another page. echo $pid = $_GET['pid'] / $aid = $_GET['album_id']; and check for int if you like.

Member Avatar for geneh23
0
526
Member Avatar for harsha.netpem

Here is a link. You can do this with jquery. http://jquery-sort-table-rows.ssdtutorials.com/ for the demo. http://www.ssdtutorials.com/tutorials/title/sort-table-rows-jquery.html files and database I think it's mysql. Either way, Jquery works well. Many plugins.

Member Avatar for harsha.netpem
0
124
Member Avatar for reco21

Hello. I have this below SimpleXMLElement Object ( [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [id] => plid_2 [name] => Playlist [ro] => ro ) [content] => SimpleXMLElement Object ( [name] => Playlist ) [item] => Array ( [0] => SimpleXMLElement Object ( [@attributes] …

Member Avatar for reco21
0
409
Member Avatar for reco21

HEllo. If I do this.. <div>value | number</div> <?php $arr = array(10, 7, 2, 4); $i = 0; foreach ($arr as $value) { $i++; echo "<p>" . $value . " | " . $i; } ?> ill get something like number | value 1 | 10 2 | 7 3 …

Member Avatar for reco21
0
152
Member Avatar for reco21

Hello, I'm trying to get results from a mysql database based on values in an array. My tables look like this 1. id | articles | thumbs | etc 2. tag_id | tag_name | article_id I'd like to get related articles based on the tags for that particular article. So …

Member Avatar for diafol
0
1K
Member Avatar for reco21

Hey Everyone. Im using jquery's Validation plugin to check post values before I submit a form. Im trying to check a mysql table column to match user name to check for a duplicate name before submitting. This snippet of code below works as expected.. [CODE]<?php $request = trim(strtolower($_REQUEST['login'])); //sleep(2); usleep(150000); …

Member Avatar for reco21
0
207
Member Avatar for danielbala

Thanks for this I came here looking for the same thing.. Thought I would have to do a bunch of joins but this worked perfect.

Member Avatar for reco21
0
192
Member Avatar for reco21

I was wondering, I want to change other elements that are inside of a main div when one hovers. [CODE]<div id="post"> <h1>The Title</h1> <p class="text">Text</p> <p class="other-text">Text</p> </div>[/CODE] So if one hovers over the "post" div then the the "#post h1" title would change from black to blue.. If it's …

Member Avatar for bhartman21
0
157
Member Avatar for accra

[CODE] $endminuscurrent = $due_end_date-$current_date; $sql_query = "SELECT * FROM sre_log WHERE current_date = '$endminuscurrent' ORDER by vreg"; [/CODE]

Member Avatar for reco21
0
391
Member Avatar for kimmi_baby

pretty sure you have to make your names an array. [CODE]<input type="checkbox" name="ServicesRequired[]" value="CustomWebsiteDesign" /> Custom Website Design [/CODE]

Member Avatar for kimmi_baby
0
208
Member Avatar for jonnyboy12

Define your element widths. Width="630px"; Then the widths will be set and wont move. sounds like you have it set to percentages or not set at all. if not set they will be 100 percent width and if set to a percent rather than a set pixel width then the …

Member Avatar for diafol
0
91
Member Avatar for reco21

how do I set the path of this cookie to my whole site "/"? [ICODE]setcookie("name$id$uid", $id, $month);[/ICODE] currently this is what I have. How do I format the above to set the cookie on a global scale for the entire site.

Member Avatar for reco21
0
200
Member Avatar for reco21

can someone help me with this pls.. [CODE]DELETE FROM site_post, site_comments WHERE site_post.id=$id AND site_comments.matchid=$id[/CODE] needing to delete two rows one from each table.

Member Avatar for pritaeas
0
92
Member Avatar for Mayank23

Set a cookie. I just did this. [url]http://www.daniweb.com/web-development/php/threads/392196/1687380#post1687380[/url]

Member Avatar for Stefano Mtangoo
0
578
Member Avatar for reco21

Hey. Im wondering how I would style the bottom row in a while loop. Can someone please help. How do I find the highest count and then if statement on my posts div. [CODE] <?php $query="select * from posts order by id desc"; $result = mysql_query($query); $i = 0; while($row=mysql_fetch_array($result)) …

Member Avatar for simplypixie
0
94
Member Avatar for sammry

here you can use strpos. [CODE] if ( strpos($name, 'virus') !== false ) { echo 'virus not allowed try again'; } [/CODE] I think an issue is if you were to use the name database and you filtered out the word data then it would still return false. also a …

Member Avatar for diafol
0
741
Member Avatar for reco21

Hello. I'm wondering if someone could help me. I have a simple like/dislike voting voting system. Everything works fine but a user is able to click both up and down freely without checking if they have voted. So what I'm going for is 'Php sessions' because I dont want to …

Member Avatar for reco21
0
604
Member Avatar for reco21

Hi. I'm making a form with some fields. Once the form is submitted it updates the page with a new div containing the data entered without refreshing. Im using jquery form plugin. What I'd like to achieve is the new div(.record) to .slideDown. I guess I need to somehow specify …

Member Avatar for reco21
0
243
Member Avatar for oldSoftDev

if u messed with the .htacess file this would cause it. also make sure mod rewrite is turned on.

Member Avatar for reco21
0
132
Member Avatar for reco21

hello. i've created this with help from a friend. |uid || id ||url| i have input fields to add the data. [CODE]<table width="100%"> <tr> <td width="140" style="padding:4px;">url 1:</td> <td ><input type="text" class="edit bk" name="urls[]" style="width:350px"></td> </tr> <tr> <td width="140" style="padding:4px;">link 2:</td> <td ><input type="text" class="edit bk" name="urls[]" style="width:350px"></td> </tr> <tr> …

Member Avatar for cwarn23
0
264
Member Avatar for reco21

What im doing is i have a form with 4 inputs like below. and im using the post method to store the fields values so i can send them to the database. what i neeed is each input to be put into a separate row in a databases table. also …

Member Avatar for reco21
0
148
Member Avatar for reco21

Hello. I've set up pagination for my results. I do this with a class. I also have pretty urls with mod_rewrite. I'm wondering how to echo the urls for the paginated data. Currently I have this below for the links. [CODE]$links .= ' ' . $prefix . '<a href="' . …

Member Avatar for pritaeas
0
191
Member Avatar for reco21

Hello, I'm wondering how to add predefined text to many input fields on click of an image. so I have 4 images and I click one and 4 fields are filled with predefined text. If I click another the text is changed with some other predefined text. Thanks

Member Avatar for reco21
0
139
Member Avatar for reco21

Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a …

Member Avatar for reco21
0
190

The End.