Posts
 
Reputation
Joined
Last Seen
Ranked #457
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
97% Quality Score
Upvotes Received
32
Posts with Upvotes
24
Upvoting Members
20
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
6 Commented Posts
3 Endorsements
Ranked #486
Ranked #607
~60.5K People Reached
Favorite Tags
Member Avatar for murali2489

> Trust IE to mess up another CSS prop. Sooner it dies a death the better. lmao ... Amen brother! Try this: <style> select { font-family: Cursive; letter-spacing:10px; } * html select { letter-spacing:10px; } </style> Also, a generally accepted practice is not to force a font size on the …

Member Avatar for Dani
0
2K
Member Avatar for KevinVernon
Member Avatar for shashigowda

Sweet mother of god ....I'm so confused. So first you said you want it to go from A --> B --> C, and then you said it should go A --> C and skip B?

Member Avatar for Zagga
0
236
Member Avatar for Lalainealb

If your chat page is behind some sort of authentication, the easiest solution might just be an open source script like Ajax Chat from Sourceforge, however as diafol suggests, you'd have to clarify your requirements. Things like once the user is logged in, their username should auto-log them into the …

Member Avatar for Robin_7
0
207
Member Avatar for bLuEmEzzy

This is a rather vague question, but I'm going to try to make an effort. What you could possibly do is use ajax/jquery to give the user a choice of how many input fields to display ... rows and columns, while dynamically generating unique identifiers for each one and using …

Member Avatar for bLuEmEzzy
0
229
Member Avatar for theausum
Member Avatar for Pramod_7
0
3K
Member Avatar for veedeoo

Well done veedeoo! Let's hope after reading this, people atleast realize how easy it is to implement PDO and stop using `mysql_*`. Everytime I see a question like "how do I make my code more secure" and see them using `mysql_*`, I die a little inside. Lol

Member Avatar for Gideon_1
6
2K
Member Avatar for Ankit_15

Don't you just love 1 post users who you just know are never going to come back if they don't get a solution to their problem right away? lol

Member Avatar for DJBirdi
0
113
Member Avatar for Niloofar24

Supporting everyone else's responses, yes an "id" field set to being UNIQUE and AUTO_INCREMENT is supposed to never be the same as anything that came before it. However, when you say you try to 'echo all the posts', I'm assuming you mean you try to print everything on a page …

Member Avatar for DJBirdi
0
303
Member Avatar for Zeeshan_4

This is a rather vague question Zeeshan. It would help if you explained the purpose or what exactly you're trying to do step by step. Also, "plugin" is a very specific term. Do you mean wordpress plugin or just a snippet?

Member Avatar for DJBirdi
0
83
Member Avatar for kazkuzzer007

List your errors please. It would be helpful to know where you're hitting the roadblock.

Member Avatar for Taywin
-1
428
Member Avatar for hankmeyer

HOLY SYNTAX ERRORS BATMAN! Your HTML is fine but the PHP needs some fine-tuning. I'll try my best to go through a few things one by one and provide solutions as I go. This might end up being the longest post I'll ever write on Daniweb. Lol > it states …

Member Avatar for shafakhat91
0
9K
Member Avatar for davy_yg

@Banderson: `session_destroy()` unsets all session variables bud, so it would be redundant to unset individual variables @davy_yg: Always remember what the official definition of `session_start()` is: "session_start() creates a session or **resumes the current one** based on a session identifier passed via a GET or POST request, or passed via …

Member Avatar for mattster
0
160
Member Avatar for davy_yg

Hmm, this is most likely a CSS issue rather than HTML/PHP. Let's see your stylesheet.

Member Avatar for veedeoo
0
186
Member Avatar for fheppell

You have redundant code so your `$alerts` variable is not being defined as expected. $alerts = array(); // This isn't really needed if you're later going to use $alerts[] $alerts[] = array(); // This is essentially making $alerts a multi-dimensional array because you're defining an array variable with another array …

