Jump to content

[SOLVED] if $varible !== $varible echo.. else echo...


Recommended Posts

Why not post the code instead of having us trying to solve it blindly?

 

Seriously, if you want help post most of the code, not one line. There is not necessarily an error at line 18, it could be before it (most likely) in the 17 lines above it or after it (unlikely but possible).

 

Post code, don't be shy we won't steal it.

12 <?php
13 error_reporting(E_ALL ^ E_NOTICE);
14 if ($session->logged_in) {
15 $dbh = mysql_connect ("localhost", "user", "password") or die (mysql_error());
16 mysql_select_db ("db");
17 //break
18 if($session->userinfo['gething'] == base64_decode($_GET['thing']){

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.