Member Avatar for DJBirdi
0
294
Member Avatar for davy_yg

Store the filename in a variable before running your delete query, then use `unlink` to delete it. It pains me to see you using mysql_* but I'll use it in this case to stay consistent with your code if (!empty($_REQUEST['student_id'])) { $student_id = $_REQUEST['student_id']; // Query to get student picture …

Member Avatar for DJBirdi
0
244
Member Avatar for ravi142

Waooza that's one open ended question! What are you trying to accomplish though? Are you creating your own CMS or are you looking for a pre-built one? Things like Wordpress, Joomla, Drupal ... all have customizable themes from the admin panel, and some themes even come with abilities to for …

Member Avatar for DJBirdi
0
101
Member Avatar for RonKevinT.Manuela

I have to complement you on the great job you do with commenting your code. Well done! Since you already have the file name, all you should need to do is wrap it in an achor tag. Try this: echo "<a href=" . $file . ">Download File</a>";

Member Avatar for RonKevinT.Manuela
0
292
Member Avatar for DJBirdi

Why is Daniweb's mascot a dude called FRED? Why is it not a girl called DANI? lol

Member Avatar for Warrens80
2
376
Member Avatar for devianleong

Following up on what pritaeas said, you would either need to select one or create a new column that represents "relationship" between different products. This could be done a few different ways. For example, you can have two columns called `shirt_name` and `shirt_type`, that way you can have "ABC Shirt" …

Member Avatar for DJBirdi
0
120
Member Avatar for Web_2

If you're posting the value of the radio to a different page, you might be over-complicating it by over-thinking it. Page 2: <?php // Posted value from Page 1 $radio_value = $_POST['radio_element']; if($radio_value == 0) { <button type="button" disabled>You can't click me!</button> } else { <button type="button">Click away!</button> } ?>

Member Avatar for Web_2
0
6K
Member Avatar for safi.najjar1
Member Avatar for DJBirdi

Well, it has recently been bugging me that I have 8 years of working with PHP under my belt and not once have I tried to implement a custom solution to integrate PayPal into any of my ecommerce projects. I've worked with a lot of PCI API's from different providers …

Member Avatar for DJBirdi
0
276
Member Avatar for davy_yg

What you're looking to do is called "text masking" or "input field masking". It's easy to do with jQuery, however if you haven't done it before, it can be quite daunting to create a custom mask from scratch. A fast solution is to use one of the masking plugins available …

Member Avatar for Ketul_1
0
263
Member Avatar for Kniggles_2

`score` is not being set with a valid input. You should create a variable that increments the score first, then use that variable in your query: $new_score = $old_score + 1 mysqli_query($con,"UPDATE table1 SET score='$new_score' WHERE id='$id'");

Member Avatar for Kniggles_2
0
521
Member Avatar for mutaharpk

Get in touch with your hosting company. They'll ask you a bunch of security questions but then should be able to reset your root password and give you a temp one.

Member Avatar for DJBirdi
0
73
Member Avatar for devianleong

Are the number of columns always the same? If yes, you can just do something like this: <?php $header_name_one = // some user input captured through POST or GET $header_name_two = // some user input captured through POST or GET ?> <table> <tr> <th><?php echo $header_name_one; ?></th> <th><?php echo $header_name_two; …

Member Avatar for devianleong
0
242
Member Avatar for atakarim

This sounds like another one of those "I have a pizza ordering site and I want to print an order automatically when its placed" things. Gahh! I doez not haz teh patience to explain server v.s. client side differences everyday.

Member Avatar for atakarim
0
233
Member Avatar for ravi142

> dopdown value given to database What does that mean? You sure you don't have it the other way around? Do you mean pull values from a database and populate a dropdown menu?

Member Avatar for diafol
0
384
Member Avatar for mokshi

In your example above, try removing lines 79 to 82. if($i!=18) { $pdf->AddPage(); }

Member Avatar for DJBirdi
0
188